lkml.org 
[lkml]   [1999]   [Nov]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [Patch] shm bug introduced with pagecache in 2.3.11
Linus Torvalds wrote:
>
> > Btw, I'm sure that for multi-threaded applications, the mmap performance
> > of Linux will be poor because everything is single-threaded. I'll
> > write a benchmark and compare it with WinNT/Win95.
>
> I will bet you 5 bucks we'll kick ass.
>
You've lost:

Computer: K6-200, 128 MB Ram, Symbios 810 scsi controller, Fujitsu
Magneto-Optical drive, 620 MB [I have no empty scsi disc left :(],
620,000,000 bytes test file, fat filesystem, the same disk is used for
NT and Linux.

command: "./pagein fill 150000 #" where fill is the filename, 150000
means 150000 pages are trashed, and # is the number of threads.

Linux:
# pages/sec
1 13
4 14
64 14
256 ? [computer unresponsive]

NT:
# pages/sec
1 18
4 20
64 28
256 31
512 33

Linux is slower, and it cannot use multiple threads to reorder the
sector reads;
NT gets faster if I add further threads.

source code is at
http://colorfullife.com/~manfreds/pagein/pagein.cpp

--
Manfred


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:55    [W:0.094 / U:2.020 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site