Date: Sun, 05 Sep 2021 22:02:25 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 258295] nvme initialization may be unnecessarily slow Message-ID: <bug-258295-227@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D258295 Bug ID: 258295 Summary: nvme initialization may be unnecessarily slow Product: Base System Version: CURRENT Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: kern Assignee: bugs@FreeBSD.org Reporter: cperciva@FreeBSD.org Initialization of nvme(4) devices includes two 100 ms pause(9) calls while resetting the devices, along with a number of shorter delays; on EC2, about= 335 ms is spent in nvme_ctrlr_start_config_hook. Linux recently replaced a 100 ms wait with 1 ms waits plus polling the devi= ce to see if it was ready; it would be nice if we could do something similar, since the time spent in nvme initialization is now a nontrivial proportion = of kernel boot time. https://www.phoronix.com/scan.php?page=3Dnews_item&px=3DNVMe-Faster-Linux-5= .7-Boot --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-258295-227>