LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices


Reply
  Search this Thread
Old 03-11-2017, 11:53 AM   #1
Maria_Stewart
LQ Newbie
 
Registered: Mar 2017
Posts: 4

Rep: Reputation: Disabled
Which scheduler for very old notebook.


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?

Thanks in advance.
 
Old 03-12-2017, 06:16 PM   #2
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,119

Rep: Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120
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
 
1 members found this post helpful.
Old 03-13-2017, 02:47 PM   #3
Maria_Stewart
LQ Newbie
 
Registered: Mar 2017
Posts: 4

Original Poster
Rep: Reputation: Disabled
Thank you for the advice. I'll check it.
 
Old 03-13-2017, 07:02 PM   #4
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,119

Rep: Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120
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.
 
Old 03-14-2017, 01:08 AM   #5
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
Quote:
Originally Posted by syg00 View Post
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:
 
Old 03-14-2017, 02:03 AM   #6
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,119

Rep: Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120
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.
 
Old 03-14-2017, 03:35 PM   #7
Maria_Stewart
LQ Newbie
 
Registered: Mar 2017
Posts: 4

Original Poster
Rep: Reputation: Disabled
@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.
 
Old 03-14-2017, 03:45 PM   #8
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
Quote:
Originally Posted by Maria_Stewart View Post
@ondogo: Actually... :P It works quite good with Openbox + fbpanel.
i'm impressed!
 
Old 03-14-2017, 04:13 PM   #9
Maria_Stewart
LQ Newbie
 
Registered: Mar 2017
Posts: 4

Original Poster
Rep: Reputation: Disabled
I'm impressed too, I was sure I'd be able to use some ncurses-based applications w/o X at most.

Last edited by Maria_Stewart; 03-14-2017 at 04:15 PM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
HP Notebook, VISTA, wireless DSL. UBUNTU "Unable to resolve host notebook" uncledunc Linux - Laptop and Netbook 7 02-03-2009 12:19 PM
notebook display not maximised acer notebook assettt Linux - Newbie 5 09-09-2006 05:20 PM
Any Linux laptop/notebook gamers out there willing to recommend laptop/notebook? RHLinuxGUY Linux - Laptop and Netbook 2 07-11-2006 07:50 PM
PC notebook or Mac Notebook? thebover Linux - General 8 10-08-2004 03:02 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel

All times are GMT -5. The time now is 01:07 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration