lkml.org 
[lkml]   [2003]   [Apr]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: sendfile
    On Wed, Apr 30, 2003 at 09:12:17PM +0200, P?l Halvorsen wrote:

    > It could be useful for applications like streaming video where other
    > protocols on top provide additional functionality or in a multicast
    > session where TCP migth not be appropriate.

    sendfile on UDP would try to send gigabits per second over ppp0...

    > But should not the 2.4.X kernels have support for chained sk_buffs (like
    > the BSD mbufs) meaning that support for scatter-gatter I/O from the NIC
    > should be unneccessary to support zero-copy (i.e., NO in-memory data
    > copy operations)?

    No clue what you mean over here. Zero copy means different things to
    different people. Sendfile eliminates the 'read(to buffer);write(buffer to
    network);' copy.

    Some network drivers again may eliminate the 'copy_with_checksum()' step,
    allowing minus-one-copy, in zerocopy reference frame.

    Regards,

    bert


    --
    http://www.PowerDNS.com Open source, database driven DNS Software
    http://lartc.org Linux Advanced Routing & Traffic Control HOWTO
    -
    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:35    [W:3.073 / U:2.348 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site