LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (http://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   How to set TCP_WINDOW_CLAMP Manually ? (http://www.linuxquestions.org/questions/linux-newbie-8/how-to-set-tcp_window_clamp-manually-802498/)

kiranmanjappa 04-16-2010 11:49 PM

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 04: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.

//NTLB

kiranmanjappa 06-14-2010 01: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 10: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 07:29 AM.