git: dummynet - Poll only if operational, change default freq for vkernel

Matthew Dillon dillon at crater.dragonflybsd.org
Thu May 30 21:50:40 PDT 2019


commit a007903a4ec12165bffac7879c47c3b30bfbddda
Author: Matthew Dillon <dillon at backplane.com>
Date:   Thu May 30 22:41:32 2019 -0500

    dummynet - Poll only if operational, change default freq for vkernel
    
    * Default frequency for vkernel is now 100 hz instead of 1000 hz.
      The frequency can be changed at any time with a sysctl.
    
    * The systimer is only configured when there are pipes or flows
      present, and will be deconfigured when there aren't.  This
      saves us from doing any unnecessary polling.
    
    * dummynet still has some considerable holes related to SMP
      operation.  It really needs a rewrite to some degree.

Summary of changes:
 sys/net/dummynet/ip_dummynet.c | 65 ++++++++++++++++++++++++++++++++++++++++--
 1 file changed, 62 insertions(+), 3 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/a007903a4ec12165bffac7879c47c3b30bfbddda


-- 
DragonFly BSD source repository



More information about the Commits mailing list