freebsd-dev/sys
Alan Cox 70c4180f1c 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.  For
example, on one of my test machines, the running time for the HPCC Random
Access benchmark (also known as GUPS) has increased by 54%.  To address this
problem, I have replaced the demotion with a heuristic for periodically
clearing the reference flag on superpage mappings.

Reviewed by:	kib
Approved by:	re (glebius)
Sponsored by:	EMC / Isilon Storage Division
2013-09-08 21:30:53 +00:00
..
amd64 Prior to r254304, we only began scanning the active page queue when the 2013-09-08 21:30:53 +00:00
arm Export a function to allow BCM2835's peripheral devices to enable their 2013-09-07 18:48:15 +00:00
boot
bsm
cam
cddl - Use make_dev_credf(MAKEDEV_REF) instead of the race-prone make_dev()+ 2013-09-07 13:45:44 +00:00
compat
conf Use a better version of memcpy/bcopy for mips kernel. 2013-09-07 16:31:30 +00:00
contrib Fix !INET6 build. 2013-09-07 09:47:18 +00:00
crypto
ddb
dev Use correct type for the vmx vlan filter table 2013-09-08 19:13:06 +00:00
fs ext2fs: temporarily disable htree directory index. 2013-09-07 02:45:51 +00:00
gdb
geom
gnu/fs/reiserfs
i386 Implement PV IPIs for PVHVM guests and further converge PV and HVM 2013-09-06 22:17:02 +00:00
ia64
isa
kern Drain for the xbusy state for two places which potentially do 2013-09-08 17:51:22 +00:00
kgssapi
libkern
mips Netlogic XLP network driver update 2013-09-07 18:26:16 +00:00
modules MFC 2013-09-07 07:58:29 +00:00
net Bring in some behind-the-scenes development, mainly By Arthur Mesh, 2013-09-07 14:15:13 +00:00
net80211
netatalk
netgraph
netinet Relese the interface in the last. 2013-09-08 18:19:40 +00:00
netinet6
netipsec
netipx
netnatm
netpfil
netsmb
nfs
nfsclient
nfsserver
nlm Intermittent crashes in the NLM (rpc.lockd) code during system 2013-09-06 23:14:31 +00:00
ofed
opencrypto
pc98
pci
powerpc Fix error in r252115: space for the softc needs to be allocated. This 2013-09-07 20:52:31 +00:00
rpc
security - Use make_dev_credf(MAKEDEV_REF) instead of the race-prone make_dev()+ 2013-09-07 13:45:44 +00:00
sparc64 Fix build with gcc. Move sf_buf_alloc()/sf_buf_free() declarations 2013-09-06 17:44:13 +00:00
sys MFC 2013-09-07 07:58:29 +00:00
teken
tools
ufs
vm Drain for the xbusy state for two places which potentially do 2013-09-08 17:51:22 +00:00
x86 Implement PV IPIs for PVHVM guests and further converge PV and HVM 2013-09-06 22:17:02 +00:00
xdr
xen Implement PV IPIs for PVHVM guests and further converge PV and HVM 2013-09-06 22:17:02 +00:00
Makefile