TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Optimizing NetBSD/Amd64 Kernel Boot Time: A Performance Breakthrough

7 pointsby jaypatelaniover 1 year ago

2 comments

jaypatelaniover 1 year ago
The author has been working on optimizing the NetBSD&#x2F;amd64 virtual machine kernel boot time. With performance enhancements, the kernel can now boot in less than 15ms on a not-so-modern i5-7600K using QEMU 6.2 with the microvm machine type. The performance branch, available on GitHub, introduces features like Generic PVH boot, a new PV bus for hypervisors without PCI, MMIO-backed devices, performance fixes, pvclock using KVM timecounter, and a TSLOG framework for tracing performance. The author provides a kernel configuration and instructions for testing with QEMU on Linux or NetBSD using NVMM. Additionally, the kernel is compatible with a PVH branch of AWS&#x27;s Firecracker, and the author offers a basic configuration for testing. Feedback is encouraged, and precompiled binaries are provided for those who want to try it without compiling.<p>[Performance Branch on GitHub](<a href="https:&#x2F;&#x2F;github.com&#x2F;NetBSDfr&#x2F;NetBSD-src&#x2F;tree&#x2F;perf">https:&#x2F;&#x2F;github.com&#x2F;NetBSDfr&#x2F;NetBSD-src&#x2F;tree&#x2F;perf</a>)<p>[Precompiled Kernel and Disk Image](<a href="https:&#x2F;&#x2F;imil.net&#x2F;NetBSD&#x2F;disk.img" rel="nofollow">https:&#x2F;&#x2F;imil.net&#x2F;NetBSD&#x2F;disk.img</a>)
评论 #39100735 未加载
wwarekover 1 year ago
Discussed couple of days ago here: <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=39015036">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=39015036</a>
评论 #39101249 未加载