Test disk read/write speed

smic717394

Dabbler
Joined
Apr 27, 2022
Messages
29
<div class="bbWrapper">Hi, is there any way to test the read/write speed of individual disks. I remember some time ago, I did find a command but I cant remember it :( any way I tried the following 2 commands. the dd gives me some wrong numbers, I have 2 2.5&quot; regular hdd and apparently they are over 400MB/s.<br /> <br /> diskinfo -ctv /dev/ada0<br /> also <br /> dd if=/dev/zero of=/mnt/pool/test.dd bs=1M count=1024; sync</div>
 

NugentS

MVP
Joined
Apr 16, 2020
Messages
2,947
<div class="bbWrapper">fio? Although I suspect that tests the speed of a pool rather than individual disks</div>
 

smic717394

Dabbler
Joined
Apr 27, 2022
Messages
29
<div class="bbWrapper">fan i run disk test with fio ? how do i test the boot-pool?</div>
 

NugentS

MVP
Joined
Apr 16, 2020
Messages
2,947
<div class="bbWrapper">Why would you want to test the boot pool?</div>
 

smic717394

Dabbler
Joined
Apr 27, 2022
Messages
29
<div class="bbWrapper">I know, strange, I moved the boot-pool from a ssd to a nvme connected via an adapter to a usb3 on the mb, and I´m trying to figure out it is a bad idea or the adapter its doing its job. I´m still playing with it trying to find the best configuration, before I install the good drives and go live,<br /> <br /> The best command i found its diskinfo -t /dev/adaX its not 100% but to get an idea. this are the values I get.<br /> <br /> <br /> 2.5&quot; HDD 1<br /> Transfer rates:<br /> outside: 102400 kbytes in 1.152412 sec = 88857 kbytes/sec<br /> middle: 102400 kbytes in 1.356927 sec = 75465 kbytes/sec<br /> inside: 102400 kbytes in 2.283349 sec = 44846 kbytes/sec<br /> 2.5&quot; HDD 2<br /> Transfer rates:<br /> outside: 102400 kbytes in 1.014331 sec = 100953 kbytes/sec<br /> middle: 102400 kbytes in 1.236002 sec = 82848 kbytes/sec<br /> inside: 102400 kbytes in 1.981105 sec = 51688 kbytes/sec<br /> <br /> NVME on usb3 addapter<br /> Transfer rates:<br /> outside: 102400 kbytes in 0.445237 sec = 229990 kbytes/sec<br /> middle: 102400 kbytes in 0.445095 sec = 230063 kbytes/sec<br /> inside: 102400 kbytes in 0.448314 sec = 228411 kbytes/sec<br /> <br /> SSD on Sata3<br /> Transfer rates:<br /> outside: 102400 kbytes in 0.203054 sec = 504299 kbytes/sec<br /> middle: 102400 kbytes in 0.198788 sec = 515122 kbytes/sec<br /> inside: 102400 kbytes in 0.204655 sec = 500354 kbytes/sec</div>
 

NugentS

MVP
Joined
Apr 16, 2020
Messages
2,947
<div class="bbWrapper">Its a boot pool. Unless its taking a stupid amount of time to boot (like all night), who cares? Those speeds look absolutely fine to me</div>
 

joeschmuck

Old Man
Moderator
Joined
May 28, 2011
Messages
10,996
<div class="bbWrapper">A boot pool need not be very fast. While it will make a difference during a software upgrade, normally you only see slow speeds when dealing with typical USB Flash Drives, but you are not using a typical generic Flash Drive.<br /> <br /> Looking at the drive stats you posted, looks like the two 2.5&quot; drives are probably on a USB connector (they seem slow). <b>Make sure you are not using SMR drives.</b> The NVMe drive is very fast, just over half as fast as the SATA drive. So it's definitely fast enough.</div>
 

smic717394

Dabbler
Joined
Apr 27, 2022
Messages
29
<div class="bbWrapper"><blockquote data-attributes="member: 101" data-quote="joeschmuck" data-source="post: 698006" class="bbCodeBlock bbCodeBlock--expandable bbCodeBlock--quote js-expandWatch"> <div class="bbCodeBlock-title"> <a href="/community/goto/post?id=698006" class="bbCodeBlock-sourceJump" rel="nofollow" data-xf-click="attribution" data-content-selector="#post-698006">joeschmuck said:</a> </div> <div class="bbCodeBlock-content"> <div class="bbCodeBlock-expandContent js-expandContent "> A boot pool need not be very fast. While it will make a difference during a software upgrade, normally you only see slow speeds when dealing with typical USB Flash Drives, but you are not using a typical generic Flash Drive.<br /> <br /> Looking at the drive stats you posted, looks like the two 2.5&quot; drives are probably on a USB connector (they seem slow). <b>Make sure you are not using SMR drives.</b> The NVMe drive is very fast, just over half as fast as the SATA drive. So it's definitely fast enough. </div> <div class="bbCodeBlock-expandLink js-expandLink"><a role="button" tabindex="0">Click to expand...</a></div> </div> </blockquote><br /> The 2.5&quot; are connected to the sata 2 and they just old regular laptop hdd so 80MB/s its ok. I had 4 x WD red 4TB that I had to sell, because they where SMR so I´m buying the WD red plus that apparently are CMR.</div>
 

smic717394

Dabbler
Joined
Apr 27, 2022
Messages
29
<div class="bbWrapper"><blockquote data-attributes="member: 101722" data-quote="NugentS" data-source="post: 698002" class="bbCodeBlock bbCodeBlock--expandable bbCodeBlock--quote js-expandWatch"> <div class="bbCodeBlock-title"> <a href="/community/goto/post?id=698002" class="bbCodeBlock-sourceJump" rel="nofollow" data-xf-click="attribution" data-content-selector="#post-698002">NugentS said:</a> </div> <div class="bbCodeBlock-content"> <div class="bbCodeBlock-expandContent js-expandContent "> Its a boot pool. Unless its taking a stupid amount of time to boot (like all night), who cares? Those speeds look absolutely fine to me </div> <div class="bbCodeBlock-expandLink js-expandLink"><a role="button" tabindex="0">Click to expand...</a></div> </div> </blockquote>Jejeje.. not too worried about the speed of it for the boot time, but I do try to stress is to test the adapter, to check if it gives io error. Boot time as 250MB/s its about 30sec</div>
 
Top