LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 04-16-2010, 11:49 PM   #1
kiranmanjappa
LQ Newbie
 
Registered: Apr 2010
Posts: 2

Rep: Reputation: 0
Unhappy 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 ?
 
Old 06-13-2010, 04:49 AM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 27,140
Blog Entries: 54

Rep: Reputation: 2791Reputation: 2791Reputation: 2791Reputation: 2791Reputation: 2791Reputation: 2791Reputation: 2791Reputation: 2791Reputation: 2791Reputation: 2791Reputation: 2791
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
 
Old 06-14-2010, 01:38 AM   #3
kiranmanjappa
LQ Newbie
 
Registered: Apr 2010
Posts: 2

Original Poster
Rep: Reputation: 0
Thank u very much... at last i got one response....
Do you have any idea about Cognitive Networks forums...? Please let me know...
 
Old 06-14-2010, 10:39 AM   #4
unSpawn
Moderator
 
Registered: May 2001
Posts: 27,140
Blog Entries: 54

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


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Manually set DNS. Unr3a164 Ubuntu 9 06-05-2009 08:02 AM
Manually set ip-adres jonaskellens Linux - Newbie 11 11-15-2008 01:26 PM
Manually having to set essid reverse Debian 3 10-09-2007 06:30 AM
Can I set the IRQ's for my devices manually? Galik Linux - Hardware 1 06-05-2004 05:43 AM
How to set up a proxy manually? posat Linux - Newbie 2 04-15-2004 12:20 PM


All times are GMT -5. The time now is 12:01 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration