Kernel error

2006-04-15 Thread Saurabh Jain
Hi Guys, I am getting the following kernel error while doing some experiments. Any idea where things are going wrong. To me it looks like there is an error while copying data from user space to kernel space. The application which i am running is iperf. However i also have netem module for emulatin

Writing a Rate based transport protocol

2006-03-13 Thread Saurabh Jain
Hi All, I am trying to write a new rate based transport protocol in linux kernel (either as a module or directly within the kernel). Basically it would be similar to UDP but with features like dynamic rate control, connection and state management, error control like TCP. Is there any established f

Re: TCP slow start

2006-01-29 Thread Saurabh Jain
ody confirm this?. Thanks in advance. On 1/27/06, Saurabh Jain <[EMAIL PROTECTED]> wrote: > Hi All, > > Looking at the TCP stack code it seems that if the variable snd_cwnd > > snd_ssthresh, TCP would move to congestion avoidance. Is that correct? > Are there any other

TCP slow start

2006-01-26 Thread Saurabh Jain
Hi All, Looking at the TCP stack code it seems that if the variable snd_cwnd > snd_ssthresh, TCP would move to congestion avoidance. Is that correct? Are there any other constraints as far as linux implementation goes? Will that condition hold even if there has been no packet drop or dup acks rece

Change size of TCP prequeue

2006-01-26 Thread Saurabh Jain
Hi All, How can i change the size of TCP prequeue? "netstat -s" output indicates that packets are being dropped from prequeue. Thanks in advance. - To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.k

SRTT in TCP code of linux kernel

2006-01-19 Thread Saurabh Jain
Hi All, After going through the TCP code in linux kernel it seems that TCP in linux stores srtt in milliseconds and it is inflated by a factor of 8. Does this means that TCP in linux can measure any rtt which is greater than 125 microseconds? The code will store a value of 1 for srtt variable when

SRTT value least count

2006-01-19 Thread Saurabh Jain
Hi All, After going through the TCP code in linux kernel it seems that TCP in linux stores srtt in milliseconds and it is inflated by a factor of 8. Does this means that TCP in linux can measure any rtt which is greater than 125 microseconds? The code will store a value of 1 for srtt variable when

Re: Welcome to linux-net

2006-01-15 Thread Saurabh Jain
Hi All, This is my first post to this mailing list. I am writing a new network protocol in the form of a module. I finished writing it in kernel 2.6.9 on Fedora Core 3 distribution. It is working great. However my implementation is not working on newer kernels like 2.6.12 etc. On doing some rese