lkml.org 
[lkml]   [2001]   [Nov]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: Swap Usage with Kernel 2.4.14
Date
> I current use 4GB support, 1GB of ram, 2GB of swap.
>
> Having 1GB, I thought I had enough memory for basic operations without
> the disk swapping like mad.

In 2.4.14 linux leave pages in swap when swaping in. This is a win when
the page has not been changed and there is memory pressure. This behavior
is maintained until swap is 50% full. An this point linux starts releasing
swap pages at swapin.

In short linux keeps pages in swap and memory to perform better but starts
releasing swap pages when swap start filling.

Ed Tomlinson

-
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 13:13    [W:0.020 / U:25.732 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site