mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* Re: X15 alpha release: as fast as TUX but in user space
  2001-04-29 21:19 ` Fabio Riccardi
@ 2001-05-02 23:19 Lincoln Dale
  2001-04-29 21:19 ` Fabio Riccardi
  0 siblings, 1 reply; 3+ messages in thread
From: Lincoln Dale @ 2001-05-02 23:19 UTC (permalink / raw)
  To: mingo
  Cc: Fabio Riccardi, linux-kernel, Alan Cox, Christopher Smith,
	Andrew Morton, Timothy D. Witham, David_J_Morse

Hi,

At 10:50 AM 2/05/2001 +0200, Ingo Molnar wrote:
>i think Zach's phhttpd is an important milestone as well, it's the first
>userspace webserver that shows how to use event-based, sigio-based async
>networking IO and sendfile() under Linux. (I believe it had some
>performance problems related to sigio queue overflow, these issues might
>be solved in the latest kernels.) The zerocopy enhancements should help
>phhttpd as well.

my experience with sigio-based event-handlers is that the net-gain of 
event-driven i/o is mitigated by the fact that SIGIO is based on signals.

the problem with signals for this purpose are:
  (a) you go thru a syncronization point in the kernel.  signals are protected
      by a spinlock.
      it doesn't scale with SMP.
  (b) SI_PAD_SIZE

explicitly, (b) means that you have an awful lot of memory-accesses going 
on for every signal.
my experience with the overhead is that it mitigates the advantages when 
you become bottlenecked on memory-bus-accesses.


cheers,

lincoln.


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

end of thread, other threads:[~2001-05-04 15:47 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <m14vUI0-001QM0C@mozart>
2001-05-04 13:38 ` Linux syscall speed -- was X15 rootin-tootin webserver Michael Rothwell
2001-05-04 15:46   ` Dan Mann
2001-05-02 23:19 X15 alpha release: as fast as TUX but in user space Lincoln Dale
2001-04-29 21:19 ` Fabio Riccardi
2001-05-03  2:29   ` Linux syscall speed -- was X15 rootin-tootin webserver Michael Rothwell

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®