Re: [CentOS] Swap

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]





Rodrigo Barbosa wrote:

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Mon, Jun 05, 2006 at 02:01:52PM -0600, Joshua Gimer wrote:
On 6/5/06, Max H. <btmanmeh@xxxxxxxxxxx> wrote:
   Kai Schaetzl wrote:
   > where do you set "swappiness"?

   Echo a value 0 to 100 into /proc/sys/vm/swappiness.

   Higher the number, more swap.

   Here's an interesting argument from some kernel developers:

   <http://kerneltrap.org/node/3000>

I would at least keep a little bit of swap space. If you were to ever run out
of physical memory it WILL cause a kernel panic. Just a suggestion.

And that is why we are suggesting changing swappiness instead of
turning of swap.
I assume then, with swappiness set to 0, *if* the system does happen to need some extra pages, then it *will* go into swap, but only if all memory is exhausted? Zat sound right?

--
Sam W.Drinkard -- sam@xxxxxxxxxx
http://wa4phy.net
Augusta Area Mesonet
cell 706.825.8513 Home 706.868.7253
MAIL 4428 Branchwood Drive,
Martinez Georgia, 30907-1304

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux