lkml.org 
[lkml]   [2000]   [Sep]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [Demo program]: Poor elevator performance in 2.4.0-test9pre6
On Wed, Sep 27, 2000 at 04:10:38PM +1000, Robert Cohen wrote:
>
> lists@frednet.dyndns.org wrote
>
> I doubt this has any relevance whatsoever, but when I try this on a
> 2.2.16
> kernel running on top of a Pentium Pro 200 w/96megs of mem w/ a SCSI 2
> disk, I get some funny numbers:
>
> matt@zeus:~/cwork/personal$ ./elv_test 8 30
> files created, 240 megs written at 4.32 megs/sec
> finished writing 240 megs written at 1794.23 megs per sec
> finished reading, 240 megs read at 1675.813817 megs/sec
>
> Any ideas why I would be getting these numbers?
> -
>
> That will teach me to play fast and loose with checking error returns
> from system calls. I wasnt specifying a mode when creating the files.
> So they were being created without user write permission..
> I dont know why it worked under 2.4.0. Maybe a kernel bug :-).
>
> Anyway, a new version is available now at
> http://tltsu.anu.edu.au/~robert/elv_test.c

Ah, thanks. I have much more likely results now:
matt@zeus:~/cwork/personal$ ./elv_test2 8 30
files created, 240 megs written at 3.91 megs/sec
finished writing 240 megs written at 2.28 megs per sec
finished reading, 240 megs read at 0.909702 megs/sec

BTW, why would the first incorrectly function in kernel 2.2? A bug
<cough>feature</cough>?
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 12:38    [W:0.043 / U:9.924 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site