public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* need better I/O scheduler for bulk file serving
@ 2003-05-18 19:59 Felix von Leitner
  2003-05-18 21:06 ` Andrew Morton
  0 siblings, 1 reply; 5+ messages in thread
From: Felix von Leitner @ 2003-05-18 19:59 UTC (permalink / raw)
  To: linux-kernel

I'm doing some network scalability testing on Linux.  I'm using sendfile
and epoll on non-blocking file descriptors, and I am uploading several
large files (CD images in my case) to several downloaders.

When only one peer is downloading, I get wire speed bandwidth
utilization.

When three people are downloading different images (my server "only" has
512 MB RAM, so it can't hold even one of the images in memory) at the
same time, the bandwidth utilization goes down to 6 MB/sec on my fast
ethernet NIC.  The hard disk appears to be busy seeking.

What knobs exist to tweak this?  This appears to be exactly the kind of
problem the I/O schedulers are trying to solve, right?  And the kernel
has perfect knowledge of what is going to happen because sendfile is
called with file size as length.  Larger read-ahead maybe?

Felix

^ permalink raw reply	[flat|nested] 5+ messages in thread
* Re: need better I/O scheduler for bulk file serving
@ 2003-05-19  3:35 Chuck Ebbert
  2003-05-19  3:51 ` Joel Jaeggli
  0 siblings, 1 reply; 5+ messages in thread
From: Chuck Ebbert @ 2003-05-19  3:35 UTC (permalink / raw)
  To: Felix von Leitner; +Cc: linux-kernel

Felix von Leitner wrote:

> When three people are downloading different images (my server "only" has
> 512 MB RAM, so it can't hold even one of the images in memory) at the
> same time, the bandwidth utilization goes down to 6 MB/sec on my fast
> ethernet NIC.  The hard disk appears to be busy seeking.

  Try RAID1.




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

end of thread, other threads:[~2003-05-19  3:43 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-05-18 19:59 need better I/O scheduler for bulk file serving Felix von Leitner
2003-05-18 21:06 ` Andrew Morton
2003-05-18 22:38   ` Andrea Arcangeli
  -- strict thread matches above, loose matches on Subject: below --
2003-05-19  3:35 Chuck Ebbert
2003-05-19  3:51 ` Joel Jaeggli

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