Você gostaria de aprender a testar a velocidade do seu disco rígido e RAM no Ubuntu Linux? Neste tutorial, mostraremos todas as etapas necessárias para instalar e testar a velocidade de gravação e leitura de seu HD e memória no Ubuntu Linux.
• Ubuntu Linux versão 18.04
Tutoriais Relacionados:
Nesta página, oferecemos acesso rápido a uma lista de tutoriais relacionados ao Ubuntu Linux.
1. Teste a Velocidade do Disco Rígido no Ubuntu Linux
No console do Linux, use os seguintes comandos para instalar os Pacotes Necessários.
# apt-get update
# apt-get install ioping
Use o seguinte comando para testar a velocidade de gravação do disco rígido.
# ioping -S64M -L -s4k -W -c 10 .
4 KiB >>> . (ext4 /dev/sda3): request=1 time=8.12 ms (warmup)
4 KiB >>> . (ext4 /dev/sda3): request=2 time=203.4 us
4 KiB >>> . (ext4 /dev/sda3): request=3 time=202.5 us
4 KiB >>> . (ext4 /dev/sda3): request=4 time=212.8 us
4 KiB >>> . (ext4 /dev/sda3): request=5 time=299.3 us
4 KiB >>> . (ext4 /dev/sda3): request=6 time=261.1 us
4 KiB >>> . (ext4 /dev/sda3): request=7 time=286.2 us
4 KiB >>> . (ext4 /dev/sda3): request=8 time=287.8 us
4 KiB >>> . (ext4 /dev/sda3): request=9 time=238.3 us
4 KiB >>> . (ext4 /dev/sda3): request=10 time=247.5 us
— . (ext4 /dev/sda3) ioping statistics —
9 requests completed in 2.24 ms, 36 KiB written, 4.02 k iops, 15.7 MiB/s
generated 10 requests in 9.00 s, 40 KiB, 1 iops, 4.44 KiB/s
min/avg/max/mdev = 202.5 us / 248.8 us / 299.3 us / 35.3 us
Em nosso exemplo, a velocidade de gravação do disco rígido IOPING detectada foi: 15,7 MiB / s.
Use o seguinte comando para testar a velocidade de leitura do disco rígido.
# ioping -A -D -s16k -c 10 .
16 KiB <<< . (ext4 /dev/sda3): request=1 time=8.11 ms (warmup)
16 KiB <<< . (ext4 /dev/sda3): request=2 time=187.0 us
16 KiB <<< . (ext4 /dev/sda3): request=3 time=259.2 us
16 KiB <<< . (ext4 /dev/sda3): request=4 time=230.8 us
16 KiB <<< . (ext4 /dev/sda3): request=5 time=245.8 us
16 KiB <<< . (ext4 /dev/sda3): request=6 time=180.1 us
16 KiB <<< . (ext4 /dev/sda3): request=7 time=208.3 us
16 KiB <<< . (ext4 /dev/sda3): request=8 time=178.5 us (fast)
16 KiB <<< . (ext4 /dev/sda3): request=9 time=251.0 us
16 KiB <<< . (ext4 /dev/sda3): request=10 time=198.1 us
— . (ext4 /dev/sda3) ioping statistics —
9 requests completed in 1.94 ms, 144 KiB read, 4.64 k iops, 72.5 MiB/s
generated 10 requests in 9.00 s, 160 KiB, 1 iops, 17.8 KiB/s
min/avg/max/mdev = 178.5 us / 215.4 us / 259.2 us / 30.0 us
Em nosso exemplo, a velocidade de leitura do disco rígido IOPING detectada foi: 72,5 MiB / s
2. Teste a Velocidade da RAM no Ubuntu Linux
No console do Linux, use os seguintes comandos para instalar os Pacotes Necessários.
# apt-get update
# apt-get install ioping
Use o seguinte comando para testar a velocidade de gravação da unidade RAM.
# mkdir -p /tmp/ram
# mount -t tmpfs -o size=512M tmpfs /tmp/ram/
# cd /tmp/ram/
# ioping -S64M -L -s4k -W -c 10 .
4 KiB >>> . (tmpfs tmpfs): request=1 time=5.67 us (warmup)
4 KiB >>> . (tmpfs tmpfs): request=2 time=10.1 us
4 KiB >>> . (tmpfs tmpfs): request=3 time=9.89 us
4 KiB >>> . (tmpfs tmpfs): request=4 time=11.3 us
4 KiB >>> . (tmpfs tmpfs): request=5 time=10.2 us
4 KiB >>> . (tmpfs tmpfs): request=6 time=9.79 us
4 KiB >>> . (tmpfs tmpfs): request=7 time=10.1 us
4 KiB >>> . (tmpfs tmpfs): request=8 time=10.1 us
4 KiB >>> . (tmpfs tmpfs): request=9 time=9.99 us
4 KiB >>> . (tmpfs tmpfs): request=10 time=9.20 us (fast)
— . (tmpfs tmpfs) ioping statistics —
9 requests completed in 90.6 us, 36 KiB written, 99.3 k iops, 388.1 MiB/s
generated 10 requests in 9.00 s, 40 KiB, 1 iops, 4.44 KiB/s
min/avg/max/mdev = 9.20 us / 10.1 us / 11.3 us / 510 ns
Em nosso exemplo, a velocidade de gravação do IOPING RAM detectada foi: 388,1 MiB / s.
Use o seguinte comando para testar a velocidade de leitura da memória RAM.
# mkdir -p /tmp/ram
# mount -t tmpfs -o size=512M tmpfs /tmp/ram/
# cd /tmp/ram/
# ioping -A -s16k -c 10 .
16 KiB <<< . (tmpfs tmpfs): request=1 time=16.8 us (warmup)
16 KiB <<< . (tmpfs tmpfs): request=2 time=16.4 us
16 KiB <<< . (tmpfs tmpfs): request=3 time=15.3 us
16 KiB <<< . (tmpfs tmpfs): request=4 time=21.6 us
16 KiB <<< . (tmpfs tmpfs): request=5 time=15.9 us
16 KiB <<< . (tmpfs tmpfs): request=6 time=16.9 us
16 KiB <<< . (tmpfs tmpfs): request=7 time=21.2 us
16 KiB <<< . (tmpfs tmpfs): request=8 time=16.4 us
16 KiB <<< . (tmpfs tmpfs): request=9 time=17.7 us
16 KiB <<< . (tmpfs tmpfs): request=10 time=17.5 us
— . (tmpfs tmpfs) ioping statistics —
9 requests completed in 158.9 us, 144 KiB read, 56.6 k iops, 884.9 MiB/s
generated 10 requests in 9.00 s, 160 KiB, 1 iops, 17.8 KiB/s
min/avg/max/mdev = 15.3 us / 17.7 us / 21.6 us / 2.13 us
Em nosso exemplo, a velocidade de leitura do IOPING RAM detectada foi: 884,9 MiB / s
Leave A Comment
You must be logged in to post a comment.