Very High Cpu Usage In Linux mostly when generating chunks
I dual boot windows, and in windows, DH runs fairly well, but on linux, my cpu usage goes through the roof. My distro is Arch linux Cachy Os, i am using hyprland window manager if that makes any difference, running on jdk temurin 21. My guess is that it has something to do with btrfs file system, although i can't test if ext4 would have the same issue, i have tried to disable CoW(Copy on Write) but it didn't make a difference, if it did, it was minimal. I use and AMD gpu btw
19 Replies
What CPU load you have in DH settings?
And what do you want to achieve?
Windows bad thread management might limit/reduce the CPU usage below what would be expected if I had to guess
it runs very well in windows
i can run on "i paid for the whole cpu" with no problem whatsoever
in linux, even on balanced cpu load, i get cracked 99% cpu usage when moving around
Sounds like both windows and linux are having problems
Windows should use more cpu and linux should use less
Do you have the same amount of ram allocated on both OSes?
yes
i mean, it works great at 1024 chunks
i wouldn't say there was a problem
i run a ryzen 7 5700 btw
i figured 'i paid for the whole cpu' is designed to run at a 99% cpu usage as much as it can
how many threads is distant horizons configured to use with 'i paid for the whole cpu'?
On I paid… DH uses as many threads as your CPU has
*100%
I paid for the whole CPU (uses 99% of the CPU)Good user, I believe you're missing 1% of your CPU that you've paid 100% for... /j
Well it depends. Under extreme load (like running Distant Horizons on max settings), there can be differences in performance profile between various Linux kernels. Some may work better for system responsiveness under load (like real-time kernel) while others don't (hardened kernel if I recall).
after some testing
just having the mod installed already made my cpu explode, even disabled
What do you mean disabled?
You can't really disable DH in settings, you can hide it from your sigth by disabling rendering and manuall set the thread amount to 1 and so on, but it will alwasy be doing something
i mean turning enable rendering to false
Then that should only disable most (still not all) of the GPU load, the CPU load should be mostly unaffected by this setting
nvm then
i am suspicious on btrfs, but i have not found anyone on that could test this
cuz btrfs has some issues with constantly updated files (sqlite)
although i disabled the Copy on write, or at least i think i do, i see no diference in cpu usage
All I know is that it works fine for me on linux mint with ext4
No way for me to test as my only PC with (Arch) Linux installed is currently broken. That one uses XFS as the primary file system.
i see
i'll try and make a partition in ext 4 in this same system, probably somewhere next week i'll come with my conclusions