设为首页收藏本站
查看: 582|回复: 0

【米尔瑞萨RZ/G2L开发板-试用体验】TF 卡的性能测试

[复制链接]

33

主题

15

回帖

837

积分

管理员

积分
837
米尔小助手1 发表于 2023-6-7 10:22:03 | 显示全部楼层 |阅读模式
这里选取了三款TF卡进行测试


《雷龙发展提供的CS创世SD NAND》
1、写的速度:
  1. 100+0 records in~# time dd if=/mnt/1.txt of=/dev/null bs=1M count=100 iflag=direc
  2. 100+0 records out
  3. 104857600 bytes (105 MB, 100 MiB) copied, 4.17846 s, 25.1 MB/s

  4. real    0m4.259s
  5. user    0m0.001s
  6. sys     0m0.658s
  7. ynct@myir-yg2lx:~# time dd if=tempfile of=/mnt/1.txt bs=1M count=100 conv=fdatas
  8. 100+0 records in
  9. 100+0 records out
  10. 104857600 bytes (105 MB, 100 MiB) copied, 4.24326 s, 24.7 MB/s
复制代码

速度为24.7MB/s
2、读的速度:
  1. root@myir-yg2lx:/# time dd if=/mnt/1.txt of=/dev/null bs=1M count=100 iflag=direct,nonblock
  2. 100+0 records in
  3. 100+0 records out
  4. 104857600 bytes (105 MB, 100 MiB) copied, 1.88799 s, 55.5 MB/s

  5. real    0m1.893s
  6. user    0m0.005s
  7. sys     0m0.062s
复制代码

读的速度达到了55.5MB/s

ScanDisk 16G
插入SD卡后自动识别:
  1. [ 4205.897770] mmc1: new high speed SDHC card at address ef6d
  2. [ 4205.909758] mmcblk1: mmc1:ef6d AFGCC 14.8 GiB
  3. [ 4205.927461]  mmcblk1: p1 p2 p3
复制代码

写的速度为24.7MB/s:
  1. 100+0 records out# time dd if=/mnt/1.txt of=/dev/null bs=1M count=100 iflag=direc
  2. 104857600 bytes (105 MB, 100 MiB) copied, 4.25149 s, 24.7 MB/s

  3. real    0m4.332s
  4. user    0m0.001s
复制代码

读的速度为40MB/s
  1. 100+0 records in~# time dd if=tempfile of=/mnt/1.txt bs=1M count=100 conv=fdatasy
  2. 100+0 records out
  3. 104857600 bytes (105 MB, 100 MiB) copied, 2.62025 s, 40.0 MB/s

  4. real    0m2.625s
  5. user    0m0.001s
  6. sys     0m0.125s
复制代码


Gemaixi512G
插入后自动识别
  1. root@myir-yg2lx:~# [ 4363.624406] mmc1: card ef6d removed
  2. [ 4380.805766] mmc1: new high speed SDXC card at address 2143
  3. [ 4380.812127] mmcblk1: mmc1:2143 APPSD 500 GiB
  4. [ 4380.825030] Alternate GPT is invalid, using primary GPT.
  5. [ 4380.830420]  mmcblk1: p1 p2 p3
复制代码

写入速度24.7MB/s:
  1. [ 4380.8304g2lx:~# time dd if=tempfile of=/mnt/1.txt bs=1M count=100 conv=fdatasync
  2. 100+0 records in1.txt of=/dev/null bs=1M count=100 iflag=direc
  3. 100+0 records out
  4. 104857600 bytes (105 MB, 100 MiB) copied, 4.24071 s, 24.7 MB/s

  5. real    0m4.323s
  6. user    0m0.001s
复制代码

读取39MB/s:
  1. syst@myir-yg2lx:~# time dd if=/mnt/1.txt of=/dev/null bs=1M count=100 iflag=direct,nonblock
  2. 100+0 records in~# time dd if=tempfile of=/mnt/1.txt bs=1M count=100 conv=fdatasy
  3. 100+0 records out
  4. 104857600 bytes (105 MB, 100 MiB) copied, 2.66665 s, 39.3 MB/s

  5. real    0m2.671s
  6. user    0m0.001s
  7. sys     0m0.130s
复制代码

终上所述TF卡的写入速度均为24.7MB/s,但是读取的速度还是以SD NAND速度为最快,达到了55.5MB/S。

回复

使用道具 举报

您需要登录后才可以回帖 登录

本版积分规则

Archiver|手机版|小黑屋|米尔科技论坛   

GMT+8, 2024-5-12 03:43 , Processed in 0.146069 second(s), 23 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表