site  contact  subhomenews

Enhancing running on SD

July 04, 2012 — BarryK
Thanks to feedback from mavrothal and others, there have been excellent links to read.

I found these two also:

I am implementing many of the ideas into the next alpha. I have created a new file, /etc/rc.d/BOOTCONSTRAINED, which has various variables to set how the system can be constrained at bootup.

For example, the "VM writeback time" defaults to 5 seconds, I have changed that to 15 (see second link above).

I have changed the default I/O scheduler to 'deadline' (see first link above).

This is in addition to my SD image now having partitions with 4MB alignment. Also, the main filesystem mounts with 'relatime' (only updates access-time of files sometimes).

The next alpha will also use ext2 and swap will be off (even though the SD card has a swap partition).


ext4 without journal
Username: BarryK
I am also considering building the next alpha with ext4 but no journal.

Tags: woof