netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* IPV4 TCP connection reset using iperf
@ 2013-01-08 14:41 Madhvapathi Sriram
  2013-01-08 17:39 ` Rick Jones
  0 siblings, 1 reply; 3+ messages in thread
From: Madhvapathi Sriram @ 2013-01-08 14:41 UTC (permalink / raw)
  To: netdev

Hi,

I have recently migrated to kernel version 3.6.10 from 3.2.1. I was
running iperf to routinely measure TCP throughput and I have been
facing problems eversince. I am using a wireless interface.

wireless client: iperf -s -i 1 -w 1024K
wireless server: iperf -c 192.168.1.1 -i -1 -w 1024 -t 600

While, the connection is maintained for sometime and the perf logs
keep going. Randomly, the connection breaks with the server side
resetting the connection. The tcp dump on the client shows RST sent by
the server. Switching back to 3.2.1 works. This issue starts from
kernel version 3.5 onnwards.

I have tried to probe along some points to take a look at the air
logs, tcpdump on either sides but to no clue - everything seems normal
like, the tcp window values, very less/negligible retransmissions and
so on. The RST is set abruptly and randomly (no definite time - may
happen randomly).

I am looking for some suggestions or pointers towards analyzing the issue.

Thanks and regards,
Madhvapathi Sriram

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: IPV4 TCP connection reset using iperf
  2013-01-08 14:41 IPV4 TCP connection reset using iperf Madhvapathi Sriram
@ 2013-01-08 17:39 ` Rick Jones
  2013-01-18  4:13   ` Madhvapathi Sriram
  0 siblings, 1 reply; 3+ messages in thread
From: Rick Jones @ 2013-01-08 17:39 UTC (permalink / raw)
  To: Madhvapathi Sriram; +Cc: netdev

On 01/08/2013 06:41 AM, Madhvapathi Sriram wrote:
> Hi,
>
> I have recently migrated to kernel version 3.6.10 from 3.2.1. I was
> running iperf to routinely measure TCP throughput and I have been
> facing problems eversince. I am using a wireless interface.
>
> wireless client: iperf -s -i 1 -w 1024K
> wireless server: iperf -c 192.168.1.1 -i -1 -w 1024 -t 600
>
> While, the connection is maintained for sometime and the perf logs
> keep going. Randomly, the connection breaks with the server side
> resetting the connection. The tcp dump on the client shows RST sent by
> the server. Switching back to 3.2.1 works. This issue starts from
> kernel version 3.5 onnwards.
>
> I have tried to probe along some points to take a look at the air
> logs, tcpdump on either sides but to no clue - everything seems normal
> like, the tcp window values, very less/negligible retransmissions and
> so on. The RST is set abruptly and randomly (no definite time - may
> happen randomly).
>
> I am looking for some suggestions or pointers towards analyzing the issue.

I cannot imagine that iperf bulk transfer would look all that much 
different from netperf bulk transfer, but I suppose you could see if a 
netperf TCP_STREAM test with similar configuration settings encounters 
the same RST issues.  Or, for that matter, an equally long-lived FTP or 
scp transfer.

rick jones

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: IPV4 TCP connection reset using iperf
  2013-01-08 17:39 ` Rick Jones
@ 2013-01-18  4:13   ` Madhvapathi Sriram
  0 siblings, 0 replies; 3+ messages in thread
From: Madhvapathi Sriram @ 2013-01-18  4:13 UTC (permalink / raw)
  To: Rick Jones; +Cc: netdev

Hi,
I was looking into the driver code and found that the problem was with
merging the code and had messed up with skb_put in the receive path. I
have corrected that and everything works fine.
Thanks for the help.

Regards,
Madhvapathi Sriram

On Tue, Jan 8, 2013 at 11:09 PM, Rick Jones <rick.jones2@hp.com> wrote:
> On 01/08/2013 06:41 AM, Madhvapathi Sriram wrote:
>>
>> Hi,
>>
>> I have recently migrated to kernel version 3.6.10 from 3.2.1. I was
>> running iperf to routinely measure TCP throughput and I have been
>> facing problems eversince. I am using a wireless interface.
>>
>> wireless client: iperf -s -i 1 -w 1024K
>> wireless server: iperf -c 192.168.1.1 -i -1 -w 1024 -t 600
>>
>> While, the connection is maintained for sometime and the perf logs
>> keep going. Randomly, the connection breaks with the server side
>> resetting the connection. The tcp dump on the client shows RST sent by
>> the server. Switching back to 3.2.1 works. This issue starts from
>> kernel version 3.5 onnwards.
>>
>> I have tried to probe along some points to take a look at the air
>> logs, tcpdump on either sides but to no clue - everything seems normal
>> like, the tcp window values, very less/negligible retransmissions and
>> so on. The RST is set abruptly and randomly (no definite time - may
>> happen randomly).
>>
>> I am looking for some suggestions or pointers towards analyzing the issue.
>
>
> I cannot imagine that iperf bulk transfer would look all that much different
> from netperf bulk transfer, but I suppose you could see if a netperf
> TCP_STREAM test with similar configuration settings encounters the same RST
> issues.  Or, for that matter, an equally long-lived FTP or scp transfer.
>
> rick jones
>

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2013-01-18  4:13 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-01-08 14:41 IPV4 TCP connection reset using iperf Madhvapathi Sriram
2013-01-08 17:39 ` Rick Jones
2013-01-18  4:13   ` Madhvapathi Sriram

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).