linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* raw device and linux scheduling performance weirdness
@ 2001-03-12 16:50 Ying Chen
  0 siblings, 0 replies; only message in thread
From: Ying Chen @ 2001-03-12 16:50 UTC (permalink / raw)
  To: linux-kernel

Hi,

I ran some really trivial raw disk performance tests on 2.4.0 using
the raw disk support in it. I seem to be getting some really strange
performance results. My program opens up a raw device, then does
a sequence of sequential/random reads/writes on the raw device using
pread/pwrite. I put timing around both the sequence and the individual
requests. I noticed that in some of the runs the elapsed time for
the whole sequence of I/O requests is significantly longer than
the sum of the individual I/O request response times (like 100 times
longer say), yet my program does nothing in between the requests but
a gettimeofday call to record the request starting time. The system
has nothing else running when the tests were run, so the process should not 
be contenting with other things.

This seems to me that somehow the raw device I/O process is either
stuck or the linux scheduler is skewing things up somewhere. I tried to nice 
the process to higher priority values, it didn't seem to help.
Any ideas?

Thanks,

Ying

_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2001-03-12 16:51 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-03-12 16:50 raw device and linux scheduling performance weirdness Ying Chen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).