[lkml]   [2001]   [Nov]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectConfused about relationship between tcp_max_syn_backlog and TCP_SYNQ_HSIZE
Hi, According to Documentation/networking/ip-sysctl.txt on 2.4.14

tcp_max_syn_backlog - INTEGER

Maximal number of remembered connection requests, which are
still did not receive an acknowledgement from connecting client.
Default value is 1024 for systems with more than 128Mb of memory,
and 128 for low memory machines. If server suffers of overload,
try to increase this number. Warning! If you make it greater
than 1024, it would be better to change TCP_SYNQ_HSIZE in
include/net/tcp.h to keep TCP_SYNQ_HSIZE*16<=tcp_max_syn_backlog
and to recompile kernel.

In include/net/tcp.h. I see the following

#define TCP_SYNQ_HSIZE 512 /* Size of SYNACK hash table

It seems counterintutive to reduce TCP_SYNQ_HSIZE to 128 if I were to
make tcp_max_syn_backlog to be 2048.

Maybe the documentation is wrong or I haven't figured out the zen in

Any assistance would be appreciated

Regards, Yusuf

Yusuf Goolamabbas
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:13    [W:0.046 / U:0.312 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site