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?



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