* Announce - Staircase Deadline cpu scheduler v0.41 @ 2007-04-18 23:59 Con Kolivas 2007-04-19 0:41 ` [ck] " Con Kolivas 0 siblings, 1 reply; 10+ messages in thread From: Con Kolivas @ 2007-04-18 23:59 UTC (permalink / raw) To: linux kernel mailing list, ck list Since there is so much work currently ongoing with alternative cpu schedulers, as a standard for comparison with the alternative virtual deadline fair designs I've addressed a few issues in the Staircase Deadline cpu scheduler which improve behaviour likely in a noticeable fashion and released version 0.41. http://ck.kolivas.org/patches/staircase-deadline/2.6.20.7-sd-0.41.patch http://ck.kolivas.org/patches/staircase-deadline/2.6.21-rc7-sd-0.41.patch and an incremental for those on 0.40: http://ck.kolivas.org/patches/staircase-deadline/2.6.21-rc7/sched-implement-staircase-deadline-scheduler-further-improvements.patch Remember to renice X to -10 for nicest desktop behaviour :) Have fun. -- -ck ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [ck] Announce - Staircase Deadline cpu scheduler v0.41 2007-04-18 23:59 Announce - Staircase Deadline cpu scheduler v0.41 Con Kolivas @ 2007-04-19 0:41 ` Con Kolivas 2007-04-19 2:12 ` Announce - Staircase Deadline cpu scheduler v0.42 Con Kolivas 2007-04-19 6:59 ` [ck] Announce - Staircase Deadline cpu scheduler v0.41 Mike Galbraith 0 siblings, 2 replies; 10+ messages in thread From: Con Kolivas @ 2007-04-19 0:41 UTC (permalink / raw) To: ck, Nick Piggin, Ingo Molnar, Matt Mackall, Peter Williams, Mike Galbraith, Bill Huey, William Lee Irwin III, Gene Heskett, Willy Tarreau Cc: linux kernel mailing list On Thursday 19 April 2007 09:59, Con Kolivas wrote: > Since there is so much work currently ongoing with alternative cpu > schedulers, as a standard for comparison with the alternative virtual > deadline fair designs I've addressed a few issues in the Staircase Deadline > cpu scheduler which improve behaviour likely in a noticeable fashion and > released version 0.41. > > http://ck.kolivas.org/patches/staircase-deadline/2.6.20.7-sd-0.41.patch > http://ck.kolivas.org/patches/staircase-deadline/2.6.21-rc7-sd-0.41.patch > > and an incremental for those on 0.40: > http://ck.kolivas.org/patches/staircase-deadline/2.6.21-rc7/sched-implement >-staircase-deadline-scheduler-further-improvements.patch > > Remember to renice X to -10 for nicest desktop behaviour :) > > Have fun. Oops forgot to cc a few people Nick you said I should still have something to offer so here it is. Peter you said you never saw this design (it's a dual array affair sorry). Gene and Willy you were some of the early testers that noticed the advantages of the earlier designs, Matt you did lots of great earlier testing. WLI you inspired a lot of design ideas. Mike you were the stick. And a few others I've forgotten to mention and include. -- -ck ^ permalink raw reply [flat|nested] 10+ messages in thread
* Announce - Staircase Deadline cpu scheduler v0.42 2007-04-19 0:41 ` [ck] " Con Kolivas @ 2007-04-19 2:12 ` Con Kolivas 2007-04-19 3:22 ` Nick Piggin 2007-04-19 12:55 ` Willy Tarreau 2007-04-19 6:59 ` [ck] Announce - Staircase Deadline cpu scheduler v0.41 Mike Galbraith 1 sibling, 2 replies; 10+ messages in thread From: Con Kolivas @ 2007-04-19 2:12 UTC (permalink / raw) To: ck, Al Boldi Cc: Nick Piggin, Ingo Molnar, Matt Mackall, Peter Williams, Mike Galbraith, Bill Huey, William Lee Irwin III, Gene Heskett, Willy Tarreau, linux kernel mailing list On Thursday 19 April 2007 10:41, Con Kolivas wrote: > On Thursday 19 April 2007 09:59, Con Kolivas wrote: > > Since there is so much work currently ongoing with alternative cpu > > schedulers, as a standard for comparison with the alternative virtual > > deadline fair designs I've addressed a few issues in the Staircase > > Deadline cpu scheduler which improve behaviour likely in a noticeable > > fashion and released version 0.41. > > > > http://ck.kolivas.org/patches/staircase-deadline/2.6.20.7-sd-0.41.patch > > http://ck.kolivas.org/patches/staircase-deadline/2.6.21-rc7-sd-0.41.patch > > > > and an incremental for those on 0.40: > > http://ck.kolivas.org/patches/staircase-deadline/2.6.21-rc7/sched-impleme > >nt -staircase-deadline-scheduler-further-improvements.patch > > > > Remember to renice X to -10 for nicest desktop behaviour :) > > > > Have fun. > > Oops forgot to cc a few people > > Nick you said I should still have something to offer so here it is. > Peter you said you never saw this design (it's a dual array affair sorry). > Gene and Willy you were some of the early testers that noticed the > advantages of the earlier designs, > Matt you did lots of great earlier testing. > WLI you inspired a lot of design ideas. > Mike you were the stick. > And a few others I've forgotten to mention and include. Version 0.42 http://ck.kolivas.org/patches/staircase-deadline/2.6.21-rc7-sd-0.42.patch -- -ck ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Announce - Staircase Deadline cpu scheduler v0.42 2007-04-19 2:12 ` Announce - Staircase Deadline cpu scheduler v0.42 Con Kolivas @ 2007-04-19 3:22 ` Nick Piggin 2007-04-19 9:40 ` Con Kolivas 2007-04-19 12:55 ` Willy Tarreau 1 sibling, 1 reply; 10+ messages in thread From: Nick Piggin @ 2007-04-19 3:22 UTC (permalink / raw) To: Con Kolivas Cc: ck, Al Boldi, Ingo Molnar, Matt Mackall, Peter Williams, Mike Galbraith, Bill Huey, William Lee Irwin III, Gene Heskett, Willy Tarreau, linux kernel mailing list On Thu, Apr 19, 2007 at 12:12:14PM +1000, Con Kolivas wrote: > On Thursday 19 April 2007 10:41, Con Kolivas wrote: > > On Thursday 19 April 2007 09:59, Con Kolivas wrote: > > > Since there is so much work currently ongoing with alternative cpu > > > schedulers, as a standard for comparison with the alternative virtual > > > deadline fair designs I've addressed a few issues in the Staircase > > > Deadline cpu scheduler which improve behaviour likely in a noticeable > > > fashion and released version 0.41. > > > > > > http://ck.kolivas.org/patches/staircase-deadline/2.6.20.7-sd-0.41.patch > > > http://ck.kolivas.org/patches/staircase-deadline/2.6.21-rc7-sd-0.41.patch > > > > > > and an incremental for those on 0.40: > > > http://ck.kolivas.org/patches/staircase-deadline/2.6.21-rc7/sched-impleme > > >nt -staircase-deadline-scheduler-further-improvements.patch > > > > > > Remember to renice X to -10 for nicest desktop behaviour :) > > > > > > Have fun. > > > > Oops forgot to cc a few people > > > > Nick you said I should still have something to offer so here it is. > > Peter you said you never saw this design (it's a dual array affair sorry). > > Gene and Willy you were some of the early testers that noticed the > > advantages of the earlier designs, > > Matt you did lots of great earlier testing. > > WLI you inspired a lot of design ideas. > > Mike you were the stick. > > And a few others I've forgotten to mention and include. > > Version 0.42 > > http://ck.kolivas.org/patches/staircase-deadline/2.6.21-rc7-sd-0.42.patch OK, I run some tests later today... ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Announce - Staircase Deadline cpu scheduler v0.42 2007-04-19 3:22 ` Nick Piggin @ 2007-04-19 9:40 ` Con Kolivas 2007-04-19 10:22 ` Nick Piggin 0 siblings, 1 reply; 10+ messages in thread From: Con Kolivas @ 2007-04-19 9:40 UTC (permalink / raw) To: Nick Piggin Cc: ck, Al Boldi, Ingo Molnar, Matt Mackall, Peter Williams, Mike Galbraith, Bill Huey, William Lee Irwin III, Gene Heskett, Willy Tarreau, linux kernel mailing list On Thursday 19 April 2007 13:22, Nick Piggin wrote: > On Thu, Apr 19, 2007 at 12:12:14PM +1000, Con Kolivas wrote: > > Version 0.42 > > > > http://ck.kolivas.org/patches/staircase-deadline/2.6.21-rc7-sd-0.42.patch > > OK, I run some tests later today... Thank you very much. -- -ck ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Announce - Staircase Deadline cpu scheduler v0.42 2007-04-19 9:40 ` Con Kolivas @ 2007-04-19 10:22 ` Nick Piggin 2007-04-19 11:53 ` Con Kolivas 0 siblings, 1 reply; 10+ messages in thread From: Nick Piggin @ 2007-04-19 10:22 UTC (permalink / raw) To: Con Kolivas Cc: ck, Al Boldi, Ingo Molnar, Matt Mackall, Peter Williams, Mike Galbraith, Bill Huey, William Lee Irwin III, Gene Heskett, Willy Tarreau, linux kernel mailing list On Thu, Apr 19, 2007 at 07:40:04PM +1000, Con Kolivas wrote: > On Thursday 19 April 2007 13:22, Nick Piggin wrote: > > On Thu, Apr 19, 2007 at 12:12:14PM +1000, Con Kolivas wrote: > > > Version 0.42 > > > > > > http://ck.kolivas.org/patches/staircase-deadline/2.6.21-rc7-sd-0.42.patch > > > > OK, I run some tests later today... > > > Thank you very much. lmbench numbers are roughly comparable to mainline (lmbench seems to be a bit erratic, but there isn't the obvious drop that cfs has). Didn't worry about hackbench ;) kbuild: 2.6.21-rc7 508.87user 32.47system 2:17.82elapsed 392%CPU 509.05user 32.25system 2:17.84elapsed 392%CPU 508.75user 32.26system 2:17.83elapsed 392%CPU 508.63user 32.17system 2:17.88elapsed 392%CPU 509.01user 32.26system 2:17.90elapsed 392%CPU 509.08user 32.20system 2:17.95elapsed 392%CPU 2.6.21-rc7-sd42 512.78user 31.99system 2:18.41elapsed 393%CPU 512.55user 31.90system 2:18.57elapsed 392%CPU 513.05user 31.78system 2:18.48elapsed 393%CPU 512.46user 32.06system 2:18.63elapsed 392%CPU 512.78user 31.81system 2:18.49elapsed 393%CPU 512.41user 32.08system 2:18.70elapsed 392%CPU sd42 is doing about 745 context switches per second here, and perfomance is slightly below mainline. But it isn't doing badly. 507.87user 32.53system 2:17.50elapsed 392%CPU 508.47user 32.40system 2:17.56elapsed 393%CPU 508.59user 32.27system 2:17.53elapsed 393%CPU A few runs with rr_interval at 100 show that ctxsw numbers drop to 587, and performance is up to slightly above mainline. With the results I've got so far with all scedulers (actually I didn't try nicksched with a small timeslice, but I'm sure it would give the expected result)... I'd say 5ms might be too small a timeslice. Even 15ms will hurt some people I think. Although we could arguably tolerate this kind of regression, my box only has 1MB caches, and kbuild is naturally context switching at over 500 per second anyway. On something with bigger caches and less context switchy / more cache sensitive workloads, the regression could be quite a bit worse. (not directed at anyone in particular, but food for thought) ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Announce - Staircase Deadline cpu scheduler v0.42 2007-04-19 10:22 ` Nick Piggin @ 2007-04-19 11:53 ` Con Kolivas 0 siblings, 0 replies; 10+ messages in thread From: Con Kolivas @ 2007-04-19 11:53 UTC (permalink / raw) To: Nick Piggin Cc: ck, Al Boldi, Ingo Molnar, Matt Mackall, Peter Williams, Mike Galbraith, Bill Huey, William Lee Irwin III, Gene Heskett, Willy Tarreau, linux kernel mailing list On Thursday 19 April 2007 20:22, Nick Piggin wrote: > On Thu, Apr 19, 2007 at 07:40:04PM +1000, Con Kolivas wrote: > > On Thursday 19 April 2007 13:22, Nick Piggin wrote: > > > On Thu, Apr 19, 2007 at 12:12:14PM +1000, Con Kolivas wrote: > > > > Version 0.42 > > > > > > > > http://ck.kolivas.org/patches/staircase-deadline/2.6.21-rc7-sd-0.42.p > > > >atch > > > > > > OK, I run some tests later today... > > > > Thank you very much. > > lmbench numbers are roughly comparable to mainline (lmbench seems to be > a bit erratic, but there isn't the obvious drop that cfs has). Great. Thanks again for doing these. > Didn't worry about hackbench ;) > > kbuild: > 2.6.21-rc7 > 508.87user 32.47system 2:17.82elapsed 392%CPU > 509.05user 32.25system 2:17.84elapsed 392%CPU > 508.75user 32.26system 2:17.83elapsed 392%CPU > 508.63user 32.17system 2:17.88elapsed 392%CPU > 509.01user 32.26system 2:17.90elapsed 392%CPU > 509.08user 32.20system 2:17.95elapsed 392%CPU > > 2.6.21-rc7-sd42 > 512.78user 31.99system 2:18.41elapsed 393%CPU > 512.55user 31.90system 2:18.57elapsed 392%CPU > 513.05user 31.78system 2:18.48elapsed 393%CPU > 512.46user 32.06system 2:18.63elapsed 392%CPU > 512.78user 31.81system 2:18.49elapsed 393%CPU > 512.41user 32.08system 2:18.70elapsed 392%CPU > > sd42 is doing about 745 context switches per second here, and perfomance is > slightly below mainline. But it isn't doing badly. Not bad. It's always impossible to know where the sweet spot will lie with these things. Basically the higher the better.... for this one thing of course. > 507.87user 32.53system 2:17.50elapsed 392%CPU > 508.47user 32.40system 2:17.56elapsed 393%CPU > 508.59user 32.27system 2:17.53elapsed 393%CPU > > A few runs with rr_interval at 100 show that ctxsw numbers drop to 587, and > performance is up to slightly above mainline. Well they're nice numbers indeed. I don't even need to leave the maximum at 100ms but I seriously doubt we'd see much improvement beyond there... I'm sure some renderfarm might enjoy values of 1 second though (like my -ck patchet already offers in compute mode for old fashioned staircase cpu sched). > With the results I've got so far with all scedulers (actually I didn't try > nicksched with a small timeslice, but I'm sure it would give the expected > result)... I'd say 5ms might be too small a timeslice. Even 15ms will hurt > some people I think. On 4x (that's what your hardware was IIRC) SD would be setting it to 15ms. Mainline would be timeslice granularity setting 4x to about 40ms. Pulling a number out of my rear end generator I'd say 20ms for SD should make it close enough without sacrificing latency too much more. > Although we could arguably tolerate this kind of regression, my box only > has 1MB caches, and kbuild is naturally context switching at over 500 per > second anyway. On something with bigger caches and less context switchy / > more cache sensitive workloads, the regression could be quite a bit worse. > > (not directed at anyone in particular, but food for thought) Heck if I'm going to keep offering SD as an alternative for comparison I may as well use the food you've offered me. I guess I better work on a v0.43 with some more of these very easy to do tweaks then. Thanks! -- -ck ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Announce - Staircase Deadline cpu scheduler v0.42 2007-04-19 2:12 ` Announce - Staircase Deadline cpu scheduler v0.42 Con Kolivas 2007-04-19 3:22 ` Nick Piggin @ 2007-04-19 12:55 ` Willy Tarreau 2007-04-19 13:39 ` Con Kolivas 1 sibling, 1 reply; 10+ messages in thread From: Willy Tarreau @ 2007-04-19 12:55 UTC (permalink / raw) To: Con Kolivas Cc: ck, Al Boldi, Nick Piggin, Ingo Molnar, Matt Mackall, Peter Williams, Mike Galbraith, Bill Huey, William Lee Irwin III, Gene Heskett, linux kernel mailing list On Thu, Apr 19, 2007 at 12:12:14PM +1000, Con Kolivas wrote: > On Thursday 19 April 2007 10:41, Con Kolivas wrote: > > On Thursday 19 April 2007 09:59, Con Kolivas wrote: > > > Since there is so much work currently ongoing with alternative cpu > > > schedulers, as a standard for comparison with the alternative virtual > > > deadline fair designs I've addressed a few issues in the Staircase > > > Deadline cpu scheduler which improve behaviour likely in a noticeable > > > fashion and released version 0.41. > > > > > > http://ck.kolivas.org/patches/staircase-deadline/2.6.20.7-sd-0.41.patch > > > http://ck.kolivas.org/patches/staircase-deadline/2.6.21-rc7-sd-0.41.patch > > > > > > and an incremental for those on 0.40: > > > http://ck.kolivas.org/patches/staircase-deadline/2.6.21-rc7/sched-impleme > > >nt -staircase-deadline-scheduler-further-improvements.patch > > > > > > Remember to renice X to -10 for nicest desktop behaviour :) > > > > > > Have fun. > > > > Oops forgot to cc a few people > > > > Nick you said I should still have something to offer so here it is. > > Peter you said you never saw this design (it's a dual array affair sorry). > > Gene and Willy you were some of the early testers that noticed the > > advantages of the earlier designs, > > Matt you did lots of great earlier testing. > > WLI you inspired a lot of design ideas. > > Mike you were the stick. > > And a few others I've forgotten to mention and include. > > Version 0.42 > > http://ck.kolivas.org/patches/staircase-deadline/2.6.21-rc7-sd-0.42.patch Will give it a shoot ASAP, probably this week-end. I'm too short in time this week. Regards, Willy ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Announce - Staircase Deadline cpu scheduler v0.42 2007-04-19 12:55 ` Willy Tarreau @ 2007-04-19 13:39 ` Con Kolivas 0 siblings, 0 replies; 10+ messages in thread From: Con Kolivas @ 2007-04-19 13:39 UTC (permalink / raw) To: Willy Tarreau Cc: ck, Al Boldi, Nick Piggin, Ingo Molnar, Matt Mackall, Peter Williams, Mike Galbraith, Bill Huey, William Lee Irwin III, Gene Heskett, linux kernel mailing list On Thursday 19 April 2007 22:55, Willy Tarreau wrote: > On Thu, Apr 19, 2007 at 12:12:14PM +1000, Con Kolivas wrote: > > On Thursday 19 April 2007 10:41, Con Kolivas wrote: > > > On Thursday 19 April 2007 09:59, Con Kolivas wrote: > > > > Since there is so much work currently ongoing with alternative cpu > > > > schedulers, as a standard for comparison with the alternative virtual > > > > deadline fair designs I've addressed a few issues in the Staircase > > > > Deadline cpu scheduler which improve behaviour likely in a noticeable > > > > fashion and released version 0.41. > > > > > > > > http://ck.kolivas.org/patches/staircase-deadline/2.6.20.7-sd-0.41.pat > > > >ch > > > > http://ck.kolivas.org/patches/staircase-deadline/2.6.21-rc7-sd-0.41.p > > > >atch > > > > > > > > and an incremental for those on 0.40: > > > > http://ck.kolivas.org/patches/staircase-deadline/2.6.21-rc7/sched-imp > > > >leme nt -staircase-deadline-scheduler-further-improvements.patch > > > > > > > > Remember to renice X to -10 for nicest desktop behaviour :) > > > > > > > > Have fun. > > > > > > Oops forgot to cc a few people > > > > > > Nick you said I should still have something to offer so here it is. > > > Peter you said you never saw this design (it's a dual array affair > > > sorry). Gene and Willy you were some of the early testers that noticed > > > the advantages of the earlier designs, > > > Matt you did lots of great earlier testing. > > > WLI you inspired a lot of design ideas. > > > Mike you were the stick. > > > And a few others I've forgotten to mention and include. > > > > Version 0.42 > > > > http://ck.kolivas.org/patches/staircase-deadline/2.6.21-rc7-sd-0.42.patch > > Will give it a shoot ASAP, probably this week-end. I'm too short in time > this week. Great, thanks. By then there will almost certainly be a 0.43 so no rush. -- -ck ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [ck] Announce - Staircase Deadline cpu scheduler v0.41 2007-04-19 0:41 ` [ck] " Con Kolivas 2007-04-19 2:12 ` Announce - Staircase Deadline cpu scheduler v0.42 Con Kolivas @ 2007-04-19 6:59 ` Mike Galbraith 1 sibling, 0 replies; 10+ messages in thread From: Mike Galbraith @ 2007-04-19 6:59 UTC (permalink / raw) To: Con Kolivas Cc: ck, Nick Piggin, Ingo Molnar, Matt Mackall, Peter Williams, Bill Huey, William Lee Irwin III, Gene Heskett, Willy Tarreau, linux kernel mailing list On Thu, 2007-04-19 at 10:41 +1000, Con Kolivas wrote: > Mike you were the stick. (dirty job, somebody has to do it) ^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2007-04-19 13:17 UTC | newest] Thread overview: 10+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2007-04-18 23:59 Announce - Staircase Deadline cpu scheduler v0.41 Con Kolivas 2007-04-19 0:41 ` [ck] " Con Kolivas 2007-04-19 2:12 ` Announce - Staircase Deadline cpu scheduler v0.42 Con Kolivas 2007-04-19 3:22 ` Nick Piggin 2007-04-19 9:40 ` Con Kolivas 2007-04-19 10:22 ` Nick Piggin 2007-04-19 11:53 ` Con Kolivas 2007-04-19 12:55 ` Willy Tarreau 2007-04-19 13:39 ` Con Kolivas 2007-04-19 6:59 ` [ck] Announce - Staircase Deadline cpu scheduler v0.41 Mike Galbraith
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox