PuppyThis forum is for the discussion of Puppy Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hello,
Here's another question (perhaps I should post in the newbies section).
I find that 4G of ram makes the default swappiness value of 60 too high and I usually reduce it to 10.
In other distros I add a line "vm.swappiness=10" in /etc/sysctl.conf but Puppy does not seem to have this directory.
I can find sysfs.conf, can I use this?
All advice gratefully received.
Distribution: looking at VectorLinux 6.0 Light, PCLinuxOS phoenix
Posts: 195
Rep:
Quote:
Originally Posted by starkadder
Hello,
Here's another question (perhaps I should post in the newbies section).
I find that 4G of ram makes the default swappiness value of 60 too high and I usually reduce it to 10.
i assume you're talking a 60mb swap file?
best to use a swap partition and fiddle with size depending what your setup is,
standard used to be up to a max of 2x available ram, which is pretty much irrelevant when you have 4 gigs
I have not used the sysctl command at all , and it may be not included in some Puppies .
"sysctl -a | sort d " gives over 500 lines for kernel parameter settings .
It seems that it should be possible to add something like
" root=/dev/sda1 vm.swappiness=10 " in the grub menu.lst
OR
" sysctl vm.swappiness=10 " OR " sysctl -p "
into /etc/rc.d/rc.local OR into a script in /root/Startup
with a own created /etc/sysctl.conf file as i read the manpage right .
I have not used the sysctl command at all , and it may be not included in some Puppies .
"sysctl -a | sort d " gives over 500 lines for kernel parameter settings .
It seems that it should be possible to add something like
" root=/dev/sda1 vm.swappiness=10 " in the grub menu.lst
OR
" sysctl vm.swappiness=10 " OR " sysctl -p "
into /etc/rc.d/rc.local OR into a script in /root/Startup
with a own created /etc/sysctl.conf file as i read the manpage right .
Yeah..I use sysctl -w vm.swappiness=xx, and put it in /etc/profile.local with Swapfile Manager.
With 4 Gig;
- why use puppy ?
- and why would you care about the swappiness value ?.
1. I would use puppy on any machine, and follow it's development closely.
2. Decreasing the swappiness number inhibits usage, thus speeding up operations if you have sufficient ram. You can test it out by running multiple processes, such as videos, open office, firefox, etc.
I know what swappiness is for - the OP stated 4 Gig RAM. With that I'd expect no swapping - especially on puppy. Hence fiddling with swappiness is pointless.
I know what swappiness is for - the OP stated 4 Gig RAM. With that I'd expect no swapping - especially on puppy. Hence fiddling with swappiness is pointless.
Pointless for you. Some people are running Puppy as a recording studio, doing video editing, etc.
I thought that this topic had quietly gone away. When I made the original post I was experimenting with using Puppy as a main distro and as a result of input from this forum I forgot about fiddling with the swappiness (There was some info on studying the way Puppy works but it seems to have been deleted).
I've now got Slacko, Pupcrypt and Legacy dotted about the place.
In reply to the post by syg00 asking why I use Puppy, it's because I like Puppy and if you think about it, a distro designed to be fast on single core PCs with low RAM will fly on a higher spec machine.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.