Source-Changes archive

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

CVS commit: src/sys/netinet




To: source-changes%NetBSD.org@localhost

Subject: CVS commit: src/sys/netinet

From: "Kengo NAKAHARA" <knakahara%netbsd.org@localhost>

Date: Mon, 1 Aug 2016 10:22:53 +0000


Module Name:    src
Committed By:   knakahara
Date:           Mon Aug  1 10:22:53 UTC 2016

Modified Files:
        src/sys/netinet: ip_flow.c ip_var.h

Log Message:
improve fast-forward performance when the number of flows exceeds IPFLOW_MAX.

In the fast-forward case, when the number of flows exceeds IPFLOW_MAX, the
performmance degraded to about 50% compared to the case less than IPFLOW_MAX
flows. This modification suppresses the degradation to 65%. Furthermore,
the modified kernel is about the same performance as the original kernel
when the number of flows is less than IPFLOW_MAX.

The original patch is implemented by ryo@n.o. Thanks.


To generate a diff of this commit:
cvs rdiff -u -r1.75 -r1.76 src/sys/netinet/ip_flow.c
cvs rdiff -u -r1.114 -r1.115 src/sys/netinet/ip_var.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.






Prev by Date: CVS commit: [pgoyette-localcount] src/tests/lib/libpthread

Next by Date: CVS commit: src/external/gpl3/binutils

Previous by Thread: CVS commit: [pgoyette-localcount] src/tests/lib/libpthread

Next by Thread: CVS commit: src/external/gpl3/binutils

Indexes:

reverse Date

reverse Thread

Old Index



Home | Main Index | Thread Index | Old Index