Hey guys, when I simultaneously write to my hdd (steam downloading a game) and reading (watching a video file), the video file stutters. the stuttering disappears after the writing from steam stops. Is this a sign of bad hdd health or expected behavior?
OS: Arch Linux
FS: Ext4
HDD is a 4-5 year old WD Blue-grade model by Hitachi I think.
This isn’t particularly abnormal, since hard drives have a head that has to physically move around the drive it can only do one rhing at a time.
My guess is that drive’s firmware is prioritising the big write task (steam download) and leaving the video reading till the last second, causing stuttering.
That shouldn’t really happen on decent drives though unless its a slow (5400RPM) drive and the video is properly high def (over 1080p) and/or uncompressed.
I wouldn’t worry too much but backups are always a good thing to have. Big hard drives are relatively cheap these days.
Maybe try buffering the video? Like, start it and hit pause for a few seconds for the system to buffer some video, then let the computer switch between Reading and writing?
I genuinely thought the OS would scale back in write operations in favour of reads, and I’m glad your internet is fast enough that steam can unpack&write to full capacity
People have already mentioned this. The hard disk has a mechanical read and write head. It is responsible for reading and writing. Because you read and write two distinct files this means that the one read and write head on a platter might have to be redirected in quick succession between the two physical places where the two files are located. This might induce stutter. Because you don’t seem to have a good grasp on the inner workings of HDDs here is some educational content: