lkml.org 
[lkml]   [1998]   [Mar]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: mmap() versus read()
    Hi!

    > > Why does Linux page executables from their original location? Isn't
    > > that slower than putting it into the swapfile because you have to
    > > wade through the filesystem layer when you need to page in? Or is
    > > the penalty for writing it into the swap bigger than the filesystem
    > > overhead?
    >
    > Yes.

    :-)

    Ok. Is there easy way to change it? On my system, swap is order of
    magnitude faster than disk. I would like linux to take advantage of
    it.
    Pavel

    --
    I'm really pavel@atrey.karlin.mff.cuni.cz. Pavel
    Look at http://atrey.karlin.mff.cuni.cz/~pavel/ ;-).

    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.rutgers.edu

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