Linux - KernelThis forum is for all discussion relating to the Linux kernel.
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.
Hi guys, I've got a question.
I am installing Gentoo. Could you please recommend me a proper i/o scheduler for a very old notebook? Pentium 2 266MHz, 64MB of memory and some slow, 3,25GB HDD. I'm not sure if CFQ wouldn't be too "heavy" for this hardware. On the other hand, won't no-op and deadline make i/o operations slower, as it is HDD? Does anybody have some suggestions?
I've rarely bothered with the scheduler - and when I did, I had a hard time proving it made any difference. However on one particularly sluggish laptop I upped the writeback delay from 5 to 15 seconds with positive effect. Just echo "500" to set it back - or reboot.
Code:
echo 1500 | sudo tee /proc/sys/vm/dirty_writeback_centisecs
Another thing I just thought of.
Turn off any indexing software (desktop search) that may be running - on gnome it's tracker, kde has similar. Not sure about the lighter DE's - one of which I guess you'll be using.
Even though they purport to run at low I/O priority in the background, I found tracker caused significant slowdown on (all) disk I/O - also caused cache purging. I turn it off on my normal systems nowadays.
And if it was me I'd make sure I used a light browser - I did some kernel tracing of disk i/O (same sluggish laptop), and both Firefox and Chrome hammer ~/.cache on disk. At one point I even moved .cache to a tmpfs to stop the physical I/O.
Turn off any indexing software (desktop search) that may be running - on gnome it's tracker, kde has similar. Not sure about the lighter DE's - one of which I guess you'll be using.
somehow i doubt this machine is running a gui at all, let alone a DE :lol:
Yeah, you're no doubt correct.
Makes you wonder why gentoo at all - I don't reckon you'd want to be compiling anything on that. I gave up on it (gentoo) years ago for Arch.
@syg00 I don't use any indexing software, I am aware it's unnecessary on such hardware. Also, on gentoo I have like ~7MB of RAM used w/o X and ~24MB with Openbox run. I doubt it'd be possible using Arch. I compiled most of the system on my main computer, then copied it to this one and configured :P.
@ondogo: Actually... :P It works quite good with Openbox + fbpanel.
Last edited by Maria_Stewart; 03-14-2017 at 03:37 PM.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.