summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
authoralc <alc@FreeBSD.org>2013-09-11 17:23:42 +0000
committeralc <alc@FreeBSD.org>2013-09-11 17:23:42 +0000
commit11b50ccc0ed63bbd99489f7131d095e1783c0e2e (patch)
treed79384abb53a6c7ff5c8c8388d4700c2c211d27f /lib/libc
parentaa68cbca5903957047a27c2717c554a984fe847d (diff)
downloadFreeBSD-src-11b50ccc0ed63bbd99489f7131d095e1783c0e2e.zip
FreeBSD-src-11b50ccc0ed63bbd99489f7131d095e1783c0e2e.tar.gz
Prior to r254304, we only began scanning the active page queue when the
amount of free memory was close to the point at which we would begin reclaiming pages. Now, we continuously scan the active page queue, regardless of the amount of free memory. Consequently, we are continuously calling pmap_ts_referenced() on active pages. Prior to this change, pmap_ts_referenced() would always demote superpage mappings in order to obtain finer-grained reference information. This made sense because we were coming under memory pressure and would soon have to begin reclaiming pages. Now, however, with continuous scanning of the active page queue, these demotions are taking a toll on performance. To address this problem, I have replaced the demotion with a heuristic for periodically clearing the reference flag on superpage mappings. Approved by: re (kib) Sponsored by: EMC / Isilon Storage Division
Diffstat (limited to 'lib/libc')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud