This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

dm365 Fat32 file system Performance

Dear all,

  I found the test U disk, ext3, and 10 times the performance of Fat32 difference, why? Here are my test results
Scene 1.ext3 coexist with the fat32 file system test two (sdb1 is ext3 sdc4 as fat32)

root@/mnt/sdc4# mount
rootfs on / type rootfs (rw)
/dev/root on / type yaffs2 (rw)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
tmpfs on /tmp type tmpfs (rw)
usbfs on /proc/bus/usb type usbfs (rw)
tmpfs on /dev type tmpfs (rw)
devpts on /dev/pts type devpts (rw)
tmpfs on /dev/shm type tmpfs (rw)
/dev/mtdblock4 on /fonts/truetype type yaffs2 (rw)
/dev/scsi/host1/bus0/target0/lun0/part1 on /mnt/sdb1 type ext3 (rw,data=ordered)
/dev/scsi/host2/bus0/target0/lun0/part4 on /mnt/sdc4 type vfat

(rw,sync,fmask=0022,dmask=0022,codepage=cp437,iocharset=iso8859-1)
root@/mnt/sdc4# du /mnt/sdb1/firmware
74484   /mnt/sdb1/firmware
root@/mnt/sdc4# time cp update/firmware /mnt/sdb1
real    0m20.517s
user    0m0.270s
sys     0m13.740s
root@/mnt/sdc4# time cp /mnt/sdb1/firmware ./ 
real    1m14.232s
user    0m0.040s
sys     0m7.970s

Scene 2. A single fat32 file system type test (sdb1 and sdc4 the same as fat32)

root@/mnt/sdc4# mount
rootfs on / type rootfs (rw)
/dev/root on / type yaffs2 (rw)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
tmpfs on /tmp type tmpfs (rw)
usbfs on /proc/bus/usb type usbfs (rw)
tmpfs on /dev type tmpfs (rw)
devpts on /dev/pts type devpts (rw)
tmpfs on /dev/shm type tmpfs (rw)
/dev/mtdblock4 on /fonts/truetype type yaffs2 (rw)
/dev/scsi/host2/bus0/target0/lun0/part4 on /mnt/sdc4 type vfat
(rw,sync,fmask=0022,dmask=0022,codepage=cp437,iocharset=iso8859-1)
/dev/scsi/host3/bus0/target0/lun0/part1 on /mnt/sdb1 type vfat
(rw,sync,fmask=0022,dmask=0022,codepage=cp437,iocharset=iso8859-1)
a.copy big file abort :22.2KB/S
root@/mnt/sdc4# time cp ./update/firmware /mnt/sdb1/

real    30m4.091s
root@/mnt/sdc4# du /mnt/sdb1/firmware
40056   /mnt/sdb1/firmware
b.copy small file
root@/mnt/sdc4# du simhei.ttf
9824    simhei.ttf
root@/mnt/sdc4# time cp ./simhei.ttf /mnt/sdb1/
real    1m49.672s
user    0m0.000s
sys     0m4.660s

 

  • Scene2 shows that file system is mounted in 'sync' option on both partition whereas Scene1 has 'sync' option disabled for part1.

    Can you change the mount option so that all the partitions are in non 'sync' mode.

    Regards,
    Ajay