lkml.org 
[lkml]   [2001]   [Aug]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRE: Swap size for a machine with 2GB of memory
Date
I was just experimenting on my personal Linux computer this weekend, which
has 512MB of RAM and 700MB of swap. I also have an unpatched 2.4.8 kernel
installed.

I wrote a program that allocated 700MB of RAM and touched every page, then
read it back in. When finished, there remained 250+ meg of swap in use, but
no corresponding free space in RAM, compared to before running my test
program. The expected behavior of the 2.4 kernels seemed to be followed,
where many programs retained space in both RAM and swap.

However, since my normal behavior is for swap to not be used, I will wait a
little bit for some of the VM updates to be tested.

I don't have 2X RAM because when I installed my system, I only had 256MB of
RAM.



-
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/

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