* khttpd fate
@ 2009-07-18 1:15 Luis R. Rodriguez
2009-07-22 0:20 ` Kyle McMartin
0 siblings, 1 reply; 5+ messages in thread
From: Luis R. Rodriguez @ 2009-07-18 1:15 UTC (permalink / raw)
To: linux-kernel; +Cc: Arjan van de Ven, Ingo Molnar, Ted Merrill
I was reviewing khttpd [1] history [2], and the last I see is it was
merged for the 2.4 kernel with enthusiasm. I don't see any information
about this for 2.6 though, nor can I find any other notes about why
this was removed. Just curious if someone recalls why it was removed.
Also, I really hate how trolly this questions sounds but here it goes anyway:
Such userspace-kernel hacks shouldn't be necessary anymore based on
'performance/latency' arguments right? I take it khttpd wasn't serious
but more of a hack for fun and now we should be able to laugh about
it?
[1] http://www.fenrus.demon.nl/
[2] http://lwn.net/2001/0118/kernel.php3
Luis
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: khttpd fate
2009-07-18 1:15 khttpd fate Luis R. Rodriguez
@ 2009-07-22 0:20 ` Kyle McMartin
2009-07-22 0:36 ` H. Peter Anvin
0 siblings, 1 reply; 5+ messages in thread
From: Kyle McMartin @ 2009-07-22 0:20 UTC (permalink / raw)
To: Luis R. Rodriguez
Cc: linux-kernel, Arjan van de Ven, Ingo Molnar, Ted Merrill
On Fri, Jul 17, 2009 at 06:15:40PM -0700, Luis R. Rodriguez wrote:
> I was reviewing khttpd [1] history [2], and the last I see is it was
> merged for the 2.4 kernel with enthusiasm. I don't see any information
> about this for 2.6 though, nor can I find any other notes about why
> this was removed. Just curious if someone recalls why it was removed.
>
> Also, I really hate how trolly this questions sounds but here it goes anyway:
>
> Such userspace-kernel hacks shouldn't be necessary anymore based on
> 'performance/latency' arguments right? I take it khttpd wasn't serious
> but more of a hack for fun and now we should be able to laugh about
> it?
>
> [1] http://www.fenrus.demon.nl/
> [2] http://lwn.net/2001/0118/kernel.php3
>
I think it kind of got replaced by tux, which Red Hat shipped for a
while, but has been dropped now. I seem to recall davej mentioning a
while ago that apache had gotten much better at serving static content,
which is what khttpd/tux were very good at.
regards, Kyle
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: khttpd fate
2009-07-22 0:20 ` Kyle McMartin
@ 2009-07-22 0:36 ` H. Peter Anvin
2009-07-22 1:57 ` Dave Jones
0 siblings, 1 reply; 5+ messages in thread
From: H. Peter Anvin @ 2009-07-22 0:36 UTC (permalink / raw)
To: Kyle McMartin
Cc: Luis R. Rodriguez, linux-kernel, Arjan van de Ven, Ingo Molnar,
Ted Merrill
On 07/21/2009 05:20 PM, Kyle McMartin wrote:
>
> I think it kind of got replaced by tux, which Red Hat shipped for a
> while, but has been dropped now. I seem to recall davej mentioning a
> while ago that apache had gotten much better at serving static content,
> which is what khttpd/tux were very good at.
>
Also, lighttpd does really well, all in userspace. After all, static
http serving really is mostly a bit of header parsing followed by
sendfile(), so as long as a user-space process doesn't just sit on a
bunch of memory it can be done very cheaply.
-hpa
--
H. Peter Anvin, Intel Open Source Technology Center
I work for Intel. I don't speak on their behalf.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: khttpd fate
2009-07-22 0:36 ` H. Peter Anvin
@ 2009-07-22 1:57 ` Dave Jones
2009-07-22 4:47 ` H. Peter Anvin
0 siblings, 1 reply; 5+ messages in thread
From: Dave Jones @ 2009-07-22 1:57 UTC (permalink / raw)
To: H. Peter Anvin
Cc: Kyle McMartin, Luis R. Rodriguez, linux-kernel, Arjan van de Ven,
Ingo Molnar, Ted Merrill
On Tue, Jul 21, 2009 at 05:36:25PM -0700, H. Peter Anvin wrote:
> On 07/21/2009 05:20 PM, Kyle McMartin wrote:
> >
> > I think it kind of got replaced by tux, which Red Hat shipped for a
> > while, but has been dropped now. I seem to recall davej mentioning a
> > while ago that apache had gotten much better at serving static content,
> > which is what khttpd/tux were very good at.
> >
>
> Also, lighttpd does really well, all in userspace. After all, static
> http serving really is mostly a bit of header parsing followed by
> sendfile(), so as long as a user-space process doesn't just sit on a
> bunch of memory it can be done very cheaply.
I think the rise of dynamically generated content was a big thing that
killed it off. With more and more of the web getting ajaxified, and the
php etc being offloaded to apache anyway, it just makes more sense to
have one webserver do everything as long as it's "fast enough".
I wrote something up on this a few years back when I made the decision to
drop Tux from the Fedora kernel. http://kernelslacker.livejournal.com/tag/tux
Dave
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: khttpd fate
2009-07-22 1:57 ` Dave Jones
@ 2009-07-22 4:47 ` H. Peter Anvin
0 siblings, 0 replies; 5+ messages in thread
From: H. Peter Anvin @ 2009-07-22 4:47 UTC (permalink / raw)
To: Dave Jones, Kyle McMartin, Luis R. Rodriguez, linux-kernel,
Arjan van de Ven, Ingo Molnar, Ted Merrill
On 07/21/2009 06:57 PM, Dave Jones wrote:
> On Tue, Jul 21, 2009 at 05:36:25PM -0700, H. Peter Anvin wrote:
> > On 07/21/2009 05:20 PM, Kyle McMartin wrote:
> > >
> > > I think it kind of got replaced by tux, which Red Hat shipped for a
> > > while, but has been dropped now. I seem to recall davej mentioning a
> > > while ago that apache had gotten much better at serving static content,
> > > which is what khttpd/tux were very good at.
> > >
> >
> > Also, lighttpd does really well, all in userspace. After all, static
> > http serving really is mostly a bit of header parsing followed by
> > sendfile(), so as long as a user-space process doesn't just sit on a
> > bunch of memory it can be done very cheaply.
>
> I think the rise of dynamically generated content was a big thing that
> killed it off. With more and more of the web getting ajaxified, and the
> php etc being offloaded to apache anyway, it just makes more sense to
> have one webserver do everything as long as it's "fast enough".
>
> I wrote something up on this a few years back when I made the decision to
> drop Tux from the Fedora kernel. http://kernelslacker.livejournal.com/tag/tux
>
I can certainly explain why we don't use it on kernel.org, which is
almost all static content. We simply don't want to have to deal with
multiple web servers if we don't have to, and with sendfile() and
threading in Apache, it's reasonably efficient. If it wasn't, we would
probably go to lighttpd.
-hpa
--
H. Peter Anvin, Intel Open Source Technology Center
I work for Intel. I don't speak on their behalf.
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2009-07-22 4:52 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-07-18 1:15 khttpd fate Luis R. Rodriguez
2009-07-22 0:20 ` Kyle McMartin
2009-07-22 0:36 ` H. Peter Anvin
2009-07-22 1:57 ` Dave Jones
2009-07-22 4:47 ` H. Peter Anvin
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox