Hi Ingo, On Sat, Jun 23, 2007 at 12:02:02AM +0200, Ingo Molnar wrote:Today I had a little time to try CFS again (last time it was -v9!). I ran it on top of 2.6.20.14, and simply tried ocbench again. You remember ? With -v9, I ran 64 processes which all progressed very smoothly. With -v18, it's not the case anymore. When I run 64 processes, only 7 of them show smooth rounds, while all the other ones are only updated once a second. Sometimes they only progress by one iteration, sometimes by a full round. Some are even updated once ever 2 seconds, because if I drag an xterm above them and quickly remove it, the xterm leaves a trace there for up to 2 seconds. Also, only one of my 2 CPUs is used. I see the rq vary between 1 and 5, with a permanent 50% idle... : procs memory swap io system cpu r b w swpd free buff cache si so bi bo in cs us sy id 1 0 0 0 874400 7864 90436 0 0 0 0 279 2204 50 0 50 3 0 0 0 874408 7864 90436 0 0 0 0 273 2122 50 1 50 1 0 0 0 874408 7864 90436 0 0 0 0 253 1660 49 1 50 3 0 0 0 874408 7864 90436 0 0 0 0 252 1977 50 0 50 2 0 0 0 874408 7864 90436 0 0 0 0 253 2274 49 1 50 3 0 0 0 874408 7864 90436 0 0 0 0 252 1846 49 1 50 1 0 0 0 874408 7864 90436 0 0 0 0 339 1782 49 1 50 I have no idea about what version brought that unexpected behaviour, but it's clearly something which needs to be tracked down. My scheduler is at 250 Hz, and here are the values I found in /proc/sys/kernel: root@pcw:kernel# grep '' sched_* sched_batch_wakeup_granularity_ns:40000000 sched_child_runs_first:1 sched_features:14 sched_granularity_ns:10000000 sched_runtime_limit_ns:40000000 sched_stat_granularity_ns:0 sched_wakeup_granularity_ns:4000000 I have tried to change each of them, with absolutely no effect. Seems really strange. Unfortunately, I have to leave right now. Maybe you can try on your side with this simple command : $ ./ocbench -x 8 -y 8 Sorry for not giving more information right now. Regards, Willy -
| Greg Kroah-Hartman | [PATCH 004/196] Chinese: add translation of SubmittingPatches |
| Alan Stern | Re: 2.6.22-rc2-mm1 |
| Satyam Sharma | Re: [PATCH 0/24] make atomic_read() behave consistently across all architectures |
| William Lee Irwin III | Re: [Announce] [patch] Modular Scheduler Core and Completely Fair Scheduler [CFS] |
git: | |
| Dale Farnsworth | Re: [PATCH 03/39] mv643xx_eth: shorten reg names |
| Jarek Poplawski | Re: HTB accuracy for high speed |
| Gerrit Renker | [PATCH 15/37] dccp: Set per-connection CCIDs via socket options |
| Jarek Poplawski | [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock(). |
