mounting jffs2
Sergei Sharonov
sergei.sharonov at halliburton.com
Thu Apr 14 16:39:14 EDT 2005
Hi
> Believe me, if you'll write in 4K chunks, you'll effect much better
> JFFS2 performance.
200 MByte file written on a 256 MByte NAND in 4096 byte chunks instead of 1024.
It is somewhat better (?) but still unusable. Mount time is still at 1m31s,
but any operation after that including ls or touch are 10-14 minutes and
have inconsistent real time, sys is ~6m25s.
BTW, does it make difference if I run test on pristine, freshly
erased flash or after I created and deleted a few large files?
# time mount /mnt/flash/
real 1m31.304s
user 0m0.020s
sys 1m31.199s
# time touch /mnt/flash/test1
real 14m23.449s
user 0m0.010s
sys 6m24.856s
# umount /mnt/flash/
# time mount /mnt/flash/
real 1m31.306s
user 0m0.010s
sys 1m31.219s
# time touch /mnt/flash/test1
real 10m48.944s
user 0m0.000s
sys 6m25.156s
#
# umount /mnt/flash/
# time mount /mnt/flash/
real 1m31.300s
user 0m0.010s
sys 1m31.239s
# time touch /mnt/flash/test1
real 14m30.499s
user 0m0.000s
sys 6m24.746s
#
I will try next 10 x 20 MByte files but am afraid there is no
quick fix here.
Sergei Sharonov
More information about the linux-mtd
mailing list