Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 25 Dec 2003 14:14:25 -0800 (PST)
From:      Poul-Henning Kamp <phk@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/pci if_sis.c if_sisreg.h
Message-ID:  <200312252214.hBPMEPa7018655@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
phk         2003/12/25 14:14:25 PST

  FreeBSD src repository

  Modified files:
    sys/pci              if_sis.c if_sisreg.h 
  Log:
  Vastly improve performance of IRQ handling on stopped interfaces with
  this driver by introducing a flag saying we already stopped the device.
  
  On my Soekris net4801, this took a ping -i 0.001 from spending 80% of
  time in interrupt handling to 10% (approx numbers).
  
  This was a particular problem for the net4801 because the tree
  interfaces share the same interrupt, but it would be a problem for
  any configuration where an unused if_sis interface shares an interrupt
  with a busy device.
  
  Other drivers may have similar problems.
  
  Thanks to:      Luigi
  
  Revision  Changes    Path
  1.93      +4 -0      src/sys/pci/if_sis.c
  1.26      +1 -0      src/sys/pci/if_sisreg.h



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200312252214.hBPMEPa7018655>