Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230
Where is my Swappiness Coming From Now? [Solved]
-
- Global Moderator
- Posts: 3049
- Joined: 2017-09-17 07:12
- Has thanked: 5 times
- Been thanked: 132 times
Re: Where is my Swappiness Coming From Now? [Solved]
Allocating more memory than needed is not a problem, because the kernel does not immediately allocate any physical memory. Physical memory pages are allocated on the fly when they are actually used (page fault).
Re: Where is my Swappiness Coming From Now? [Solved]
That's a good point, what I was thinking was not really more than needed and never used, but more than needed in a certain situation. For instance, I'm pretty sure that firefox-esr allocates a buttload of memory somewhere somehow for playing audio/video, which I never use at all through the browser. This can go to swap on disk and get out of my way and I have more physical ram for what I actually do. Just speculation though, I haven't really dug into it that much. Xorg and some terminal programs seem have pages that get swapped out to disk easily also.p.H wrote:Allocating more memory than needed is not a problem, because the kernel does not immediately allocate any physical memory. Physical memory pages are allocated on the fly when they are actually used (page fault).
I'd like to explore better ways to pin it down, so far I've been using top, hitting f, selecting swap with spacebar, then q and watching a little while. there's got to be a better way...
resigned by AI ChatGPT