How to set TCP_WINDOW_CLAMP Manually ?
I got two questions.
A. I want to manually set the Window Clamp for my experiment.I came to know we can do that in net/ipv4/tcp_output.c::tcp_grow_window. I'm really confused with the flow. Even i tried in net/ipv4/tcp_output.c::tcp_select_window, but things are asusual. B. Can I really improve the throughput by increasing the buffer space ? Do i have to go for netfileters or altering the existing data structure will do ? |
AFAIK you don't set it in the kernel but in the application. Please note 'man 7 tcp' says clamp isn't portable. For a code example see this. And increasing buffer space is not the only thing you must take into account when trying to maximize throughput, see the TCP Tuning Guide and the Ipsysctl tutorial 1.0.4.
//NTLB |
Thank u very much... at last i got one response.... :)
Do you have any idea about Cognitive Networks forums...? Please let me know... |
Cognitive Dissidents maybe but Cognitive Networks forums? No, sorry, can't help you there.
|
All times are GMT -5. The time now is 08:24 PM. |