I have two hard drives in my system one SSD for the OS and a HDD for data storage.
After a fresh restart I check the reading speed of my HDD via:
sudo hdparm -t /dev/sdb
and I get quite varying results (between 15MB/s and 200MB/s) for it.
After I start a python program which performs calculations on the HDD the speed drops extremely (even after I stop the program).hdparm -t /dev/sdb stops working and is not giving any results back.
From then on also copying files on or from the HDD is very slow (or not working).
I am using ubuntu 18.04 LTS and the Drive Settings show me the HDD is mounted by NTFS
I don't suspect my python code to be the problem since everything runs fine when I pull the data onto the SSD.
It would be very helpful if you could give me advice how to find the source of the problem here!