Re: HTTP server as a Kernel module

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Feb 23, 2007 at 09:49:44AM +0200, Ramagudi Naziir wrote:
> On 2/22/07, Adrian Bunk <bunk@xxxxxxxxx> wrote:
> >On Wed, Feb 21, 2007 at 05:26:39PM +0000, Ashok Sharma wrote:
> >> In case yes then what will be the issues to be tackled and what will be 
> >>the dis-advantages (besides the advantages).
> >
> >"What are the advantages?" is the more interesting question.
> 
> What about saving expensive context switches ?

Switching from userspace to kernel isn't that expensive.

For serving out files you can use the very efficient sendfile()
function that will do most of the dirty work in one single system call.
Guess why vsftpd is the fastest FTP server on the planet?


Erik

-- 
They're all fools. Don't worry. Darwin may be slow, but he'll
eventually get them. -- Matthew Lammers in alt.sysadmin.recovery

Attachment: signature.asc
Description: Digital signature


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux