Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HDD access issues with certain games. #718

Open
jfmherokiller opened this issue Dec 28, 2024 · 3 comments
Open

HDD access issues with certain games. #718

jfmherokiller opened this issue Dec 28, 2024 · 3 comments

Comments

@jfmherokiller
Copy link

jfmherokiller commented Dec 28, 2024

I don't know the true reason why this is occurring, but when playing games like idle colony, the game will have moments of lag.

This is tested using an NTFS partition on the same HDD, where the lag doesn't seem to occur.

The lag seems to occur when the game seems to change music tracks and the game will have a semiregular solid few second long freeze before it can continue.

This is the disk layout where the NTFS partition is the 7TB one and the btrfs parition is behind it.
image

@Baconing
Copy link

Baconing commented Jan 11, 2025

I am having the same issue. Lots of stuttering and some (most) games are just straight up unplayable.

Moving them over to my SSD works fine and causes no lag. Playing games on Linux on the HDD seems to work fine as well. Issues started cropping up recently, I've had this drive on BTRFS for a year or so now and I'd really only say it's been a problem for the past couple of months.

I am going to try booting into Linux and defragmenting the drive soon to see if that will help (since there's no support for it on WinBtrfs) but considering how games work fine on Linux I have my doubts it will do much.

@Baconing
Copy link

Baconing commented Jan 11, 2025

Hey, I will say that defragmenting the partition on Linux using the btrfs command helped a LOT.

I'm not sure what games you're planning to run off an HDD but Portal and CS2 worked infinitely better. Not only am I getting less stutters but I am also getting much better loading times.

If you can, you should 100% try to defragment your partition on Linux. If you plan on booting into Linux often, you can also enable autodefrag in the filesystem options on Linux (e.g the fstab), but you should definitely try a full defrag for a couple of hours and see if it makes a difference.

I will say it's a bit strange that, for me personally, I didn't seem to have the stuttering issues on Linux and it only occured on Windows. My best guess is that the btrfs driver on linux does some magic that helps make random access on fragmented data more efficient.

tldr: defragment your drive

@jfmherokiller
Copy link
Author

tbh I did that after posting this and it worked good.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants