lkml.org 
[lkml]   [2002]   [Sep]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    SubjectRE: TCP Segmentation Offloading (TSO)
    Date
    What i am wondering is how come we only get a few percentage improvement in
    throughput. Theoretically, since 64KB/1.5KB ~= 40, we should get a
    throughput improvement of 40 times. That would be the case of udp
    transmiting in one direction, in the case of tcp transmiting in one
    direction (which is the one you have implemented), since in average we have
    (at most) 1 ack every 2 data packets, we should theoretically obtain a
    throughput improvement of (40+20)/(1+20) = 3 (this comes from: without tso
    we send 40 packets and receive 20 acks, this is, the cpu processes 60
    packets; whereas with tso we send 1 packet and receive 20 acks, this is, the
    cpu processes 21 packets).
    However, we don't see in the numbers obtained neither an increase of
    throughput of 300% nor a decrease in cpu utilization of such magnitude. Is
    there any other bottleneck in the system that prevents us to see the 300%
    improvement? (i am assuming the card can do tso at wire speed)

    thank you,

    jordi





    These improvement should be reflected in terms of cpu offloading and

    -----Original Message-----
    From: linux-net-owner@vger.kernel.org
    [mailto:linux-net-owner@vger.kernel.org]On Behalf Of David S. Miller
    Sent: Monday, September 02, 2002 11:53 PM
    To: jros@ece.uci.edu
    Cc: scott.feldman@intel.com; linux-kernel@vger.kernel.org;
    linux-net@vger.kernel.org; haveblue@us.ibm.com; Manand@us.ibm.com;
    kuznet@ms2.inr.ac.ru; christopher.leech@intel.com
    Subject: Re: TCP Segmentation Offloading (TSO)


    From: "Jordi Ros" <jros@ece.uci.edu>
    Date: Mon, 2 Sep 2002 21:58:32 -0700

    i assume the mtu is ethernet 1500 Bytes, right? and that mss should be
    something much bigger than mtu, which gives the performance improvement
    shown in the numbers.

    The performance improvement comes from the fact that the card
    is given huge 64K packets, then the card (using the given ip/tcp
    headers as a template) spits out 1500 byte mtu sized packets.

    Less data DMA'd to the device per normal-mtu packet and less
    per-packet data structure work by the cpu is where the improvement
    comes from.
    -
    To unsubscribe from this list: send the line "unsubscribe linux-net" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html



    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2005-03-22 13:28    [W:0.026 / U:1.780 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site