RE: 4.7 vs 5.2.1 SMP/UP bridging performance

From: Bruce Evans <bde_at_zeta.org.au>
Date: Thu, 6 May 2004 18:47:39 +1000 (EST)
On Wed, 5 May 2004, Robert Watson wrote:

> The reason to run with these patches is that, without them, it's not safe
> to run without Giant over the lower half of the network stack, so all the
> network interrupt threads are running with Giant otherwise.

What does this particular finer grained locking do for the number of locks.
Nothing good I fear.

> Also, in that
> patchset, network processing to completion runs in the ithread rather than
> the netisr, so you get lower latency and more parallelism even for
> bridging.

Doesn't it give less parallelism, and higher latency for other interrupts,
but lower latency for this interrupt of course?

> Another known issue is the latency from interrupt generation to interrupt
> task execution in the interrupt thread.

Especially with the current bugs:
- interrupt thread execution is often or always deferred until the running
  thread gives up control or returns to userland, and all netisr and other.
  This bug has been active since last November.  Before then the indefinite
  deferral only happened occasionally.
- netisr and most other SWI priorities are backwards relative to softclock's
  priority.  This bug seems to have been active since the first version of
  SMPng.

Bruce
Received on Wed May 05 2004 - 23:47:46 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:53 UTC