voluntary-preempt-2.6.9-rc1-bk4-Q7
Quoted 4 lines
With Q7 I still get rx latency issues (> 130 us non-preemptible section from
rtl8139_poll). Moreover network connections were extremely slow (almost hung) until I set/proc/sys/net/core/netdev_backlog_granularityto 2.
The default of 1 caused a couple services to fail start up - most annoying failure was NIS. I changed netdev_backlog_granularity to eight (8) in /etc/sysctl.conf and came up fine. The system is under test right now, though will probably tomorrow before I get full results.
It appears to have fewer > 500 usec traces than previous tests so the -Q7 stuff appears to work (though has not made it to the disk tests where I generally have more problems yet).
One place where we may need to consider more mcount() calls is in the scheduler. I got another 500+ msec trace going from dequeue_task to __switch_to.
I also looked briefly at find_first_bit since it appears in a number of traces. Just curious, but the coding for the i386 version is MUCH different in style than several other architectures (e.g, PPC64, SPARC). Is there some reason why it is recursive on the x86 and a loop in the others?
--Mark H Johnson
<mailto:[email protected]>
Quoted 3 lines · * [email protected] <[email protected]> wrote:
One place where we may need to consider more
mcount()calls is in the scheduler. I got another 500+ msec trace going fromdequeue_taskto__switch_to.
(you mean 500+ usec, correct?)
there's no way the scheduler can have 500 usecs of overhead going from dequeue_task() to __switch_to(): we have all interrupts disabled and take zero locks! This is almost certainly some hardware effect (i described some possibilities and tests a couple of mails earlier).
In any case, please enable nmi_watchdog=1 so that we can see (in -Q7) what happens on the other CPUs during such long delays.
Quoted 5 lines
I also looked briefly at
find_first_bitsince it appears in a number of traces. Just curious, but the coding for the i386 version is MUCH different in style than several other architectures (e.g, PPC64, SPARC). Is there some reason why it is recursive on the x86 and a loop in the others?
what do you mean by recursive? It uses the SCAS (scan string) x86 instruction.
Ingo