* [ANNOUNCE] DeskOpt - on fly task, i/o scheduler optimization
@ 2007-08-31 15:35 Michal Piotrowski
2007-08-31 17:39 ` Arjan van de Ven
` (2 more replies)
0 siblings, 3 replies; 6+ messages in thread
From: Michal Piotrowski @ 2007-08-31 15:35 UTC (permalink / raw)
To: LKML, CK Mailinglist
Hi,
Here is something that might be useful for gamers and audio/video editors
http://www.stardust.webpages.pl/files/tools/deskopt/
You can easily tune CFS/CFQ scheduler params
sched_batch_wakeup_granularity_ns
sched_latency_ns
sched_min_granularity_ns
sched_runtime_limit_ns
sched_stat_granularity_ns
sched_wakeup_granularity_ns
back_seek_max
back_seek_penalty
fifo_expire_async
fifo_expire_sync
quantum
slice_async
slice_async_rq
slice_idle
slice_sync
+ nice levels
Results from Nexuiz benchmark
|-------------------------------------------------------------------------------------------|
| | CFS + CFQ | CFS + CFQ + DeskOpt * |
|-------------------------------------------------------------------------------------------|
| timedemo demos/demo2 | 41,395896833 fps | 41,460051233 fps |
| timedemo demos/demo2 + massive_intr 4 1000 | 18,343223633 fps | 37,814504933 fps |
| timedemo demos/demo2 + massive_intr 8 1000 | 9,334974533 fps | 37,376611267 fps |
|-------------------------------------------------------------------------------------------|
* default class for games
DeskOpt has many design flaws, but it works for me :)
Regards,
Michal
--
LOG
http://www.stardust.webpages.pl/log/
^ permalink raw reply [flat|nested] 6+ messages in thread* Re: [ANNOUNCE] DeskOpt - on fly task, i/o scheduler optimization
2007-08-31 15:35 [ANNOUNCE] DeskOpt - on fly task, i/o scheduler optimization Michal Piotrowski
@ 2007-08-31 17:39 ` Arjan van de Ven
2007-08-31 18:07 ` Michal Piotrowski
2007-08-31 22:26 ` Chris Snook
2007-09-01 22:10 ` Andi Kleen
2 siblings, 1 reply; 6+ messages in thread
From: Arjan van de Ven @ 2007-08-31 17:39 UTC (permalink / raw)
To: Michal Piotrowski; +Cc: LKML
On Fri, 31 Aug 2007 17:35:38 +0200
Michal Piotrowski <michal.k.k.piotrowski@gmail.com> wrote:
> Hi,
>
> Here is something that might be useful for gamers and audio/video
> editors http://www.stardust.webpages.pl/files/tools/deskopt/
>
question is how many of the things they changed can we just make
default...
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [ANNOUNCE] DeskOpt - on fly task, i/o scheduler optimization
2007-08-31 15:35 [ANNOUNCE] DeskOpt - on fly task, i/o scheduler optimization Michal Piotrowski
2007-08-31 17:39 ` Arjan van de Ven
@ 2007-08-31 22:26 ` Chris Snook
2007-08-31 23:13 ` Michal Piotrowski
2007-09-01 22:10 ` Andi Kleen
2 siblings, 1 reply; 6+ messages in thread
From: Chris Snook @ 2007-08-31 22:26 UTC (permalink / raw)
To: Michal Piotrowski; +Cc: LKML, CK Mailinglist
Michal Piotrowski wrote:
> Hi,
>
> Here is something that might be useful for gamers and audio/video editors
> http://www.stardust.webpages.pl/files/tools/deskopt/
>
> You can easily tune CFS/CFQ scheduler params
I would think that gamers and AV editors would want to be using deadline
(or maybe even as), not cfq. How well does it work with other I/O
schedulers?
-- Chris
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [ANNOUNCE] DeskOpt - on fly task, i/o scheduler optimization
2007-08-31 22:26 ` Chris Snook
@ 2007-08-31 23:13 ` Michal Piotrowski
0 siblings, 0 replies; 6+ messages in thread
From: Michal Piotrowski @ 2007-08-31 23:13 UTC (permalink / raw)
To: Chris Snook; +Cc: LKML, CK Mailinglist
On 01/09/2007, Chris Snook <csnook@redhat.com> wrote:
> Michal Piotrowski wrote:
> > Hi,
> >
> > Here is something that might be useful for gamers and audio/video editors
> > http://www.stardust.webpages.pl/files/tools/deskopt/
> >
> > You can easily tune CFS/CFQ scheduler params
>
> I would think that gamers and AV editors would want to be using deadline
> (or maybe even as), not cfq. How well does it work with other I/O
> schedulers?
Actually it does not support other i/o schedulers (early stage of
development ;).
"Linux supports io scheduling priorities and classes since 2.6.13 with
the CFQ io scheduler." (ionice man page)
So we can only tune
antic_expire est_time read_batch_expire read_expire
write_batch_expire write_expire
for anticipatory and
fifo_batch front_merges read_expire write_expire writes_starved
for deadline.
I'll have a look on it.
>
> -- Chris
>
Regards,
Michal
--
LOG
http://www.stardust.webpages.pl/log/
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [ANNOUNCE] DeskOpt - on fly task, i/o scheduler optimization
2007-08-31 15:35 [ANNOUNCE] DeskOpt - on fly task, i/o scheduler optimization Michal Piotrowski
2007-08-31 17:39 ` Arjan van de Ven
2007-08-31 22:26 ` Chris Snook
@ 2007-09-01 22:10 ` Andi Kleen
2 siblings, 0 replies; 6+ messages in thread
From: Andi Kleen @ 2007-09-01 22:10 UTC (permalink / raw)
To: Michal Piotrowski; +Cc: LKML, CK Mailinglist
Michal Piotrowski <michal.k.k.piotrowski@gmail.com> writes:
> Here is something that might be useful for gamers and audio/video editors
> http://www.stardust.webpages.pl/files/tools/deskopt/
To make it double cool combine that with the generic genetic
optimizer for parameters that was posted a couple of months ago.
>
> You can easily tune CFS/CFQ scheduler params
>
> sched_batch_wakeup_granularity_ns
> sched_latency_ns
> sched_min_granularity_ns
> sched_runtime_limit_ns
> sched_stat_granularity_ns
> sched_wakeup_granularity_ns
>
> back_seek_max
> back_seek_penalty
> fifo_expire_async
> fifo_expire_sync
> quantum
> slice_async
> slice_async_rq
> slice_idle
> slice_sync
>
You should probably add the device queue length too. That seems
to often have a large impact on IO scheduling because on modern
long queue controllers the Linux IO scheduler often doesn't
have much to do because the device queue just eats it all up quickly.
-Andi
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2007-09-01 22:10 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-08-31 15:35 [ANNOUNCE] DeskOpt - on fly task, i/o scheduler optimization Michal Piotrowski
2007-08-31 17:39 ` Arjan van de Ven
2007-08-31 18:07 ` Michal Piotrowski
2007-08-31 22:26 ` Chris Snook
2007-08-31 23:13 ` Michal Piotrowski
2007-09-01 22:10 ` Andi Kleen
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.