12262 Suboptimal vmem hash table slows down boot
Review Request #2504 — Created Jan. 29, 2020 and submitted
Information | |
---|---|
marcel | |
illumos-gate | |
master | |
12262 | |
283c253... | |
Reviewers | |
general | |
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)
Change Summary:
commit 948761701ebc8a0cf820a973780b2fbb931c4390 Author: Marcel Telka <marcel@telka.sk> AuthorDate: Wed Jan 29 17:03:43 2020 +0100 Commit: Dan McDonald <danmcd@joyent.com> CommitDate: Wed Feb 5 10:41:03 2020 -0500 12262 Suboptimal vmem hash table slows down boot Reviewed by: Stefan Behrens <sbehrens@giantdisaster.de> Reviewed by: Gergő Mihály Doma <domag02@gmail.com> Approved by: Dan McDonald <danmcd@joyent.com> :100644 100644 aa58118e48 3579053899 M usr/src/uts/common/os/main.c