netdev
[Top] [All Lists]

Re: Is sendfile all that sexy?

To: Pavel Machek <pavel@xxxxxxx>
Subject: Re: Is sendfile all that sexy?
From: jamal <hadi@xxxxxxxxxx>
Date: Tue, 16 Jan 2001 08:47:22 -0500 (EST)
Cc: <linux-kernel@xxxxxxxxxxxxxxx>, <netdev@xxxxxxxxxxx>
In-reply-to: <20010116001633.A3343@xxxxxxxxxx>
Sender: owner-netdev@xxxxxxxxxxx

On Tue, 16 Jan 2001, Pavel Machek wrote:

> > TWO observations:
> > - Given Linux's non-pre-emptability of the kernel i get the feeling that
> > sendfile could starve other user space programs. Imagine trying to send a
> > 1Gig file on 10Mbps pipe in one shot.
>
> Hehe, try sigkilling process doing that transfer. Last time I tried it
> it did not work.

>From Alexey's response: it does get descheduled possibly every sndbuf
send. So you should be able to sneak that sigkill.

cheers,
jamal


<Prev in Thread] Current Thread [Next in Thread>