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.