【米尔瑞萨RZ/G2L开发板-试用体验】TF卡读写测试
<div class='showpostmsg'><p>这里选取了三款TF卡进行测试<br /> </p>
<p># 《雷龙发展提供的CS创世SD NAND》</p>
<p>1、写的速度:</p>
<p>```<br />
100+0 records in~# time dd if=/mnt/1.txt of=/dev/null bs=1M count=100 iflag=direc<br />
100+0 records out<br />
104857600 bytes (105 MB, 100 MiB) copied, 4.17846 s, 25.1 MB/s</p>
<p>real 0m4.259s<br />
user 0m0.001s<br />
sys 0m0.658s<br />
ynct@myir-yg2lx:~# time dd if=tempfile of=/mnt/1.txt bs=1M count=100 conv=fdatas<br />
100+0 records in<br />
100+0 records out<br />
104857600 bytes (105 MB, 100 MiB) copied, 4.24326 s, 24.7 MB/s<br />
```</p>
<p>速度为24.7MB/s<br />
2、读的速度:</p>
<p>```<br />
root@myir-yg2lx:/# time dd if=/mnt/1.txt of=/dev/null bs=1M count=100 iflag=direct,nonblock<br />
100+0 records in<br />
100+0 records out<br />
104857600 bytes (105 MB, 100 MiB) copied, 1.88799 s, 55.5 MB/s</p>
<p>real 0m1.893s<br />
user 0m0.005s<br />
sys 0m0.062s<br />
```</p>
<p>读的速度达到了55.5MB/s</p>
<p># ScanDisk 16G</p>
<p>插入SD卡后自动识别:</p>
<p>```<br />
[ 4205.897770] mmc1: new high speed SDHC card at address ef6d<br />
[ 4205.909758] mmcblk1: mmc1:ef6d AFGCC 14.8 GiB<br />
[ 4205.927461] mmcblk1: p1 p2 p3<br />
```</p>
<p>写的速度为24.7MB/s:</p>
<p>```<br />
100+0 records out# time dd if=/mnt/1.txt of=/dev/null bs=1M count=100 iflag=direc<br />
104857600 bytes (105 MB, 100 MiB) copied, 4.25149 s, 24.7 MB/s</p>
<p>real 0m4.332s<br />
user 0m0.001s<br />
```</p>
<p>读的速度为40MB/s</p>
<p>```<br />
100+0 records in~# time dd if=tempfile of=/mnt/1.txt bs=1M count=100 conv=fdatasy<br />
100+0 records out<br />
104857600 bytes (105 MB, 100 MiB) copied, 2.62025 s, 40.0 MB/s</p>
<p>real 0m2.625s<br />
user 0m0.001s<br />
sys 0m0.125s<br />
```</p>
<p># Gemaixi512G</p>
<p>插入后自动识别</p>
<p>```<br />
root@myir-yg2lx:~# [ 4363.624406] mmc1: card ef6d removed<br />
[ 4380.805766] mmc1: new high speed SDXC card at address 2143<br />
[ 4380.812127] mmcblk1: mmc1:2143 APPSD 500 GiB<br />
[ 4380.825030] Alternate GPT is invalid, using primary GPT.<br />
[ 4380.830420] mmcblk1: p1 p2 p3<br />
```</p>
<p>写入速度24.7MB/s:</p>
<p>```<br />
[ 4380.8304g2lx:~# time dd if=tempfile of=/mnt/1.txt bs=1M count=100 conv=fdatasync<br />
100+0 records in1.txt of=/dev/null bs=1M count=100 iflag=direc<br />
100+0 records out<br />
104857600 bytes (105 MB, 100 MiB) copied, 4.24071 s, 24.7 MB/s</p>
<p>real 0m4.323s<br />
user 0m0.001s<br />
```</p>
<p>读取39MB/s:</p>
<p>```<br />
syst@myir-yg2lx:~# time dd if=/mnt/1.txt of=/dev/null bs=1M count=100 iflag=direct,nonblock<br />
100+0 records in~# time dd if=tempfile of=/mnt/1.txt bs=1M count=100 conv=fdatasy<br />
100+0 records out<br />
104857600 bytes (105 MB, 100 MiB) copied, 2.66665 s, 39.3 MB/s</p>
<p>real 0m2.671s<br />
user 0m0.001s<br />
sys 0m0.130s<br />
```</p>
<p>终上所述TF卡的写入速度均为24.7MB/s,但是读取的速度还是以SD NAND速度为最快,达到了55.5MB/S。<br />
</p>
</div><script> var loginstr = '<div class="locked">查看本帖全部内容,请<a href="javascript:;" style="color:#e60000" class="loginf">登录</a>或者<a href="https://bbs.eeworld.com.cn/member.php?mod=register_eeworld.php&action=wechat" style="color:#e60000" target="_blank">注册</a></div>';
if(parseInt(discuz_uid)==0){
(function($){
var postHeight = getTextHeight(400);
$(".showpostmsg").html($(".showpostmsg").html());
$(".showpostmsg").after(loginstr);
$(".showpostmsg").css({height:postHeight,overflow:"hidden"});
})(jQuery);
} </script><script type="text/javascript">(function(d,c){var a=d.createElement("script"),m=d.getElementsByTagName("script"),eewurl="//counter.eeworld.com.cn/pv/count/";a.src=eewurl+c;m.parentNode.insertBefore(a,m)})(document,523)</script> <p>跟着楼主学习RZ/G2L开发板的TF卡读写测试</p>
页:
[1]