All of lore.kernel.org
 help / color / mirror / Atom feed
* how tso (tcp segmentation offload) effect TCP bidirectional test sending throughput.
@ 2014-04-11 10:10 Varun Sharma
  2014-04-11 15:12 ` Abu Rasheda
  2014-04-11 16:26 ` michi1 at michaelblizek.twilightparadox.com
  0 siblings, 2 replies; 3+ messages in thread
From: Varun Sharma @ 2014-04-11 10:10 UTC (permalink / raw)
  To: kernelnewbies

Hi,

if we off tso (tcp segmentation offload) on sending side ,  *TCP
Bidirectional* test sending throughput decrease as compare to *TCP
Unidirectional *test sending throughput .

whereas if we on tso(tcp segmentation offload) on sending side , both
testgive almost same
sending throughput result.

is anyone know how tso(tcp segmentation offload) effect TCP Bidirectional
sending throughput ?

i am using iperf-2.0.5 for this case.

Thanks in advance.

Regards
varun
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20140411/1dd6ea20/attachment.html 

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

* how tso (tcp segmentation offload) effect TCP bidirectional test sending throughput.
  2014-04-11 10:10 how tso (tcp segmentation offload) effect TCP bidirectional test sending throughput Varun Sharma
@ 2014-04-11 15:12 ` Abu Rasheda
  2014-04-11 16:26 ` michi1 at michaelblizek.twilightparadox.com
  1 sibling, 0 replies; 3+ messages in thread
From: Abu Rasheda @ 2014-04-11 15:12 UTC (permalink / raw)
  To: kernelnewbies

On Fri, Apr 11, 2014 at 3:10 AM, Varun Sharma <vsdssd@gmail.com> wrote:

> Hi,
>
> if we off tso (tcp segmentation offload) on sending side ,  *TCP
> Bidirectional* test sending throughput decrease as compare to *TCP
> Unidirectional *test sending throughput .
>
> whereas if we on tso(tcp segmentation offload) on sending side , both testgive almost same
> sending throughput result.
>
> is anyone know how tso(tcp segmentation offload) effect TCP Bidirectional
> sending throughput ?
>
> i am using iperf-2.0.5 for this case.
>
> There are couple of things here.

1. Depending on the NIC, it could potentially have hardware offload in the
hardware. So offing TSO might not off it.
2. There is Linux kernel offload for receive, so there might be kernel
offload for send also
3. Different cards deal with offloading differently, with very different
result
4. If TSO is actually off, it might mean that eventually acks from remote
side are delayed filling its buffers

So this is very card, kernel version dependent.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20140411/46d8fe9a/attachment.html 

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

* how tso (tcp segmentation offload) effect TCP bidirectional test sending throughput.
  2014-04-11 10:10 how tso (tcp segmentation offload) effect TCP bidirectional test sending throughput Varun Sharma
  2014-04-11 15:12 ` Abu Rasheda
@ 2014-04-11 16:26 ` michi1 at michaelblizek.twilightparadox.com
  1 sibling, 0 replies; 3+ messages in thread
From: michi1 at michaelblizek.twilightparadox.com @ 2014-04-11 16:26 UTC (permalink / raw)
  To: kernelnewbies

Hi!

On 15:40 Fri 11 Apr     , Varun Sharma wrote:
> Hi,
> 
> if we off tso (tcp segmentation offload) on sending side ,  *TCP
> Bidirectional* test sending throughput decrease as compare to *TCP
> Unidirectional *test sending throughput .
> 
> whereas if we on tso(tcp segmentation offload) on sending side , both
> testgive almost same
> sending throughput result.
> 
> is anyone know how tso(tcp segmentation offload) effect TCP Bidirectional
> sending throughput ?

TSO reduces cpu usage. Your cpu might be a bottleneck with TSO off.

	-Michi
-- 
programing a layer 3+4 network protocol for mesh networks
see http://michaelblizek.twilightparadox.com

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

end of thread, other threads:[~2014-04-11 16:26 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-04-11 10:10 how tso (tcp segmentation offload) effect TCP bidirectional test sending throughput Varun Sharma
2014-04-11 15:12 ` Abu Rasheda
2014-04-11 16:26 ` michi1 at michaelblizek.twilightparadox.com

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.