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
Miki_P98
Miki_P983w ago
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
Pedro
PedroOP3w ago
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
Puhpine
Puhpine3w ago
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?
Pedro
PedroOP3w ago
yes i mean, it works great at 1024 chunks i wouldn't say there was a problem i run a ryzen 7 5700 btw
Chev
Chev3w ago
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'?
Miki_P98
Miki_P983w ago
On I paid… DH uses as many threads as your CPU has *100%
hardester
hardester3w ago
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
hardester
hardester3w ago
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).
Pedro
PedroOP3w ago
after some testing just having the mod installed already made my cpu explode, even disabled
Miki_P98
Miki_P983w ago
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
Pedro
PedroOP3w ago
i mean turning enable rendering to false
Miki_P98
Miki_P983w ago
Then that should only disable most (still not all) of the GPU load, the CPU load should be mostly unaffected by this setting
Pedro
PedroOP3w ago
nvm then
Pedro
PedroOP3w ago
but still, the issue is cpu load anyways pepesad
Pedro
PedroOP3w ago
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
Puhpine
Puhpine3w ago
All I know is that it works fine for me on linux mint with ext4
hardester
hardester3w ago
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.
Pedro
PedroOP3w ago
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

Did you find this page helpful?