Difference between revisions of "UIO-4040"
From ESS-WIKI
Jems.cheng (talk | contribs) |
Jems.cheng (talk | contribs) |
||
Line 105: | Line 105: | ||
= RSB-3810 = | = RSB-3810 = | ||
+ | |||
+ | {| border="1" cellpadding="1" cellspacing="1" | ||
+ | |- | ||
+ | | 1 | ||
+ | | SSD | ||
+ | | | ||
+ | #SSD disk write/read/verify pattern | ||
+ | |||
+ | Disk /dev/sda: 119.24 GiB, 128035676160 bytes, 250069680 sectors<br/> Disk model: UIO-4040<br/> Units: sectors of 1 * 512 = 512 bytes<br/> Sector size (logical/physical): 512 bytes / 512 bytes<br/> I/O size (minimum/optimal): 512 bytes / 512 bytes | ||
+ | |||
+ | |- | ||
+ | | 2 | ||
+ | | EEPROM | ||
+ | | # echo -n $'\x06\x05\x04\x03\x02\x01' > /data/test1<br/> # dd if=/data/test1 of=/sys/bus/i2c/devices/3-0050/eeprom<br/> # dd if=/sys/bus/i2c/devices/3-0050/eeprom of=/data/test2 conv=fsync | ||
+ | |} | ||
<headertabs></headertabs> | <headertabs></headertabs> | ||
<div id="gtx-trans" style="position: absolute; left: 7px; top: 1426.2px;"><div class="gtx-trans-icon"> </div> </div> | <div id="gtx-trans" style="position: absolute; left: 7px; top: 1426.2px;"><div class="gtx-trans-icon"> </div> </div> |
Latest revision as of 06:54, 1 August 2024
[edit]
TEST Disk WRITE Speed
$ sync; dd if=/dev/zero of=/dev/sda1 bs=1M count=1024; sync 1024+0 records in 1024+0 records out 1073741824 bytes (1.1 GB) copied, 3.28696 s, '''327 MB/s'''
TEST Disk READ Speed
$ dd if=/dev/sda1 of=/dev/null bs=1M count=1024 1024+0 records in 1024+0 records out 1073741824 bytes (1.1 GB) copied, 0.159273 s, '''6.7 GB/s'''
TEST Disk WRITE Speed
$ sync; dd if=/dev/zero of=/dev/sda1 bs=1M count=1024; sync 1024+0 records in 1024+0 records out 1073741824 bytes (1.1 GB) copied, 3.28696 s, '''327 MB/s'''
TEST Disk READ Speed
$ dd if=/dev/sda1 of=/dev/null bs=1M count=1024 1024+0 records in 1024+0 records out 1073741824 bytes (1.1 GB) copied, 0.159273 s, '''6.7 GB/s'''
TEST Disk WRITE Speed
root@linaro-alip:~# sync; dd if=/dev/zero of=/dev/sda1 bs=1M count=1024; sync 1024+0 records in 1024+0 records out 1073741824 bytes (1.1 GB, 1.0 GiB) copied, 34.7177 s, 30.9 MB/s
TEST Disk READ Speed
root@linaro-alip:~# dd if=/dev/sda1 of=/dev/null bs=1M count=1024 1024+0 records in 1024+0 records out 1073741824 bytes (1.1 GB, 1.0 GiB) copied, 30.8573 s, 34.8 MB/s
1 | SSD |
Disk /dev/sda: 119.24 GiB, 128035676160 bytes, 250069680 sectors |
2 | EEPROM | # echo -n $'\x06\x05\x04\x03\x02\x01' > /data/test1 # dd if=/data/test1 of=/sys/bus/i2c/devices/3-0050/eeprom # dd if=/sys/bus/i2c/devices/3-0050/eeprom of=/data/test2 conv=fsync |