NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
re: port-amd64/52679: amd64 pmap page leak?
The following reply was made to PR port-amd64/52679; it has been noted by GNATS.
From: Paul Goyette <paul%whooppee.com@localhost>
To: matthew green <mrg%eterna.com.au@localhost>
Cc: gnats-bugs%NetBSD.org@localhost, port-amd64-maintainer%netbsd.org@localhost,
gnats-admin%netbsd.org@localhost, netbsd-bugs%netbsd.org@localhost, dholland%NetBSD.org@localhost
Subject: re: port-amd64/52679: amd64 pmap page leak?
Date: Sat, 4 Nov 2017 11:54:34 +0800 (+08)
On Sat, 4 Nov 2017, Paul Goyette wrote:
>>> On my amd64 8.99.3 system (with 128GB RAM), my discrepancy is > 8%
>>>
>>> 4096 bytes per page
>>> 8 page colors
>>> 32572896 pages managed
>>> 20457781 pages free
>>> 9365903 pages active
>>> 34169 pages inactive
>>> 0 pages paging
>>> 19572 pages wired
>>> 12383934 zero pages
>>> free+active+inactive+paging+wired = 29,877,425, which is only 91.7%
>>> of managed pages...
That leaves a "missing" count of 2,695,471 ...
> vmstat -m reported 9GB, which is more than what's missing above.
The actual number from vmstat is
In use 9740352K, total allocated 9939724K; utilization 98.0%
That 9.9GB of pool from vmstat -m translates to about 2,426,690 pages,
which is _very_close_ to missing 2,695,471 million pages!
+------------------+--------------------------+----------------------------+
| Paul Goyette | PGP Key fingerprint: | E-mail addresses: |
| (Retired) | FA29 0E3B 35AF E8AE 6651 | paul at whooppee dot com |
| Kernel Developer | 0786 F758 55DE 53BA 7731 | pgoyette at netbsd dot org |
+------------------+--------------------------+----------------------------+
Home |
Main Index |
Thread Index |
Old Index