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]

If none of the specific sub-forums seem right for your thread, ask here.
Post Reply
Message
Author
p.H
Global Moderator
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]

#16 Post by p.H »

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).

User avatar
bw123
Posts: 4015
Joined: 2011-05-09 06:02
Has thanked: 1 time
Been thanked: 28 times

Re: Where is my Swappiness Coming From Now? [Solved]

#17 Post by bw123 »

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).
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.

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

Post Reply