Patchwork [Quantal/master] UBUNTU: [Config] change default IO scheduler from CFQ to Deadline

login
register
mail settings
Submitter Bryan Wu
Date July 18, 2012, 5:35 p.m.
Message ID <1342632949-4318-1-git-send-email-bryan.wu@canonical.com>
Download mbox | patch
Permalink /patch/171764/
State New
Headers show

Comments

Bryan Wu - July 18, 2012, 5:35 p.m.
Signed-off-by: Bryan Wu <bryan.wu@canonical.com>
---
 debian.master/config/config.common.ubuntu |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
Tim Gardner - July 18, 2012, 6:53 p.m.

Oliver Grawert - July 19, 2012, 9:52 a.m.
hi,
Am Donnerstag, den 19.07.2012, 01:35 +0800 schrieb Bryan Wu:

...
> +CONFIG_DEFAULT_IOSCHED="deadline"
>  CONFIG_DEFAULT_IO_DELAY_TYPE=1
>  CONFIG_DEFAULT_MESSAGE_LOGLEVEL=4
...

from quantal on we default to "normal" images (live for desktop and
alternate(nopefully plus squashfs) for server as on x86/amd64) with that
change we will default to install to actual hard disks (USB or if the
board has it to SATA). will switching the default scheduler to deadline
make sense in this environment ?

ciao
	oli
Oliver Grawert - July 19, 2012, 9:55 a.m.
hi
Am Donnerstag, den 19.07.2012, 11:52 +0200 schrieb Oliver Grawert:
...

whoops, sorry, that was supposed to be a reply to the omap4 commit
indeed...

ciao
	oli
Bryan Wu - July 19, 2012, 1:15 p.m.
Hi Oliver,

The whole story is after we unify -generic and -server flavor kernel
together, we make CFQ as default for everyone. But for most server
usage, deadline should be default.

Colin did a heavy CFQ and deadline IO scheduler benchmarking. As a
result, deadline and CFQ has not much big difference. However,
deadline is required when system load is very heavy and critical task
should not be blocked for a long time.

So in this patch, we just change deadline for all Ubuntu kernel and
heavy testing are always welcome.

Thanks,
-Bryan

On Thu, Jul 19, 2012 at 5:55 PM, Oliver Grawert <ogra@ubuntu.com> wrote:
> hi
> Am Donnerstag, den 19.07.2012, 11:52 +0200 schrieb Oliver Grawert:
> ...
>
> whoops, sorry, that was supposed to be a reply to the omap4 commit
> indeed...
>
> ciao
>         oli
>
> --
> kernel-team mailing list
> kernel-team@lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/kernel-team
>

Patch

diff --git a/debian.master/config/config.common.ubuntu b/debian.master/config/config.common.ubuntu
index 3c92acb..12547a5 100644
--- a/debian.master/config/config.common.ubuntu
+++ b/debian.master/config/config.common.ubuntu
@@ -1291,12 +1291,12 @@  CONFIG_DECOMPRESS_GZIP=y
 CONFIG_DECOMPRESS_LZMA=y
 CONFIG_DECOMPRESS_LZO=y
 CONFIG_DECOMPRESS_XZ=y
-CONFIG_DEFAULT_CFQ=y
+# CONFIG_DEFAULT_CFQ is not set
 CONFIG_DEFAULT_CUBIC=y
-# CONFIG_DEFAULT_DEADLINE is not set
+CONFIG_DEFAULT_DEADLINE=y
 CONFIG_DEFAULT_HOSTNAME="(none)"
 CONFIG_DEFAULT_HUNG_TASK_TIMEOUT=120
-CONFIG_DEFAULT_IOSCHED="cfq"
+CONFIG_DEFAULT_IOSCHED="deadline"
 CONFIG_DEFAULT_IO_DELAY_TYPE=1
 CONFIG_DEFAULT_MESSAGE_LOGLEVEL=4
 # CONFIG_DEFAULT_NOOP is not set