Gabor Gombas <[EMAIL PROTECTED]> writes:

> On Tue, Nov 29, 2005 at 12:36:48PM +0100, Goswin von Brederlow wrote:
>
>> Only to the amout of /proc/sys/vm/swappiness. After that binaries and
>> data are swapped out in favour of more cache.
>
> Binaries do not use swap. File-backed R/O mapped pages can simply be
> discarded because they can always be reloaded from the backing file.

Thats still being swaped out in my world.

> The only exception when a relocation dirties the page, but relocations
> have more noticable performance impacts than increased swap usage.

Does that work at all with normal executables (not code you manualy
mmap)? Isn't that mapped read-only by default?

> Gabor

MfG
        Goswin


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to