lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1428436189.25985.211.camel@edumazet-glaptop2.roam.corp.google.com>
Date:	Tue, 07 Apr 2015 12:49:49 -0700
From:	Eric Dumazet <eric.dumazet@...il.com>
To:	Jan Engelhardt <jengelh@...i.de>
Cc:	Linux Networking Developer Mailing List <netdev@...r.kernel.org>
Subject: Re: TSO on veth device slows transmission to a crawl

On Tue, 2015-04-07 at 11:54 +0200, Jan Engelhardt wrote:
> On Tuesday 2015-04-07 04:48, Eric Dumazet wrote:
> >On Tue, 2015-04-07 at 00:45 +0200, Jan Engelhardt wrote:
> >> I have here a Linux 3.19(.0) system where activated TSO on a veth slave 
> >> device makes IPv4-TCP transfers going into that veth-connected container 
> >> progress slowly.
> >
> >Nothing comes to mind. It would help if you could provide a script to
> >reproduce the issue.
> 
> It seems IPsec is *also* a requirement in the mix.
> Anyhow, script time!

I tried your scripts, but the sender does not use veth ?

Where is the part you disable TSO ?
If its on the receiver, I fail to understand how it matters.

+ DUMP_TCP_INFO=1 ./netperf -H 10.10.23.23 -l 10
MIGRATED TCP STREAM TEST from 0.0.0.0 (0.0.0.0) port 0 AF_INET to
10.10.23.23 () port 0 AF_INET
tcpi_rto 217000 tcpi_ato 0 tcpi_pmtu 1438 tcpi_rcv_ssthresh 29200
tcpi_rtt 16715 tcpi_rttvar 7 tcpi_snd_ssthresh 702 tpci_snd_cwnd 831
tcpi_reordering 3 tcpi_total_retrans 24
Recv   Send    Send                          
Socket Socket  Message  Elapsed              
Size   Size    Size     Time     Throughput  
bytes  bytes   bytes    secs.    10^6bits/sec  

 87380  16384  16384    10.03     577.53   

Seems OK to me ?


--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ