Raspberry Pi Optimization

Some optimization made to my new Raspberry Pi!

In /boot/cmdline.txt added:

rootflags=commit=120,data=writeback elevator=deadline

Which set at boot time filesystems optimization (I’m using ext4) for journaling (writeback mode, and journal commit set to 120s (5s by default). Also changed the FS scheduler to deadline which is supposed to be less i/o intensive than cfq or noop.

In /etc/fstab options for the rootfs:

  • noatime, to do not set the acces time on files, so less i/o ;
  • barrier=0, to deactivate barriers (better performance, less security for FS corruption) ;
  • data=writeback and commit=120, to keep in relation with the booting options.

In /boot/config.txt:


Which set the minimal possible value of memory allocation of the GPU (cause I’m in headless mode, with no X server) to 16MB.

Android et la partition datadata – Too small!

Avant de commencer, cet article concerne les smartphones rootés.

Sous Android, il y a un truc assez gênant que j’ai constaté du moins avec mon Samsung Galaxy S sous Cyanongen 9 (ICS 4). La partition /datadata est toute petite, elle ne fait que 172Mo, et devinez-quoi ? C’est là que les applications sont installées ! Autant vous dire qu’avec ~40 applications standard c’est remplie ! Alors voici mon astuce :

Continue reading “Android et la partition datadata – Too small!”