Opened 11 years ago

Closed 11 years ago

#2141 closed bug (fixed)

Weird cache behaviour.

Reported by: bga Owned by: axeld
Priority: low Milestone: R1
Component: System/Kernel Version: R1/pre-alpha1
Keywords: Cc:
Blocked By: Blocking:
Has a Patch: no Platform: All


The system cache seems to be working in a weird way and I am not sure if this is intentional. On my system it seems that the amount of memory in use plus cache equals around 50% of my total memory (2 Gb total). When the memory usage goes up, the cache memory use goes down in a proportional way even with plenty of free memory available (see attached screenshot. Ignore the initial 0 values close ton the current position. It seems to be a bug in ActivityMonitor reported in a different ticket). Is this intentional? It does not really make sense because when the memory usage goes close to 1 Gb, the cache drops down to close to 0 and, as I mentioned, there is 2 Gb of memory on this machine.

Attachments (1)

Cache.png (9.0 KB) - added by bga 11 years ago.
Cache behaviour.

Download all attachments as: .zip

Change History (4)

Changed 11 years ago by bga

Attachment: Cache.png added

Cache behaviour.

comment:1 Changed 11 years ago by axeld

Priority: highlow

Well, that's pretty much what I wrote in the initial commit message of ActivityMonitor: the way the cached_pages stat is computed is just not correct.

comment:2 Changed 11 years ago by bga

I guess I missed that message. Well, at least the bug is documented now.

comment:3 Changed 11 years ago by bga

Resolution: fixed
Status: newclosed

This seems to be a moot point now with recent fixes from Ingo. Closing this bug.

Note: See TracTickets for help on using tickets.