diff options
author | Jerry Jelinek <jerry.jelinek@joyent.com> | 2011-04-21 20:06:37 -0400 |
---|---|---|
committer | Jerry Jelinek <jerry.jelinek@joyent.com> | 2011-04-21 20:06:37 -0400 |
commit | aec2a073cb6e147203523e22c65a90f3f736f08c (patch) | |
tree | 8fa166a08d967558f12e118123d21459df91e97a /usr/src/uts/common/inet/tcp/tcp.c | |
parent | 5a74db2d25b207135db8a909479fc4fb8a27b15d (diff) | |
download | illumos-joyent-aec2a073cb6e147203523e22c65a90f3f736f08c.tar.gz |
916 False-sharing in TCP hash buckets, plus size increase
Reviewed by: Dan McDonald <danmcd@nexenta.com>
Reviewed by: Richard Lowe <richlowe@richlowe.net>
Approved by: Richard Lowe <richlowe@richlowe.net>
Diffstat (limited to 'usr/src/uts/common/inet/tcp/tcp.c')
-rw-r--r-- | usr/src/uts/common/inet/tcp/tcp.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr/src/uts/common/inet/tcp/tcp.c b/usr/src/uts/common/inet/tcp/tcp.c index 7ebd55b572..8d3dacf35b 100644 --- a/usr/src/uts/common/inet/tcp/tcp.c +++ b/usr/src/uts/common/inet/tcp/tcp.c @@ -21,6 +21,7 @@ /* * Copyright (c) 1991, 2010, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2011, Joyent Inc. All rights reserved. */ /* Copyright (c) 1990 Mentat Inc. */ @@ -240,7 +241,7 @@ uint_t tcp_free_list_max_cnt = 0; /* * Size of acceptor hash list. It has to be a power of 2 for hashing. */ -#define TCP_ACCEPTOR_FANOUT_SIZE 256 +#define TCP_ACCEPTOR_FANOUT_SIZE 512 #ifdef _ILP32 #define TCP_ACCEPTOR_HASH(accid) \ |