increase hibernate writeout speed a little. modern machines have vast
authorderaadt <deraadt@openbsd.org>
Mon, 30 Aug 2021 09:45:29 +0000 (09:45 +0000)
committerderaadt <deraadt@openbsd.org>
Mon, 30 Aug 2021 09:45:29 +0000 (09:45 +0000)
commit56bc0efbd80da2ff595e44601f8d41473418bf4a
tree5db9351152c03bdfc3671ef7909a860761300815
parentd903b886f6e9ffa9f74761a5a9c396d523d1b8c3
increase hibernate writeout speed a little.  modern machines have vast
tracts of unused memory, and the empty-space RLE scanner (uvm_page_rle)
would rescan for empty space needlessly wasting excessive cpu time
16G machine, 100sec -> 9sec
40G machine, 325sec -> 28sec
with kettenis mlarkin
sys/kern/subr_hibernate.c