Wednesday, September 1, 2021

OpenBSD: Hibernate Time Reduced

Contributed by rueda on from the winter-of-our-disk-content dept.

Theo de Raadt (deraadt@) committed a change which significantly reduces hibernate time on machines with larger amounts of RAM:

CVSROOT:   /cvs
Module name:    src
Changes by:     deraadt@cvs.openbsd.org 2021/08/30 03:45:29

Modified files:
        sys/kern       : subr_hibernate.c 

Log message:
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

We are always happy to bear good news!



from Hacker News https://ift.tt/3DBfL8r

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.