git: net: Increase max stage packet count to 16.

Sepherosa Ziehau sephe at crater.dragonflybsd.org
Sat Dec 23 00:17:52 PST 2017


commit 335a88d5d5578c560a3a5511a7145a80e58f1896
Author: Sepherosa Ziehau <sephe at dragonflybsd.org>
Date:   Sat Dec 23 08:03:42 2017 +0800

    net: Increase max stage packet count to 16.
    
    This increase IP forwarding rate by 200Kpps ~ 300Kpps.  Normal
    forwarding reaches 11.3Mpps, while fastforwarding is at 14.2Mpps
    now.
    
    Setting this to 8 does not give as much improvement as setting
    this to 16.  While setting this to 24 gives no observable
    improvement compared with setting this to 16.

Summary of changes:
 sys/net/if.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/335a88d5d5578c560a3a5511a7145a80e58f1896


-- 
DragonFly BSD source repository



More information about the Commits mailing list