- Here's a few tips on how to maximize your performance when using an embedded device like Pogoplug, RaspberryPi, etc. *
Flash-Drive I/O
Flash memory is cheap and small. Most even have enough storage space that you can house your ROOTFS
pretty comfortably. The downside is pretty sluggish reads/writes. Fortunately the pogoplug has 256MB's of RAM; By allocating some commonly written directories in RAM we gain speed plus the benefit of less write-cycles overall to our flash-memory. If you don't already know, flash memory has a limited number of writes, so this effectively prolongs the life of your drive/system.
Simply add/replace the appropriate lines to fstab
..
1 2 3 4 5 |
|
I/O Governor
The logic that is behind your drive/disk access can be tweaked reducing lag by appending the following line to /etc/rc.local
1
|
|
Note That I don’t use the noop
scheduler because deadline
can be better as it group small accesses, which improve latency. The default, cfq
is better suited for disk-drives.