[#4121] Test of File-backed Storage Gadget with RAM based file as backing storage failed in BF527-EZKIT 08r1 branch

Document created by Aaronwu Employee on Aug 29, 2013
Version 1Show Document
  • View in full screen mode

[#4121] Test of File-backed Storage Gadget with RAM based file as backing storage failed in BF527-EZKIT 08r1 branch

Submitted By: Vivi Li

Open Date

2008-05-22 05:13:17     Close Date

2008-06-26 23:35:05

Priority:

Medium     Assignee:

Bryan Wu

Status:

Closed     Fixed In Release:

N/A

Found In Release:

N/A     Release:

Category:

N/A     Board:

N/A

Processor:

N/A     Silicon Revision:

Is this bug repeatable?:

Yes     Resolution:

Fixed

Uboot version or rev.:

    Toolchain version or rev.:

08r1-rc8

App binary format:

N/A     

Summary: Test of File-backed Storage Gadget with RAM based file as backing storage failed in BF527-EZKIT 08r1 branch

Details:

 

On BF527-EZKIT 08r1 branch, it takes a long time to format the RAM based backing storage and copy file into it from a linux host PC.

 

When generate bigger file, writing speed slows down.

 

Bellow is the log when generate files of different sizes into the RAM based backing storage.

--

root@adam-desktop2:/mnt# mount -t ext2 -o sync /dev/sdc1 /mnt/usb

root@adam-desktop2:/mnt#

root@adam-desktop2:/mnt#

root@adam-desktop2:/mnt# time dd if=/dev/zero of=/mnt/usb/10m.bin bs=1M count=1

1+0 records in

1+0 records out

1048576 bytes (1.0 MB) copied, 60.6817 seconds, 17.3 kB/s

 

real    1m0.695s

user    0m0.000s

sys     0m0.064s

root@adam-desktop2:/mnt#

root@adam-desktop2:/mnt#

root@adam-desktop2:/mnt# date; time dd if=/dev/zero of=/mnt/usb/10m.bin bs=1M count=2; date

Thu May 22 16:55:41 CST 2008

2+0 records in

2+0 records out

2097152 bytes (2.1 MB) copied, 121.385 seconds, 17.3 kB/s

 

real    2m1.394s

user    0m0.000s

sys     0m0.036s

Thu May 22 16:57:42 CST 2008

root@adam-desktop2:/mnt#

root@adam-desktop2:/mnt#

root@adam-desktop2:/mnt# date; time dd if=/dev/zero of=/mnt/usb/10m.bin bs=1M count=3; date

Thu May 22 16:58:53 CST 2008

3+0 records in

3+0 records out

3145728 bytes (3.1 MB) copied, 333.362 seconds, 9.4 kB/s

 

real    5m33.376s

user    0m0.000s

sys     0m0.004s

Thu May 22 17:04:27 CST 2008

root@adam-desktop2:/mnt#

root@adam-desktop2:/mnt#

root@adam-desktop2:/mnt# rm usb/10m.bin

root@adam-desktop2:/mnt#

root@adam-desktop2:/mnt# date; time dd if=/dev/zero of=/mnt/usb/5m.bin bs=1M count=5; date

Thu May 22 17:05:38 CST 2008

5+0 records in

5+0 records out

5242880 bytes (5.2 MB) copied, 484.968 seconds, 10.8 kB/s

 

real    8m4.972s

user    0m0.000s

sys     0m0.072s

Thu May 22 17:13:43 CST 2008

root@adam-desktop2:/mnt#

--

 

Detailed log of process is attached.

 

Follow-ups

 

--- Bryan Wu                                                 2008-05-29 05:29:57

Should be fixed by add DMA to read fifo operation of BF527

 

Please test again.

 

-Bryan

 

--- Vivi Li                                                  2008-06-27 00:35:07

OK now. Close it.

Thanks!

 

 

 

    Files

    Changes

    Commits

    Dependencies

    Duplicates

    Associations

    Tags

 

File Name     File Type     File Size     Posted By

gadget_storage_ram_test_log.fail    text/plain    12871    Vivi Li

Outcomes