All of lore.kernel.org
 help / color / mirror / Atom feed
* kernel hangs up - possible sendfile() epoll() bug?
@ 2003-08-15 23:05 Yaoping Ruan
  2003-08-15 23:43 ` Andrew Morton
  0 siblings, 1 reply; 4+ messages in thread
From: Yaoping Ruan @ 2003-08-15 23:05 UTC (permalink / raw)
  To: linux-kernel

Hi,

Recently we updated a user space web server to use the sendfile() and
epoll() interface, and tried to measure the performance with SpecWeb99
benchmark. As the load increases, e.g a SpecWeb99's target score of 600
connection, the kernel sometimes hangs up without any logging
information, and the only way left is to push the reset button to
reboot.

We also made similar updates to use sendfile() and kevent() on FreeBSD
and achieved a score of 1000 connections. Thus the possibility of
application bug is low (also it is a user space server). Before the
sendfile() and epoll() change, it was also fine but only could get a
SpecWeb99 score of 500.

The kernel we were using was 2.4.21 with the epoll patch applied. Since
the epoll man pages mention the interface is stabilized in 2.5.66, we
also tried 2.5.66 but didn't see anything better. The machine is a PIII
Xeon processor-based Intel server motherboard, with 2 CPU support but
only 1 is used, Maxtor Diamond IDE disk, Promise Ultra DMA 66
controller, and a single Netgear GA621 gigabit ethernet network adapter.

Is this possibly caused by the newly introduced interfaces?




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

end of thread, other threads:[~2003-08-22  5:19 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-08-15 23:05 kernel hangs up - possible sendfile() epoll() bug? Yaoping Ruan
2003-08-15 23:43 ` Andrew Morton
2003-08-22  4:41   ` kernel hangs up running web server Yaoping Ruan
2003-08-22  5:19     ` Andrew Morton

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.