How to modify default value for swappiness?

User created HOW-TOs, guides and workarounds.

Moderators: aysabzevar, mandog, alan, bkashaf, xet7, cmost, blix

How to modify default value for swappiness?

Postby Giovenale » Tue Sep 01, 2009 4:16 pm

It's very easy in Debian, adding a string to /etc/sysctl.conf

vm.swappiness=<new value>

I've tried this solution also on Boss 64-bit setting "15" for swappiness, but it doesn't run: after a reboot, the value goes back to the system default (60).
Using the string

echo 15 > /proc/sys/vm/swappiness

to change it "on the fly", all runs correctly.
Giovenale
 
Posts: 28
Joined: Mon Sep 15, 2008 6:36 am

Postby mandog » Tue Sep 01, 2009 10:13 pm

this was covered in this post for Boss I don't think anything has changed,
http://www.parsix.org/html/PNphpBB2-vie ... t-655.html
also this link explains more about it and the effects http://kerneltrap.org/node/3000
Parsix running AMD FX(tm)-6100 Six-Core Processor, Gigabyte mother board 8gb ram, Nvidia graphic card 1gb unboard ram, Plextor PX760, EPSON R300, 2x 500gb hds, sata+3x 500gb, 1x2tb Hardrives, 23" AOC monitor 1980X1080 Resolution
mandog
Forum Moderator
Forum Moderator
 
Posts: 483
Joined: Fri Jan 25, 2008 3:08 pm
Location: Peru

Postby Giovenale » Wed Sep 02, 2009 12:53 am

Thanks, mandog. :) I've solved copying the instruction

echo 15 > /proc/sys/vm/swappiness

in a script and launching it with sudo, together the other applications in Xfce Session's Autostart.

P.S. Talking about kernel: congratulations for the 2.6.26-parsix64-18 #1 SMP recently released, the speed of the system has very increased. :)
Giovenale
 
Posts: 28
Joined: Mon Sep 15, 2008 6:36 am

Re: How to modify default value for swappiness?

Postby bestfriend » Wed Nov 20, 2013 7:17 am

A simple question: how can I extract .rar file with file-roller? I think I can extract it with no problem with file-roller in DreamLinux and some other distros, but why can't I open it in Parsix?
bestfriend
 
Posts: 1
Joined: Wed Nov 20, 2013 7:09 am

Re: How to modify default value for swappiness?

Postby mandog » Thu Nov 21, 2013 3:40 pm

Install rar then try again
Parsix running AMD FX(tm)-6100 Six-Core Processor, Gigabyte mother board 8gb ram, Nvidia graphic card 1gb unboard ram, Plextor PX760, EPSON R300, 2x 500gb hds, sata+3x 500gb, 1x2tb Hardrives, 23" AOC monitor 1980X1080 Resolution
mandog
Forum Moderator
Forum Moderator
 
Posts: 483
Joined: Fri Jan 25, 2008 3:08 pm
Location: Peru


Return to HOW-TOs - English

Who is online

Users browsing this forum: No registered users and 1 guest

cron