DragonFly commits List (threaded) for 2008-04
DragonFly BSD
DragonFly commits List (threaded) for 2008-04
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

cvs commit: src/sys/netinet ip_flow.c ip_input.c


From: Sepherosa Ziehau <sephe@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Thu, 3 Apr 2008 06:43:29 -0700 (PDT)

sephe       2008/04/03 06:43:29 PDT

DragonFly src repository

  Modified files:
    sys/netinet          ip_flow.c ip_input.c 
  Log:
  Parallelize ip_flow:
  - Create per-CPU ipflow hash table.  During initial ipflow installation, route
    entry to the destination is allocated on each CPU and cached in the ipflow,
    so each CPU will only access the route entry owned by itself.
  - Timeout processing on per-CPU ipflow hash table is initialized by broadcasting
    IPI to each CPU.  In IPI, a per-CPU netmsg is used to inform CPU local netisr
    to do the real timout processing.
  - Add sysctl node to show how many ipflow entries are used on the each CPU.
  
  Revision  Changes    Path
  1.12      +153 -23   src/sys/netinet/ip_flow.c
  1.78      +1 -1      src/sys/netinet/ip_input.c


http://www.dragonflybsd.org/cvsweb/src/sys/netinet/ip_flow.c.diff?r1=1.11&r2=1.12&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/netinet/ip_input.c.diff?r1=1.77&r2=1.78&f=u



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]