lkml.org 
[lkml]   [1998]   [Dec]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: mmap() is slower than read() on SCSI/IDE on 2.0 and 2.1
On Thu, Dec 17, 1998 at 06:52:50AM +0000, Linus Torvalds wrote:
> Umm, the easiest hint is probably to just look at the faulting address.
> We have it available, after all.
>
> I suspect that such a simple heuristic would be fairly accurate, and it
> can be coupled with other heuristics to further increase the accuracy.

file copy, yes. But grep (and probably lots of others) don't access memory
sequentially (as faster search algorithms exist)

It _is_ a great idea that should be benchmarked first, though ;)

-----==- |
----==-- _ |
---==---(_)__ __ ____ __ Marc Lehmann +--
--==---/ / _ \/ // /\ \/ / pcg@goof.com |e|
-=====/_/_//_/\_,_/ /_/\_\ --+
The choice of a GNU generation |
|

-
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:46    [W:0.029 / U:11.488 seconds]
©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site