commit | 740bdd68b1d4b9c39c68432e06deb70ad4da3210 | [log] [tgz] |
---|---|---|
author | Qi Wang <interwq@gwu.edu> | Fri Dec 08 12:13:50 2017 -0800 |
committer | Qi Wang <interwq@gmail.com> | Mon Dec 18 12:57:07 2017 -0800 |
tree | 0424df6e414f9e5c03fa50623572da38955b18ca | |
parent | f70785de91ee14e8034f9bd64bf6590199c89e65 [diff] |
Over purge by 1 extent always. When purging, large allocations are usually the ones that cross the npages_limit threshold, simply because they are "large". This means we often leave the large extent around for a while, which has the downsides of: 1) high RSS and 2) more chance of them getting fragmented. Given that they are not likely to be reused very soon (LRU), let's over purge by 1 extent (which is often large and not reused frequently).