public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* X15 alpha release: as fast as TUX but in user space
@ 2001-04-28  0:18 Fabio Riccardi
  2001-04-28  0:41 ` Aaron Lehmann
                   ` (2 more replies)
  0 siblings, 3 replies; 32+ messages in thread
From: Fabio Riccardi @ 2001-04-28  0:18 UTC (permalink / raw)
  To: linux-kernel
  Cc: Ingo Molnar, Alan Cox, Christopher Smith, Andrew Morton,
	Timothy D. Witham, David_J_Morse

Dear All,

I'd like to announce the first release of X15 Alpha 1, a _user space_
web server that is as fast as TUX.

On my Dell 4400 with 2G of RAM and 2 933MHz PIII and NetGear 2Gbit NICs
I achieve about 2500 SpecWeb99 connections, with both X15 and
TUX (actually X15 is sligtly faster, some 20 connections more... ;)

Given the limitations of my experimental setup I'd like to ask if some
of you could help me testing my software on some higher end machines.
I'm interested to see what happens on 4-8 processors in terms of
scalability etc.

You can download X15 Alpha 1 from here:
http://www.chromium.com/X15-Alpha-1.tgz

The the README file in the tarball should contain sufficient information
to run the thing, I also included a support module for running the
SpecWeb benchmark.

TIA, ciao,

 - Fabio



^ permalink raw reply	[flat|nested] 32+ messages in thread
* X15 alpha release: as fast as TUX but in user space
@ 2001-04-28  7:32 Ingo Molnar
  2001-04-29 21:19 ` Fabio Riccardi
  0 siblings, 1 reply; 32+ messages in thread
From: Ingo Molnar @ 2001-04-28  7:32 UTC (permalink / raw)
  To: Fabio Riccardi
  Cc: linux-kernel, Alan Cox, Christopher Smith, Andrew Morton,
	Timothy D. Witham, David_J_Morse


On Fri, 27 Apr 2001, Fabio Riccardi wrote:

> I'd like to announce the first release of X15 Alpha 1, a _user space_
> web server that is as fast as TUX.

great, the first TUX clone! ;-)

This should put the accusations to rest that Linux got the outstandingly
high SPECweb99 scores only because the webserver was in kernel-space. It's
the 2.4 kernel's high performance that enabled those results, having the
web-server in kernel-space didnt have much effect. TUX was and remains a
testbed to test high-performance webserving (and FTP serving), without the
API-exporting overhead of userspace.

[i suspect the small performance advantage of X15 is due to subtle
differences in the SPECweb99 user-space module: eg. while the TUX code was
written, tested and ready to use mmap()-enabled
TUXAPI_alloc_read_objectbuf(), it wasnt enabled actually. I sent Fabio a
mail how to enable it, perhaps he can do some tests to confirm this
suspicion?]

doing a TUX 2.0 SPECweb99 benchmark on the latest -ac kernels, 86% of time
is spent in generic parts of the kernel, 12% of time is spent in the
user-space SPECweb99 module, and only 2% of time is spent in TUX-specific
kernel code.

doing the same test with the original TUX 1.0 code shows that more than
50% of CPU time was spent in TUX-specific code.

what does this mean? In the roughly 6 months since TUX 1.0 was released,
we moved much of the TUX 1.0 -only improvements into the generic kernel
(most of which was made available to user-space as well), and TUX itself
became smaller and smaller (and used more and more generic parts of the
kernel). So in effect X15 is executing 50% TUX code :-)

(there are still a number of performance improvement patches pending that
are not integrated yet: the pagecache extreme-scalability patch and the
smptimers patch. These patches speed both X15 and TUX up.)

(there is one thing though that can never be 'exported to user-space': to
isolate possibly untrusted binary application code from the server itself,
without performance degradation. So we always have to be mentally open to
the validity of kernel-space services.)

	Ingo


^ permalink raw reply	[flat|nested] 32+ messages in thread

end of thread, other threads:[~2001-05-09 22:38 UTC | newest]

Thread overview: 32+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-04-28  0:18 X15 alpha release: as fast as TUX but in user space Fabio Riccardi
2001-04-28  0:41 ` Aaron Lehmann
2001-04-28  0:49 ` David S. Miller
2001-04-28  1:11   ` Fabio Riccardi
2001-04-28  8:42 ` Ingo Molnar
2001-04-28 13:15   ` Ville Herva
2001-04-28 13:21     ` Ingo Molnar
2001-04-28 13:24     ` Ingo Molnar
2001-04-28 13:30       ` Ville Herva
2001-04-28 13:55         ` Andi Kleen
2001-04-29 21:25   ` Fabio Riccardi
2001-04-30  5:43     ` dean gaudet
2001-04-30  6:39       ` David S. Miller
2001-04-30 19:36       ` Fabio Riccardi
2001-04-30 21:47         ` dean gaudet
2001-04-30 21:52           ` David S. Miller
2001-05-01  7:31         ` Ingo Molnar
2001-05-01  7:25     ` Ingo Molnar
  -- strict thread matches above, loose matches on Subject: below --
2001-04-28  7:32 Ingo Molnar
2001-04-29 21:19 ` Fabio Riccardi
2001-05-01  8:53   ` Ingo Molnar
2001-05-01 17:10     ` Fabio Riccardi
2001-05-01 17:12       ` Ingo Molnar
2001-05-04  1:58         ` Fabio Riccardi
2001-05-04  8:49           ` Ingo Molnar
2001-05-04 18:10             ` Fabio Riccardi
2001-05-04 18:38               ` Davide Libenzi
2001-05-09 22:42             ` Fabio Riccardi
2001-05-02  8:50   ` Ingo Molnar
2001-05-02 14:12     ` Zach Brown
2001-05-03  2:41       ` Fabio Riccardi
2001-05-02 23:19   ` Lincoln Dale

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox