Re: Linus 2.6.23-rc1

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Kasper Sandberg <lkml@...>
Cc: Linus Torvalds <torvalds@...>, Linux Kernel Mailing List <linux-kernel@...>, CK Mailinglist <ck@...>
Date: Sunday, July 29, 2007 - 11:04 am

hi Kasper,

* Kasper Sandberg <lkml@metanurb.dk> wrote:


hey, i thought you vanished from the face of the earth :-) The last 
email i got from you was more than 2 months ago, where you said that 
you'll try the latest CFS version as soon as possible but that you were 
busy with work. I sent 2 more emails to you about new CFS versions but 
then stopped pestering you directly - work _does_ take precedence over 
games =B-)

CFS v14, v15, v16, v17, v18 and v19 was released meanwhile, CFS v20 went 
upstream, there were no 3D related CFS regressions open for quite some 
time and because i never heard back from you i assumed everything's 
peachy.

In any case i'm glad you found the time to try CFS again, so please let 
me know in what way it regresses. In your most recent emails you did not 
indicate what specific problem you are having (and you did not reply to 
my last emails from May) - are your old regression reports against CFS 
v13 from May still true as of v2.6.23-rc1? If they are, could you please 
indicate which specific report of yours describes it best and send me 
(or upload to some webspace) the specific .config you are using on your 
box, and the cfs-debug-info.sh snapshot taken when you are running your 
game. (make sure you have CONFIG_SCHED_DEBUG=y enabled, for highest 
quality debug output) You can pick the script up from:

  http://people.redhat.com/mingo/cfs-scheduler/tools/cfs-debug-info.sh

Giving us that info would help us immensely with tracking down any CFS 
problem you might still be having.

Or, if you feel adventurous enough to look into the internals of the 
kernel (which, considering your offer to take up SD maintenance, you 
must be ;-), here's my kernel latency tracer:

   http://people.redhat.com/mingo/latency-tracing-patches/

( see: latency-tracer-v2.6.23-rc1-combo.patch )

the simplest way to use it is to enable CONFIG_WAKEUP_TIMING, to set 
/proc/sys/kernel/preempt_max_latency back to 0 (after bootup) and to 
thus measure raw worst-case scheduler latencies - if you regularly see 
the kernel report above say 1000 usecs latencies to the syslog, on a 
PREEMPT kernel then there's definitely something foul going on. For 
example, that's how i found an audio playback latency problem in an 
early version of CFS:

(            sshd-14614|#1): new 5 us maximum-latency wakeup.
(          ogg123-6603 |#1): new 6 us maximum-latency wakeup.
(          ogg123-6608 |#1): new 6 us maximum-latency wakeup.
(            sshd-14614|#1): new 10 us maximum-latency wakeup.
(          ogg123-6607 |#0): new 15 us maximum-latency wakeup.
(        events/0-9    |#0): new 789 us maximum-latency wakeup.
(          ogg123-6603 |#0): new 2566 us maximum-latency wakeup.

that 2.5 msecs latency in the ogg123 task was definitely the sign of a 
kernel bug.

If plain WAKEUP_TIMING does not show anything suspicious, you can use 
the latency tracer in more advanced ways as well to trace the whole 
system and figure out the precise cause of your game latencies - i'll be 
glad to help with that if no simpler measure helps. [see trace-it.c for 
some of those details.]


i'd encourage you to do it - in fact i already tried to prod Peter 
Williams into doing exactly that ;) The more reality checks a scheduler 
has, the better. [ Btw., after the obvious initial merging trouble it 
should be much easier to keep SD maintained against future upstream 
kernels due to the policy modularity that CFS introduces. (and which 
policy-modularity should also help reduce the size and complexity of the 
SD patch.) ]

Thanks,

	Ingo
-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Linus 2.6.23-rc1, Linus Torvalds, (Sun Jul 22, 5:04 pm)
Re: Linus 2.6.23-rc1, Ronni Nielsen, (Sat Jul 28, 10:52 am)
Re: Linus 2.6.23-rc1, Linus Torvalds, (Sat Jul 28, 1:30 pm)
Re: Linus 2.6.23-rc1, Kasper Sandberg, (Fri Jul 27, 10:04 pm)
Re: Linus 2.6.23-rc1, Ingo Molnar, (Sun Jul 29, 11:04 am)
Re: Linus 2.6.23-rc1, Kasper Sandberg, (Mon Jul 30, 12:13 pm)
Re: Linus 2.6.23-rc1, George Sescher, (Sun Jul 29, 7:04 pm)
Re: Linus 2.6.23-rc1, Ingo Molnar, (Mon Jul 30, 2:44 am)
Re: Linus 2.6.23-rc1, George Sescher, (Mon Jul 30, 3:06 am)
Re: Linus 2.6.23-rc1, Ingo Molnar, (Mon Jul 30, 3:55 am)
Re: Linus 2.6.23-rc1, George Sescher, (Mon Jul 30, 5:26 am)
Re: Linus 2.6.23-rc1, Ingo Molnar, (Mon Jul 30, 6:26 am)
Re: Linus 2.6.23-rc1, Linus Torvalds, (Sun Jul 29, 7:18 pm)
Re: Linus 2.6.23-rc1, Bill Huey, (Tue Jul 31, 6:05 am)
Re: Linus 2.6.23-rc1, Linus Torvalds, (Tue Jul 31, 11:44 am)
Re: Linus 2.6.23-rc1, Ingo Molnar, (Tue Jul 31, 10:04 am)
Re: [ck] Re: Linus 2.6.23-rc1, Matthew Hawkins, (Mon Jul 30, 1:12 am)
Re: Linus 2.6.23-rc1, George Sescher, (Sun Jul 29, 7:38 pm)
Re: Linus 2.6.23-rc1, Linus Torvalds, (Sun Jul 29, 7:58 pm)
Re: Linus 2.6.23-rc1, Linus Torvalds, (Fri Jul 27, 10:35 pm)
Re: [ck] Re: Linus 2.6.23-rc1, Jory A. Pratt, (Sat Jul 28, 5:07 pm)
Re: [ck] Re: Linus 2.6.23-rc1, Michael Chang, (Sat Jul 28, 9:18 am)
Re: [ck] Re: Linus 2.6.23-rc1, Linus Torvalds, (Sat Jul 28, 1:25 pm)
Re: [ck] Re: Linus 2.6.23-rc1, jos poortvliet, (Sat Jul 28, 2:03 pm)
Re: [ck] Re: Linus 2.6.23-rc1, Linus Torvalds, (Sat Jul 28, 2:28 pm)
Re: [ck] Re: Linus 2.6.23-rc1, jos poortvliet, (Sat Jul 28, 3:28 pm)
Re: [ck] Re: Linus 2.6.23-rc1, Linus Torvalds, (Sat Jul 28, 4:31 pm)
Re: [ck] Re: Linus 2.6.23-rc1, Roman Zippel, (Wed Aug 1, 12:17 am)
Re: [ck] Re: Linus 2.6.23-rc1, Carlo Florendo, (Wed Aug 1, 1:46 am)
RE: [ck] Re: Linus 2.6.23-rc1, Hua Zhong, (Wed Aug 1, 2:16 am)
Re: [ck] Re: Linus 2.6.23-rc1, Alan Cox, (Wed Aug 1, 8:31 am)
Re: [ck] Re: Linus 2.6.23-rc1, Carlo Florendo, (Wed Aug 1, 3:09 am)
Re: [ck] Re: Linus 2.6.23-rc1, Con Kolivas, (Sat Jul 28, 8:03 pm)
Re: [ck] Re: Linus 2.6.23-rc1, Charles philip Chan, (Sat Jul 28, 9:23 pm)
Re: [ck] Re: Linus 2.6.23-rc1, Bill Huey, (Sat Jul 28, 4:07 pm)
Re: [ck] Re: Linus 2.6.23-rc1, Diego Calleja, (Sat Jul 28, 5:06 pm)
Re: [ck] Re: Linus 2.6.23-rc1, Daniel Phillips, (Tue Aug 7, 2:55 am)
Re: [ck] Re: Linus 2.6.23-rc1, Alan Cox, (Tue Aug 7, 11:33 am)
Re: [ck] Re: Linus 2.6.23-rc1, Bill Huey, (Sat Jul 28, 5:32 pm)
Re: [ck] Re: Linus 2.6.23-rc1, Linus Torvalds, (Sat Jul 28, 6:18 pm)
Re: [ck] Re: Linus 2.6.23-rc1, Bill Huey, (Sat Jul 28, 9:00 pm)
Re: [ck] Re: Linus 2.6.23-rc1, Diego Calleja, (Sun Jul 29, 10:31 am)
Re: [ck] Re: Linus 2.6.23-rc1, Mike Galbraith, (Sun Jul 29, 4:25 pm)
Re: [ck] Re: Linus 2.6.23-rc1, Bill Huey, (Sun Jul 29, 5:48 pm)
Re: [ck] Re: Linus 2.6.23-rc1, Mike Galbraith, (Mon Jul 30, 1:03 am)
Re: [ck] Re: Linus 2.6.23-rc1, Martin Steigerwald, (Sun Jul 29, 2:31 pm)
Re: [ck] Re: Linus 2.6.23-rc1, Martin Steigerwald, (Sat Jul 28, 6:05 am)
Re: [ck] Re: Linus 2.6.23-rc1, Dirk Schoebel, (Sat Jul 28, 7:06 am)
Re: Linus 2.6.23-rc1, Kasper Sandberg, (Sat Jul 28, 5:44 am)
Re: Linus 2.6.23-rc1, Linus Torvalds, (Sat Jul 28, 1:50 pm)
Re: Linus 2.6.23-rc1, Jan Engelhardt, (Sat Jul 28, 3:13 pm)
Re: Linus 2.6.23-rc1, Linus Torvalds, (Sat Jul 28, 3:34 pm)
Re: Linus 2.6.23-rc1, Jan Engelhardt, (Wed Aug 1, 5:21 am)
Re: Linus 2.6.23-rc1, Linus Torvalds, (Sat Jul 28, 5:33 pm)
Re: Linus 2.6.23-rc1, Jan Engelhardt, (Sat Jul 28, 5:55 pm)
Re: Linus 2.6.23-rc1, Linus Torvalds, (Sat Jul 28, 6:22 pm)
Re: Linus 2.6.23-rc1, Kasper Sandberg, (Sat Jul 28, 2:07 pm)
Re: [ck] Re: Linus 2.6.23-rc1, Matthew Hawkins, (Sat Jul 28, 3:36 am)
Re: [ck] Re: Linus 2.6.23-rc1, Martin Steigerwald, (Sat Jul 28, 6:40 am)
Reporting bugs (was Re: [ck] Re: Linus 2.6.23-rc1), Stefan Richter, (Sat Jul 28, 12:10 pm)
Re: Reporting bugs (was Re: [ck] Re: Linus 2.6.23-rc1), Michal Piotrowski, (Sat Jul 28, 12:21 pm)
Re: [ck] Re: Linus 2.6.23-rc1, Grzegorz Kulewski, (Sat Jul 28, 3:09 am)
SD still better than CFS for 3d , Kasper Sandberg, (Fri Jul 27, 7:43 am)
Re: SD still better than CFS for 3d ?(was Re: 2.6.23-rc1), Kasper Sandberg, (Mon Jul 30, 7:46 pm)
Re: SD still better than CFS for 3d ?(was Re: 2.6.23-rc1), Peter Zijlstra, (Tue Jul 31, 2:31 am)
Re: SD still better than CFS for 3d ?(was Re: 2.6.23-rc1), J. Bruce Fields, (Thu Aug 2, 9:03 am)
Re: SD still better than CFS for 3d ?(was Re: 2.6.23-rc1), Trond Myklebust, (Thu Aug 2, 9:39 am)
Re: SD still better than CFS for 3d ?(was Re: 2.6.23-rc1), Kasper Sandberg, (Wed Aug 1, 7:43 pm)
Re: SD still better than CFS for 3d ?(was Re: 2.6.23-rc1), Kasper Sandberg, (Wed Aug 8, 10:38 am)
2.6.23-rc1: BUG_ON in kmap_atomic_prot(), Alexey Dobriyan, (Mon Jul 23, 2:38 pm)
Re: 2.6.23-rc1: BUG_ON in kmap_atomic_prot(), Alexey Dobriyan, (Mon Jul 23, 3:01 pm)
Re: 2.6.23-rc1: BUG_ON in kmap_atomic_prot(), Andrew Morton, (Mon Jul 23, 4:24 pm)
Re: 2.6.23-rc1: BUG_ON in kmap_atomic_prot(), Mike Galbraith, (Tue Jul 24, 6:01 am)
Re: 2.6.23-rc1: BUG_ON in kmap_atomic_prot(), Andrew Morton, (Tue Jul 24, 12:28 pm)
Re: 2.6.23-rc1: BUG_ON in kmap_atomic_prot(), Linus Torvalds, (Tue Jul 24, 2:25 pm)
Re: 2.6.23-rc1: BUG_ON in kmap_atomic_prot(), Mike Galbraith, (Wed Jul 25, 1:09 am)
Re: 2.6.23-rc1: BUG_ON in kmap_atomic_prot(), Alexey Dobriyan, (Tue Jul 24, 4:05 pm)
Re: 2.6.23-rc1: BUG_ON in kmap_atomic_prot(), Cyrill Gorcunov, (Wed Jul 25, 1:44 pm)
Re: 2.6.23-rc1: BUG_ON in kmap_atomic_prot(), Mike Galbraith, (Tue Jul 24, 6:37 am)
Re: 2.6.23-rc1: BUG_ON in kmap_atomic_prot(), Alexey Dobriyan, (Mon Jul 23, 4:40 pm)
Re: 2.6.23-rc1: BUG_ON in kmap_atomic_prot(), Alexey Dobriyan, (Mon Jul 23, 5:01 pm)
Re: 2.6.23-rc1: BUG_ON in kmap_atomic_prot(), Andrew Morton, (Mon Jul 23, 5:11 pm)
Re: 2.6.23-rc1: BUG_ON in kmap_atomic_prot(), Alexey Dobriyan, (Mon Jul 23, 6:04 pm)
Re: 2.6.23-rc1: BUG_ON in kmap_atomic_prot(), Andrew Morton, (Mon Jul 23, 6:27 pm)
Re: 2.6.23-rc1: BUG_ON in kmap_atomic_prot(), Jens Axboe, (Tue Jul 24, 4:17 am)
Re: 2.6.23-rc1: BUG_ON in kmap_atomic_prot(), Jens Axboe, (Tue Jul 24, 4:22 am)
Re: 2.6.23-rc1: BUG_ON in kmap_atomic_prot(), Dan Williams, (Tue Jul 24, 9:55 am)
Re: 2.6.23-rc1: BUG_ON in kmap_atomic_prot(), Andrew Morton, (Tue Jul 24, 4:34 am)
Re: 2.6.23-rc1: BUG_ON in kmap_atomic_prot(), Dan Williams, (Tue Jul 24, 10:00 am)
Re: 2.6.23-rc1: BUG_ON in kmap_atomic_prot(), Alexey Dobriyan, (Tue Jul 24, 1:20 am)
Re: 2.6.23-rc1: BUG_ON in kmap_atomic_prot(), Linus Torvalds, (Mon Jul 23, 5:28 pm)
Re: 2.6.23-rc1: BUG_ON in kmap_atomic_prot(), Adrian Bunk, (Tue Jul 24, 1:59 pm)
Re: 2.6.23-rc1: BUG_ON in kmap_atomic_prot(), Linus Torvalds, (Tue Jul 24, 2:14 pm)
Re: 2.6.23-rc1: BUG_ON in kmap_atomic_prot(), Andrew Morton, (Tue Jul 24, 2:28 pm)
Re: 2.6.23-rc1: BUG_ON in kmap_atomic_prot(), Linus Torvalds, (Tue Jul 24, 3:15 pm)
Re: 2.6.23-rc1: BUG_ON in kmap_atomic_prot(), Adrian Bunk, (Tue Jul 24, 3:40 pm)
Re: 2.6.23-rc1: BUG_ON in kmap_atomic_prot(), Linus Torvalds, (Tue Jul 24, 3:48 pm)
Re: 2.6.23-rc1: BUG_ON in kmap_atomic_prot(), Adrian Bunk, (Thu Jul 26, 2:07 pm)
Re: 2.6.23-rc1: BUG_ON in kmap_atomic_prot(), Linus Torvalds, (Thu Jul 26, 2:19 pm)
Re: 2.6.23-rc1: BUG_ON in kmap_atomic_prot(), Andi Kleen, (Tue Jul 24, 4:27 pm)
Re: 2.6.23-rc1: BUG_ON in kmap_atomic_prot(), Linus Torvalds, (Tue Jul 24, 3:45 pm)
Re: 2.6.23-rc1: BUG_ON in kmap_atomic_prot(), Sam Ravnborg, (Mon Jul 23, 5:37 pm)
Re: Linus 2.6.23-rc1, Gabriel C, (Mon Jul 23, 12:43 pm)
Re: Linus 2.6.23-rc1, Ismail , (Mon Jul 23, 12:57 pm)
Re: Linus 2.6.23-rc1, Alessandro Suardi, (Mon Jul 23, 4:44 pm)
Re: Linus 2.6.23-rc1, Len Brown, (Tue Jul 24, 10:49 am)
Re: Linus 2.6.23-rc1, xen fix, Ingo Molnar, (Mon Jul 23, 11:52 am)
Re: Linus 2.6.23-rc1: ACPI-related oops on x86_64, Mel Gorman, (Mon Jul 23, 5:50 am)
Re: Linus 2.6.23-rc1: ACPI-related oops on x86_64, Len Brown, (Mon Jul 23, 1:15 pm)
Re: Linus 2.6.23-rc1: ACPI-related oops on x86_64, Mel Gorman, (Tue Jul 24, 6:37 am)
Re: Linus 2.6.23-rc1, Gabriel C, (Sun Jul 22, 10:48 pm)
Re: Linus 2.6.23-rc1, Gabriel C, (Sun Jul 22, 9:20 pm)
Re: Linus 2.6.23-rc1, Paul Mundt, (Sun Jul 22, 9:23 pm)
Re: Linus 2.6.23-rc1, Greg KH, (Mon Jul 23, 12:11 am)
Re: Linus 2.6.23-rc1, Gabriel C, (Sun Jul 22, 9:27 pm)
Re: Linus 2.6.23-rc1, Paul Mundt, (Sun Jul 22, 9:40 pm)
Re: Linus 2.6.23-rc1, Alistair John Strachan, (Sun Jul 22, 7:33 pm)
Re: Linus 2.6.23-rc1, Roland McGrath, (Sun Jul 22, 7:51 pm)
Re: Linus 2.6.23-rc1, Adrian Bunk, (Sun Jul 22, 8:07 pm)
Re: Linus 2.6.23-rc1, Roland McGrath, (Sun Jul 22, 8:31 pm)
Re: Linus 2.6.23-rc1, Adrian Bunk, (Sun Jul 22, 9:43 pm)
Re: Linus 2.6.23-rc1, Andre Noll, (Sun Jul 22, 6:10 pm)
Re: Linus 2.6.23-rc1, Andi Kleen, (Sun Jul 22, 6:22 pm)
Re: Linus 2.6.23-rc1, Andre Noll, (Sun Jul 22, 7:23 pm)
Re: Linus 2.6.23-rc1, Andi Kleen, (Sun Jul 22, 7:31 pm)
Re: Linus 2.6.23-rc1, Jakub Jelinek, (Mon Jul 23, 2:07 am)