mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-02 12:20:51 +00:00
Increase UDBHASHSIZE from 16 to 128 items.
Previous value was chosen 10 years ago and not very effective now. This change gives several percents speedup on 1000 L2TP mpd links.
This commit is contained in:
parent
0ca3b0967b
commit
e2ed8f3514
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=180836
@ -132,7 +132,7 @@ struct inpcbhead udb; /* from udp_var.h */
|
||||
struct inpcbinfo udbinfo;
|
||||
|
||||
#ifndef UDBHASHSIZE
|
||||
#define UDBHASHSIZE 16
|
||||
#define UDBHASHSIZE 128
|
||||
#endif
|
||||
|
||||
struct udpstat udpstat; /* from udp_var.h */
|
||||
|
Loading…
Reference in New Issue
Block a user