Opened 4 years ago

Closed 4 years ago

Last modified 4 years ago

#16248 closed bug (fixed)

High amount of swapping even when lots of free RAM

Reported by: Forza Owned by: mmlr
Priority: normal Milestone: R1/beta3
Component: - General Version: R1/beta2
Keywords: Cc: mmlr
Blocked By: Blocking:
Platform: x86-64

Description

In R1beta2 I've noticed excessive amount of swap usage even when very little RAM is used.

I have attached a screenshot from running on a machine with 16GiB RAM.

Attachments (1)

jd1arqw7Mrrd_activitymonitor.png (41.8 KB ) - added by Forza 4 years ago.

Download all attachments as: .zip

Change History (6)

by Forza, 4 years ago

comment:1 by waddlesplash, 4 years ago

Cc: mmlr added

I've seen this too. mmlr, any ideas?

in reply to:  1 comment:2 by mmlr, 4 years ago

Owner: changed from nobody to mmlr
Status: newin-progress

Replying to 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.

comment:4 by waddlesplash, 4 years ago

Resolution: fixed
Status: in-progressclosed

Fixed in hrev54344.

comment:5 by pulkomandy, 4 years ago

Milestone: UnscheduledR1/beta3

Moving closed tickets to beta3

Note: See TracTickets for help on using tickets.