Re: why swap at all?
From: Robin Rosenberg (robin.rosenberg.lists_at_dewire.com)
Date: 06/01/04
- Previous message: David B. Stevens: "Re: why swap at all?"
- In reply to: Lenar Lõhmus: "Re: why swap at all?"
- Next in thread: jlnance_at_unity.ncsu.edu: "Re: why swap at all?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
To: Lenar Lõhmus <lenar@vision.ee> Date: Tue, 1 Jun 2004 14:27:33 +0200
On Tuesday 01 June 2004 13.57, Lenar Lõhmus wrote:
> jlnance@unity.ncsu.edu wrote:
> >I'm not sure. Copying a file is a pretty good indication that you
> >are about to do something with either the new or the old file.
>
> Like taking the new file with me on USB dongle and deleting old one?
> Caching the file really doesn't help in this case.
No, and most file copies are not to be used in the "near" future. I.e. on
my machine. Caching on the second read (close in time) is ok, or if there
are unused ram, but paging out things in use is bad. It's much more likely
that the page allocated to a program will be used than a newly read or written
file.
Ofcourse your milega may vary. I'm thinking of my desktop now.
-- robin
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
- Previous message: David B. Stevens: "Re: why swap at all?"
- In reply to: Lenar Lõhmus: "Re: why swap at all?"
- Next in thread: jlnance_at_unity.ncsu.edu: "Re: why swap at all?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|