Mailinglist Archive: opensuse (3666 mails)

< Previous Next >
Re: [SLE] Maximum swap size
  • From: James Knott <james.knott@xxxxxxxxxx>
  • Date: Mon, 07 Mar 2005 09:31:54 -0500
  • Message-id: <422C65DA.2040905@xxxxxxxxxx>
Anders Johansson wrote:
On Sunday 06 March 2005 23:10, Hans Witvliet wrote:

Only perfect sense for swapping a processes on purpose, might be in a
cluster environment, to re-distribute cpu-load....

Swapping has other uses. Swapping rarely used data from main internal memory to free up space for disk cache and read-ahead buffers can improve performance. This is why you can sometimes see swap usage even though you have a gigabyte free.

One situation I was wondering about, was if you had a huge data file. Might it be easier to load the entire file into memory (real & virtual) and process it there, than by reading & writing blocks of the file as necessary?

< Previous Next >
Follow Ups