|04-25-2013, 02:49 AM||#1|
Join Date: Oct 2012
Device: Aura HD, after a train ate my Glo
HOWTO: make your kobo faster by modifying filesystem options
It is documented elsewhere on the internet that by using non-standard ext4 filesystem options, a linux machine -- such as our kobo -- can potentially run its filesystem faster.
So, what options does it run by default?
[root@(none) /]# mount rootfs on / type rootfs (rw) /dev/root on / type ext4 (rw,noatime,nodiratime,barrier=1,data=ordered)
So, I decided to try to change it and share how to.
What you'll need is:
- ftp and telnet/ssh access to the device. The guides on the internet aren't perfect, if you want I can make a better todo (where better means it was easier for me...).
- a cross-compiled tune2fs with dependencies. I'm attaching those files which I scavenged from pre-compiled rmps openmamba repository. You can cross-compile them yourself, find them pre-compiled yourself (7zip opens rpms), or just get them from the zip I'll attach.
1. FTP to your kobo and put the contents of my zip somewhere. Since those files won't be needed after you've finished all steps, I just dumped them to the root of kobo's filesystem.
2. telnet/ssh into your kobo (I used putty) and run the following commands:
chmod +x ./tune2fs # make the file executable ./tune2fs -o journal_data_writeback /dev/mmcblk0p1 # change the journaling mode to what that blog post suggests
mount -o remount,noatime,nodiratime /dev/mmcblk0p1 /
mount -o remount,noatime,nodiratime,barrier=0,nobh /dev/mmcblk0p1 /
So, what's the result?
[root@(none) /]# mount rootfs on / type rootfs (rw) /dev/root on / type ext4 (rw,noatime,nodiratime,barrier=0,nobh,data=writeback)
Is it any faster, I bet you'll ask? Well I can't tell... the book I'm reading definitely feels snappy flipping pages, but is it because of the book, because of the options, or just a placebo? I really don't have any serious tools to make a proper comparison.
Hopefully that helps!
Last edited by sysKin; 04-25-2013 at 07:21 AM.
|04-25-2013, 12:26 PM||#2|
Join Date: Oct 2012
Device: PRS-500, PRS-700, PRS-650, PRS-T1, Kobo Glo, Kobo Aura HD
an alternative way to activate telnet would be nice, for some weird reason i can't get the old one to work after updating to 2.5.1, although it worked fine yesterday.
Probably some mistake on my end and not firmware related. :P
|Thread Tools||Search this Thread|
|Thread||Thread Starter||Forum||Replies||Last Post|
|HOWTO make a Kobo sleep cover from a regular cover for about $2||rwhe||Kobo Reader||35||10-19-2014 04:07 PM|
|How to make the flipping page does faster?||physics@war||iRex||3||06-17-2009 04:25 AM|
|GmailFS - make your Gmail a mountable filesystem||Alexander Turcic||Lounge||2||08-30-2004 03:07 AM|