Skip to content

Better responsivines for Arch/Linux

Greetings

Is there a way to reduce total freezes for Arch Linux with high CPU load? I relatively often experience a situation, where an application creates a big CPU load and fully uses a core, which then makes my desktop environment (Budgie) freeze for a while, even though I use a 4770k which is still a quite decent CPU.

I read about https://wiki.archlinux.org/index.php/Linux-ck but actually I would like to continuing the normal kernel. Any advice you can give me?

7 points26 comments
Open on Reddit
About this post
Posted
Archived
Score
7 · 100% up
Kind
Text
ID
czimda

Author

3
posts
6
comments
0
media
View profile

26 comments

Do you have enough ram in your system? I notice that only if Linux begins swapping to disk because it runs out of Ram

5 points

Happens to me when using 7GB on my 8GB machine, everything starts to slow down

1 points

Do you have swap configured? I think you are running out of ram so things start to freeze and slowdown.

5 points

Zen-kernel and Linux-ck is definitivley worth it. It's also relative easy. Just git pull and compile. In package manager add kernel and kernel source lock.

5 points

Arch has linux-zen in repositories. No need to compile.

9 points

Thats a nice info. And how is maintenance? Can I just keep no-brain-updating even with the different kernel?

1 points

I have OpenSuse 15.1 and Zen-kernel 5.2 in a vmware-image. I have these locks:

6 | kernel-desktop | package | (any)
7 | kernel-desktop-base | package | (any)
8 | kernel-source | package | (any)
9 | kernel-vanilla | package | (any)

and I use zypper update all the time. I have this image since kernel 3.2-3.4 and upgraded from OpenSuse 12 to 15.1 okay. However on OpenSuse sometimes update and especially upgrade can break a few things. But other then that the kernel is great. Much better then stock!

1 points

Can you check using top/htop whether some process(es) is (are) consuming excessive CPU/RAM?

2 points

Yes. Thats exactely why I'm asking. You can see a single core being completely used (and the gui blocked if it is running on this core) while other cores are barely used

2 points

I'm curious if you know what app is causing this problem?

I've run Budgie on 4GB laptops without issue. Also, I notice I very rarely consume more than 2-3GB ram in Solus, Arch, Fedora, or Debian.

2 points

I doubt your CPU has anything to do with this. It doesn't make any sense to me that an application pegging a core would slow down an entirely different process, since the kernel should schedule the GUI process on another core.

I would seriously check your RAM when this happens. Your system will struggle if RAM is filled and the kernel is trying to swap out memory to disk. I fill up 16GB of RAM all of the time, especially with a bunch of chrome tabs and slack.

1 points

Well.. Don't use Budgie, but KDE or gnome and enable real time scheduling.

0 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.