Talk:Debian Jessie on XO

From OLPC
Revision as of 18:43, 16 January 2017 by Quozl (talk | contribs)
Jump to: navigation, search

last?

In the History page,

2015-11-26T07:01:56 Quozl (Talk | contribs) (6,793 bytes) (using last instead of ext, ...

last is a synonym for ZFS? Another file system? A typo? Thanks, ... Peasthope 05:31, 23 December 2016 (UTC)

Nothing to do with filesystem type; firmware detects that automatically. No, not a typo. Did you look at the difference between revisions to understand the edit? ext and last are device name alias in the firmware, see bootparam.fth for how last is defined. --Quozl 18:33, 23 December 2016 (UTC)
Thanks. I was tired and thinking file systems rather than Forth.

Ext4 on an SD Card

Instructions include "An SD card ... formatted to ext4 ...". According to most discussions, best current practice with flash storage is ext4 without journaling. Options for file system creation and mounting here.
http://fenidik.blogspot.ca/2010/03/ext4-disable-journal.html
Any additional tips? Thanks ....Peasthope 18:04, 16 January 2017 (UTC)

Disabling the journal will damage your filesystem when the XO-1 runs out of battery power and is not plugged in. Batteries made in 2007 or 2008 should be very ready to fail. If you need I/O performance, you should not be using an XO-1. The XO-1 design is from 2006. A Raspberry Pi 3 outperforms an XO-1 by an order of magnitude or two. Our kernel is after that blog post by three years, (2013 vs 2010), so I don't think the post is of use except to suggest things to test if a system is I/O bandwidth constrained. You must have a performance measurement method, and use it before and after the change, to see what the effect is. So what is your measurement method? The best way to reduce I/O delay on the XO-1 is to remove I/O demand; size the application demand to fit the available memory (256 MB), so that enough of the filesystem metadata is in cache. Exceed the available memory and the system will begin to discard and then re-read metadata. To reduce the application demand, avoid running programs that are not needed, and do not run a web browser. Hardly practical with today's focus on web sites, but I've no idea what your overall use for your XO-1 is. --Quozl 21:46, 16 January 2017 (UTC)