-   Linux - Newbie (
-   -   How to set TCP_WINDOW_CLAMP Manually ? (

kiranmanjappa 04-17-2010 12:49 AM

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 ?

unSpawn 06-13-2010 05:49 AM

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.


kiranmanjappa 06-14-2010 02:38 AM

Thank u very much... at last i got one response.... :)
Do you have any idea about Cognitive Networks forums...? Please let me know...

unSpawn 06-14-2010 11:39 AM

Cognitive Dissidents maybe but Cognitive Networks forums? No, sorry, can't help you there.

All times are GMT -5. The time now is 05:38 AM.