ubifs, ubiblk(formatted with vfat) and yaffs2 test.

KeunO Park lastnite at gmail.com
Fri May 30 02:01:54 EDT 2008


hello guys. I am a newbie here.

I am working in embedded device. and I handled some kind of flash
filesystem like yaffs2, jffs2, rfs on ONENAND/NAND and tffs on MDOC.
you know, in territory of mobile phone, mass storage class func
becomes basic function.

but well known linux flash filesystems do not support this function
except ubiblk.
(ok. rfs support MSC. but this is not opensourced.)
I need both ubifs(for system partition) and ubiblk(for user
partition). so I tested ubifs and ubiblk.

before you see this result, remember this is just the report of my test.


some days ago, I tested the performance of ubifs, ubiblk and yaffs2.
here is the result.

[test board]
cpu:s3c2448 400MHz sdram:64MB nand:128MB

the copying file is 10MB size and created with /dev/urandom.
so I think that there may be some disadvantage to ubifs using compressor.

[write test]

yaffs2
write: 10.20s, 12.09s, 12.24s avg:11.51s (868KB/s)
load avg right after copy&sync: 0.03 -> 0.11

ubifs (LZO)
write: 14.45s, 14.40s, 14.45s avg:14.43s (693KB/s)
load avg right after copy&sync: 0.03 -> 0.53

ubifs (ZLIB)
write : 27.17s, 27.18s, 27.21s avg:27.18 (367KB/s)
load avg right after copy&sync: 0.03 -> 0.80

ubifs (No Compression)
write: 6.69s, 10.90s, 10.98s avg:9.52s (1050KB/s)
load avg right after copy&sync: 0.03 -> 0.43

ubiblk(vfat mount)
read: 0.46s, 0.47s, 0.46s avg: 0.463s (21.5MB/s)
write: 12.13s, 14.95s, 12.61s avg:13.23s (755KB/s)
load avg right after copy&sync: 0.02 -> 0.31

With above result, it seems that there is some overload in ubi.


PS: I am not good at english. and english is not my native language.
so plz understand my wierd sentence. :-)



More information about the linux-mtd mailing list