[haiku-bugs] Re: [Haiku] #16248: High amount of swapping even when lots of free RAM
- From: "Haiku" <trac@xxxxxxxxxxxx>
- To: undisclosed-recipients: ;
- Date: Fri, 12 Jun 2020 14:45:00 -0000
#16248: High amount of swapping even when lots of free RAM
------------------------+-------------------------
Reporter: Forza | Owner: mmlr
Type: bug | Status: in-progress
Priority: normal | Milestone: Unscheduled
Component: - General | Version: R1/beta2
Resolution: | Keywords:
Blocked By: | Blocking:
Platform: x86-64 |
------------------------+-------------------------
Changes (by mmlr):
* owner: nobody => mmlr
* status: new => in-progress
Comment:
Replying to [comment:1 waddlesplash]:
I've seen this too. mmlr, any ideas?
Yes: It's just a misleading counter that is being shown. The number that
is shown is not the actually used swap space, but the amount of memory
that has been reserved in swap to guarantee backing for application
allocations.
Given a large enough swap file you'll usually see roughly the amount of
used memory reported under swap after boot. This includes most normal area
allocations, minus things like stacks that are overcommitting and
explicitly overcommitting or wired areas.
This should simply be changed so that it actually shows the swap space in
use. Incidentally I made such a change locally just yesterday and will
test and push it sometime soon.
--
Ticket URL: <
https://dev.haiku-os.org/ticket/16248#comment:2>
Haiku <
https://dev.haiku-os.org>
The Haiku operating system.
Other related posts: