There are differend ways to test the speed of your disk
here i going show you the fio command
first you need to run the following command
debian
apt install fio
centos
yum install fio
after that you installed a few packages to get fio working
then just run this command
while true ; do echo -n `date +%d-%m-%Y-%H:%M:%S`; echo ; fio --direct=1 --rw=randrw --refill_buffers --norandommap --randrepeat=0 --ioengine=libaio --bs=4k --rwmixread=50 --iodepth=16 --numjobs=16 --runtime=5 --group_reporting --name=4ktest --size=128M | egrep "(read[ ]*:|write[ ]*:)"; echo ; sleep 1 ; done
if it does not give any errors , then just wait until it start to output some nice value's