Ieri nel tentativo di ottimizzare la velocità di scrittura ho scoperto una cosa per niente piacevole: pare che la SD FAT sia anche 10 (dieci!) volte più veloce della SD ext. Il che non ha senso, la scheda è la stessa!! Testato sia con kernel Plenus v2 che con kernel stock. La mia ext è ext3 e l'ho montata sia come ext4 che nativamente come ext3 appunto.
Ora avrei bisogno che chi di voi gentili signori ha partizionato la scheda SD si armasse di "adb" e da "adb shell" eseguisse i seguenti comandi:
codice:
su
sync; time (busybox dd if=/dev/zero of=/sdcard/test.dat bs=1M count=25; sync)
sync; time (busybox dd if=/dev/zero of=/sd-ext/test.dat bs=1M count=25; sync)
per più volte (su ovviamente solo una volta) e poi posti qui i risultati migliori. Questi sono i miei:
SD FAT:
codice:
bash-4.1# sync; time (busybox dd if=/dev/zero of=/sdcard/test.dat bs=1M count=25; sync)
25+0 records in
25+0 records out
26214400 bytes (25.0MB) copied, 1.924622 seconds, 13.0MB/s
real 0m2.061s
user 0m0.016s
sys 0m0.656s
SD EXT:
codice:
bash-4.1# sync; time (busybox dd if=/dev/zero of=/sd-ext/test.dat bs=1M count=25; sync)
25+0 records in
25+0 records out
26214400 bytes (25.0MB) copied, 19.734986 seconds, 1.3MB/s
real 0m22.292s
user 0m0.000s
sys 0m0.734s
No, perché non avete capito che qui aggiorno S2SD e finisce che faccio fare a tutti la seconda partizione come FAT, altro che ext del cavolo. Ovviamente i formati ext rimarranno, però.. Sono scioccato!