• Home
  • Help
  • Search
  • Login
  • Register
Pages: [1]
Author Topic: I set up swap space... how should I tune swappiness?  (Read 1781 times)
hungarianhc
Jr. Member
**

Karma: 2
Posts: 85


View Profile
« on: December 16, 2009, 12:55:18 AM »

Hi All,

So this is my configuration I have right now... Using the sheevainstaller 1.0, I installed mgillespie's debian (squeeze) pre-packaged rootfs onto the device. Works great. I've got a 500GB drive partioned up into 3 paritions:

2GB: swap
100GB: music
the rest: nas

So my "general linux question" is... did I need to set up swap space? It seems like I should, but I know that by default, the sheevaplug runs without swap activated. Can someone help me break down the pros and cons, specific to the sheevaplug? I've been doing a lot of reading on sites, but it seems like those are more specific to desktop installations.

I know that I can tune swappiness.... how high / low should I tune it? I'm going to leave the swap on and let the defaults go for now. If I hear otherwise, I'll make the changes from there. As always, thanks in advance. I appreciate the wealth of knowledge this forum has shared with me!
Logged

mgillespie
Full Member
***

Karma: 8
Posts: 239



View Profile
« Reply #1 on: December 16, 2009, 02:11:50 AM »

I decided on a swap file, rather than a swap partition,  I means I can change the size of it easilly without messing with partitions.
Logged

hungarianhc
Jr. Member
**

Karma: 2
Posts: 85


View Profile
« Reply #2 on: December 16, 2009, 02:24:13 AM »

I decided on a swap file, rather than a swap partition,  I means I can change the size of it easilly without messing with partitions.
I'm familiar with that method, but I'm more curious about the "swappiness" parameter, i.e. the system choosing when to use swap, rather than determining how large to make swap.
Logged

Digmecy09
Guest
« Reply #3 on: December 23, 2009, 02:50:49 AM »

Imnot too sure what the difference is in the different tunes.
i know there are dyno tunes, street tunes, and a tune in a canmail in what is better?
Logged

gunnarhx
Newbie
*

Karma: 0
Posts: 13


View Profile
« Reply #4 on: December 30, 2009, 11:34:54 AM »

Swappiness and related tunings are summarized here:
http://www.plugcomputer.org/plugwiki/index.php/Reduce_Flash_Writes
http://www.cyrius.com/debian/nslu2/linux-on-flash.html

Logged

Pages: [1]
Print
Jump to: