cvs commit: src/sys/net netisr.c

Robert Watson rwatson at FreeBSD.org
Tue Nov 28 03:19:39 PST 2006


rwatson     2006-11-28 11:19:36 UTC

  FreeBSD src repository

  Modified files:
    sys/net              netisr.c 
  Log:
  Change net.isr.direct from defaulting to 0 to 1 in 7-CURRENT.  This
  enables direct dispatch of the network stack from the device driver
  ithread, enabling input path parallelism by default when multiple
  interfaces are present.
  
  The strategy for network stack parallelism is something being actively
  discussed, and this is just one of several possible (and perfectly
  reasonable) strategies, but has the distinct advantage of reducing the
  number of context switches and preemptions significantly, resulting in
  higher efficiency in many cases.  In some caes, this may reduce
  network stack parallelism due to work not being deferred from the
  ithread to the netisr.  Therefore, the strategy may change in the
  future, but this offers a reasonable first pass and enabling
  parallelism while maintaining strong ordering.
  
  Hopefully this will trigger lots of nice new bugs.
  
  This change is not intended for MFC.
  
  Revision  Changes    Path
  1.18      +1 -1      src/sys/net/netisr.c


More information about the cvs-src mailing list