12262 Suboptimal vmem hash table slows down boot
Review Request #2504 — Created Jan. 29, 2020 and submitted
This change starts the periodic hash rescale for all vmem arenas before we load protocol modules and drivers during boot. Some drivers relies on heavy vmem operations (e.g. i40e) and without the periodic vmem hash rescale their performance could be really bad and the whole boot process would be very slow.
Without this change the boot process on affected machines was stuck for about 30 minutes in the i40e driver. With the fix the delay is hardly noticeable. I also confirmed that this change does not intruce any regression on tested machines.
Status: Closed (submitted)
commit 948761701ebc8a0cf820a973780b2fbb931c4390 Author: Marcel Telka <email@example.com> AuthorDate: Wed Jan 29 17:03:43 2020 +0100 Commit: Dan McDonald <firstname.lastname@example.org> CommitDate: Wed Feb 5 10:41:03 2020 -0500 12262 Suboptimal vmem hash table slows down boot Reviewed by: Stefan Behrens <email@example.com> Reviewed by: Gergő Mihály Doma <firstname.lastname@example.org> Approved by: Dan McDonald <email@example.com> :100644 100644 aa58118e48 3579053899 M usr/src/uts/common/os/main.c