From: "Daniel R. Kegel" <dank@alumni.caltech.edu>
To: linux-kernel@vger.kernel.org
Subject: Re: linux 2.2.19pre and thttpd (VM-global problem?)
Date: Fri, 29 Dec 2000 08:38:56 -0800 (PST) [thread overview]
Message-ID: <200012291638.IAA28137@alumnus.caltech.edu> (raw)
Andrea Arcangeli wrote:
> Petru Paler wrote:
> > This is one of the main thttpd design points: run in a select() loop. Since
> > it is intended for mainly static workloads, it performs quite well...
>
> It can't scale in SMP.
thttpd is i/o bound, not CPU bound, so there's no need for SMP scaling.
It's an effective little server as long as the active document
tree fits in RAM.
If it ain't broke, don't tell people how to fix it :-)
(If for some reason SMP scaling was desirable, the thttpd
way to do it would be to introduce one thread for each
CPU, and have each thread run the same select() loop.)
- Dan
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/
next reply other threads:[~2000-12-29 17:09 UTC|newest]
Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-12-29 16:38 Daniel R. Kegel [this message]
2000-12-29 21:23 ` Aaron Sethman
-- strict thread matches above, loose matches on Subject: below --
2001-01-01 21:56 Jure Pecar
2001-01-01 1:04 Jure Pecar
2000-12-29 19:29 Matt Liotta
2000-12-29 19:43 ` Andrea Arcangeli
2000-12-29 1:32 Jure Pecar
2000-12-29 2:29 ` Andrea Arcangeli
2000-12-29 2:47 ` Andrea Arcangeli
2000-12-29 7:38 ` Petru Paler
2000-12-29 15:53 ` Andrea Arcangeli
2000-12-29 18:04 ` Petru Paler
2000-12-29 18:13 ` Jakob Østergaard
2000-12-29 18:21 ` Petru Paler
2000-12-29 18:56 ` Alan Cox
2000-12-29 19:11 ` Andrea Arcangeli
2000-12-29 18:50 ` Alan Cox
2000-12-29 19:06 ` Andrea Arcangeli
2000-12-29 19:14 ` Andi Kleen
2000-12-29 22:40 ` Jakob Østergaard
2000-12-30 4:21 ` dean gaudet
2000-12-30 17:43 ` Andrea Arcangeli
2000-12-29 8:40 ` Jure Pecar
2000-12-29 11:37 ` Alan Cox
2000-12-29 15:36 ` Andrea Arcangeli
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200012291638.IAA28137@alumnus.caltech.edu \
--to=dank@alumni.caltech.edu \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®