Eric Dumazet
fd90b29d75
tcp: change default tcp hash size
...
As time passed, available memory increased faster than number of
concurrent tcp sockets.
As a result, a machine with 4GB of ram gets a hash table
with 524288 slots, using 8388608 bytes of memory.
Lets change that by a 16x factor (one slot for 128 KB of ram)
Even if a small machine needs a _lot_ of sockets, tcp lookups are now
very efficient, using one cache line per socket.
Signed-off-by: Eric Dumazet <edumazet@google.com >
Signed-off-by: David S. Miller <davem@davemloft.net >
2012-12-01 11:36:37 -05:00
..
2012-11-18 20:32:45 -05:00
2012-11-18 20:33:37 -05:00
2012-07-11 21:27:49 -07:00
2012-11-18 20:32:45 -05:00
2012-07-18 09:01:12 -07:00
2011-05-08 13:48:57 -07:00
2012-11-18 20:33:36 -05:00
2012-07-11 21:27:49 -07:00
2012-11-18 20:33:36 -05:00
2011-03-24 18:06:47 -07:00
2012-10-06 03:04:45 +09:00
2012-10-22 14:29:06 -04:00
2012-09-18 15:44:34 -04:00
2012-03-12 17:05:21 -07:00
2012-11-26 17:24:41 -05:00
2012-10-01 18:39:44 -04:00
2012-11-03 14:45:00 -04:00
2012-11-10 18:32:51 -05:00
2012-09-19 17:23:28 -04:00
2012-11-30 15:02:56 -05:00
2011-10-19 03:10:46 -04:00
2012-05-16 01:01:03 -04:00
2012-10-02 09:54:49 -07:00
2012-10-08 17:42:36 -04:00
2012-11-18 20:30:55 -05:00
2012-11-18 20:32:45 -05:00
2012-07-30 14:53:21 -07:00
2012-11-18 20:32:45 -05:00
2012-10-08 17:42:36 -04:00
2012-11-18 20:32:45 -05:00
2012-11-18 20:32:45 -05:00
2012-07-11 21:27:49 -07:00
2012-10-31 13:23:00 -04:00
2012-11-18 20:32:45 -05:00
2012-11-29 12:51:17 -05:00
2012-07-18 09:36:12 -07:00
2012-07-31 18:42:43 -07:00
2012-09-03 13:56:04 +02:00
2012-08-14 21:49:10 -07:00
2012-08-31 20:02:18 -04:00
2012-11-15 17:36:17 -05:00
2012-10-02 11:11:09 -07:00
2012-11-25 12:49:17 -05:00
2012-11-03 14:45:00 -04:00
2012-11-18 20:30:55 -05:00
2012-01-20 14:17:26 -05:00
2012-11-18 20:32:45 -05:00
2012-01-20 14:17:26 -05:00
2012-01-11 12:56:06 -08:00
2012-08-31 20:02:18 -04:00
2011-03-10 00:40:17 -08:00
2011-03-10 00:40:17 -08:00
2012-05-17 14:59:59 -04:00
2012-11-01 11:55:59 -04:00
2012-11-17 22:00:43 -05:00
2012-11-22 15:30:14 -05:00
2011-03-31 11:26:23 -03:00
2012-05-29 16:22:28 -07:00
2012-11-16 13:36:27 -05:00
2012-11-10 18:32:51 -05:00
2012-11-22 15:30:14 -05:00
2012-04-15 12:44:40 -04:00
2011-03-10 00:40:17 -08:00
2012-11-10 18:32:51 -05:00
2011-03-10 00:40:17 -08:00
2011-03-10 00:40:17 -08:00
2011-03-10 00:40:17 -08:00
2011-03-31 11:26:23 -03:00
2012-12-01 11:36:37 -05:00
2012-03-11 23:42:51 -07:00
2012-09-10 15:30:41 -04:00
2012-04-15 12:37:19 -04:00
2012-10-02 11:11:09 -07:00
2012-03-12 17:05:21 -07:00
2012-07-26 15:50:39 -07:00
2012-02-23 16:50:45 -05:00
2012-07-18 09:36:12 -07:00
2011-07-01 17:33:19 -07:00
2012-11-13 09:15:07 +01:00
2011-10-31 19:30:30 -04:00
2012-03-12 17:05:21 -07:00