01-19-2011, 02:52 PM | #1 |
Linux FTW
Posts: 1
Karma: 10
Join Date: Jan 2011
Location: Mexico City
Device: K3 3G
|
(Linux) Changing scheduler to noop/deadline for optimizing IO?
I have been setting noop as my scheduler for a while, and there's a minimal (some would say negligible) performance improvement overall. But the reason I'm using it is because it should also help in minimizing reads/writes to the storage card, which should help with it's life expectancy while also (indirectly) improving battery life.
Here are the tests I performed on the built-in memory card of my k3: Code:
# mntroot rw # cat /sys/block/mmcblk0/queue/scheduler noop [anticipatory] deadline cfq # time dd if=/dev/zero of=/mnt/us/test.bin bs=1M count=10 10+0 records in 10+0 records out real 0m 1.41s user 0m 0.00s sys 0m 0.23s # echo noop > /sys/block/mmcblk0/queue/scheduler # time dd if=/dev/zero of=/mnt/us/test.bin bs=1M count=10 10+0 records in 10+0 records out real 0m 1.10s user 0m 0.00s sys 0m 0.19s What I am trying to figure out now is how to set it every time the kindle is restarted (short of recompiling the kernel). I tried adding it as a @reboot crontab like so: Code:
@reboot mntroot rw ; echo noop > /sys/block/mmcblk0/queue/scheduler ; mntroot ro Just thought I would share! Thanks for making it easy to break my k3 out of jail. Last edited by bkuri; 01-19-2011 at 02:59 PM. Reason: grammer |
Thread Tools | Search this Thread |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Optimizing images for use in Kindle | cathyWeeks | Amazon Kindle | 65 | 01-15-2011 03:39 AM |
The deadline is approaching & I have no time! | Chikwako | Astak EZReader | 10 | 06-11-2010 08:55 PM |
Anyone have optimizing tips for PDF files? | stevet | 4 | 03-05-2010 12:40 AM | |
Pocket PRO Gift Pack deadline extended | Robertb | Astak EZReader | 0 | 12-11-2009 03:41 PM |
For those that missed the deadline last time - PDF to Text Convertor | TetraKM | Deals and Resources (No Self-Promotion or Affiliate Links) | 1 | 10-12-2008 08:09 PM |