On 2018-06-15, Alexandre Ratchov <[email protected]> wrote:
> On Fri, Jun 15, 2018 at 09:10:44AM +0200, Maximilian Pichler wrote:
>> 
>> For the raw device (rsd1c):
>> $ doas cat /dev/rsd1c | pv -bra -Ss500m | sha1
>>  500MiB [25.5MiB/s] [25.5MiB/s]
>> ca17bdb9a657bbcf654a60057861be8fe02df0b1
>> 
>
> I don't understand above commads. If you do:
>
> $ dd if=/dev/rsd1c of=/dev/null bs=1m
>
> then hit ^C, the command will display the throughput with 1MB
> reads. They should be faster than file reads, as you expect.
>
>

pv is from ports/sysutils/pv, it displays a progress bar and transfer
rate, however it's not useful for speed tests, pv itself can result in
slow speeds .. (for example on /dev/zero dd with default options is
~10x the speed of pv).


Reply via email to