1
0
mirror of https://github.com/tiyn/wiki.git synced 2025-04-01 14:37:46 +02:00

linux disk management: added read and write benchmarks

This commit is contained in:
tiyn 2025-02-21 05:53:40 +01:00
parent 2690f17685
commit f97a75958e

View File

@ -8,6 +8,24 @@ are separate entries.
This section focusses on various usages for disk management related topics.
### Benchmarking Data Transfer Rates
Real data transfer rates can easily be checked using the program `pv`.
The following command will create a file on the target drive and show the data transfer rate while
writing.
In the following case `/mnt/usb1/tmp` is the path of the target file.
```sh
cat /dev/zero | pv > /mnt/usb1/tmp
```
After this the read speed can be checked by using the just created temporary file.
The following command will display the read speed.
```sh
cat /mnt/usb1/tmp | pv > /dev/zero
```
### Universally Unique identifier
Universally Unique identifier (UUID) are identifiers for informations on