Not surprised. At my workplace (where we work with low cost embedded devices), we have to do some crazy tweaks to Linux to make it work nicely.
Announcement
Collapse
No announcement yet.
Yes, Linux Does Bad In Low RAM / Memory Pressure Situations On The Desktop
Collapse
X
-
+As 'nivedita' (phoronix user) put it:
+"Executables and shared libraries are paged into memory, and can be paged out +even with no swap. [...] The kernel is dumping those pages and [...] immediately +reading them back in when execution continues." +^ and that's what's causing the disk thrashing during memory pressure.
Comment
-
How do you like it https://github.com/hakavlad/nohang, birdie ?
Comment
-
Originally posted by nivedita View Post
Executables and shared libraries are paged into memory, and can be paged out even with no swap.
I think that’s part of the reason this is being considered a bug. The kernel is dumping those pages and likely immediately reading them back in when execution continues.
- in userspace: https://github.com/hakavlad/prelockd
- in kernel-space: https://github.com/hakavlad/le9-patch
- Likes 1
Comment
Comment