login
Header Space

 
 

Re: performance "regression" in cfq compared to anticipatory, deadline and noop

Previous thread: [2.6.24] [Q] x86: clear DF before calling signal handler II. by Oliver Pinter on Saturday, May 10, 2008 - 4:33 pm. (1 message)

Next thread: [PATCH 2/3] PNP: add pnp_build_option() to the API by Rene Herman on Saturday, May 10, 2008 - 5:48 pm. (1 message)
To: Fabio Checconi <fabio@...>
Cc: Linux Kernel Mailing List <linux-kernel@...>, <jens.axboe@...>
Date: Saturday, May 10, 2008 - 4:39 pm

Hi,

1) no it was always in (almost) complete idle

2) a bigger value even made it worse, setting it to "0" however
seemingly "fixed" it, I however don't know how the overall
effect/impact is, this will need some more real-world testing ;)

cat /sys/block/sdd/queue/iosched/slice_idle
0

hdparm -t /dev/sdd

/dev/sdd:
 Timing buffered disk reads:  314 MB in  3.01 seconds = 104.32 MB/sec

hdparm -t /dev/sdd

/dev/sdd:
 Timing buffered disk reads:  312 MB in  3.00 seconds = 103.86 MB/sec

hdparm -t /dev/sdd

/dev/sdd:
 Timing buffered disk reads:  314 MB in  3.01 seconds = 104.24 MB/sec

one side-node / question:

will this cause more wakeups on the cpu and/or decrease battery

oops, didn't know that, thanks - didn't want to give the wrong person
the "credits"
hi &amp; kudos to Jens ;)

here's a nice site which explains all of the settings:

http://www.nextre.it/oracledocs/ioscheduler_03.html

Regards

Mat
--
To: Matthew <jackdachef@...>
Cc: Fabio Checconi <fabio@...>, Linux Kernel Mailing List <linux-kernel@...>, <jens.axboe@...>
Date: Saturday, May 10, 2008 - 8:00 pm

As Fabio said, you may lose throughput if you have multiple processes
with at least one sync. seq. reader.  However, for other workloads, you
should see a large global throughput improvement.  This is because CFQ
tends to idle without too much regard to thinktime or seekiness, often
wasting a few ms.  The trade-off is that your slow sync. processes may
suffer a little.

 -- Aaron
--
To: Matthew <jackdachef@...>
Cc: Linux Kernel Mailing List <linux-kernel@...>, <jens.axboe@...>
Date: Saturday, May 10, 2008 - 5:56 pm

Well, it's not a fix... the overall effect is that you should end
up with more seeks (and so reduced throughput) on loads consisting
of more than one process, and at least one of those processes is a

I don't know the overall effect on battery life, btw with no idling
you have one less timer active in the system (that however, depending
on the load, does not fire frequently) and more continuous disk
activity.
--
Previous thread: [2.6.24] [Q] x86: clear DF before calling signal handler II. by Oliver Pinter on Saturday, May 10, 2008 - 4:33 pm. (1 message)

Next thread: [PATCH 2/3] PNP: add pnp_build_option() to the API by Rene Herman on Saturday, May 10, 2008 - 5:48 pm. (1 message)
speck-geostationary