zen-kernel / zen-kernel

Zen Patched Kernel Sources
Other
2.02k stars 131 forks source link

linux-zen 5.6.5 have a performance issue #169

Closed alium closed 4 years ago

alium commented 4 years ago

Hi, I have been using linux-zen for some time now. thank you for it. After the last update 5.6.4 -> 5.6.5, linux-zen encountered performance issues. The bug was already in 5.6.5-zen1, but zen3 has the same problem. The error is reflected for example in the game Cities: Skylines, where loading the game takes almost 6 minutes instead of the usual 1:25 min. The whole game then lags.

Unfortunately, I didn't find any bug or any announcement in dmesg. After the downgrade to 5.6.4 the bug is gone, so I tested Archlinux's linux-5.6.5, where the bug does not occur. So it is probably in some patch for linux-zen-5.6.5.

alium commented 4 years ago

dmesg: linux-zen.txt linux.txt

lspci: lscpi.txt

some screenshots: bug normal

linux-zen 5.6.5.zen3-1 mesa 20.0.4-2 libdrm 2.4.101-1 linux-firmware 20200316.8eb0b28-1

heftig commented 4 years ago

linux-zen 5.6.4.zen1-1 to 5.6.5.zen1-1 contains the same changes as linux 5.6.4.arch1-1 to 5.6.5.arch1-1.

heftig commented 4 years ago

5.6.5.zen2-1 added more stuff, though. Are you sure you mean zen1 and not zen2?

alium commented 4 years ago

sorry, you are right, I tested zen2 (has this performace bug and another shutdown problem)

[2020-04-19T11:59:22+0200] [ALPM] upgraded linux-zen (5.6.4.zen1-1 -> 5.6.5.zen2-1) [2020-04-19T11:59:25+0200] [ALPM] upgraded linux-zen-headers (5.6.4.zen1-1 -> 5.6.5.zen2-1)

heftig commented 4 years ago

@damentz Sounds like the fragmentation fix hurts a lot.

damentz commented 4 years ago

@heftig I reverted the patch, can you push out a new release?

alium commented 4 years ago

tested, reverting that patch resolved the performance issue. Thank you.

damentz commented 4 years ago

Great! Marking issue as resolved.