TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Make your QEMU faster (2022)

150 点作者 tripdout5 个月前

8 条评论

Svenstaro5 个月前
I&#x27;ve recently deep-dived into QEMU performance especially in order to cut down boot&#x2F;bootstrapping times for quickly running tests and I&#x27;d like to share some tricks:<p>- Templating: <a href="https:&#x2F;&#x2F;qemu.readthedocs.io&#x2F;en&#x2F;v9.1.0&#x2F;system&#x2F;vm-templating.html" rel="nofollow">https:&#x2F;&#x2F;qemu.readthedocs.io&#x2F;en&#x2F;v9.1.0&#x2F;system&#x2F;vm-templating.h...</a> - virtio-fs: <a href="https:&#x2F;&#x2F;virtio-fs.gitlab.io&#x2F;" rel="nofollow">https:&#x2F;&#x2F;virtio-fs.gitlab.io&#x2F;</a> - Overlay storage images: <a href="https:&#x2F;&#x2F;wiki.archlinux.org&#x2F;title&#x2F;QEMU#Overlay_storage_images" rel="nofollow">https:&#x2F;&#x2F;wiki.archlinux.org&#x2F;title&#x2F;QEMU#Overlay_storage_images</a>
评论 #42438805 未加载
Svenstaro5 个月前
Is there a reason to use 9p over virtiofs in this case? It looks to me as though virtiofs was made exactly with the idea to deal good performance.
评论 #42441292 未加载
评论 #42438969 未加载
评论 #42442537 未加载
mordae5 个月前
For better convenience there is now <a href="https:&#x2F;&#x2F;github.com&#x2F;KDAB&#x2F;hotspot">https:&#x2F;&#x2F;github.com&#x2F;KDAB&#x2F;hotspot</a> to render the flame graph from your perf data. You can also use online <a href="https:&#x2F;&#x2F;profiler.firefox.com&#x2F;" rel="nofollow">https:&#x2F;&#x2F;profiler.firefox.com&#x2F;</a>.
dang5 个月前
Discussed at the time:<p><i>Digging into a QEMU problem of slow data copying</i> - <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=33192152">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=33192152</a> - Oct 2022 (31 comments)
m4635 个月前
wow, clickbait title, then 9p and nix in the first couple paragraphs firmly set the hook.
评论 #42444428 未加载
glandium5 个月前
This was interesting, but by the end of it, I was still expecting some weird trick to work around the problem without the patch.
ryan_lane5 个月前
They delivered on the clickbait title to engagement time metric, as the title promises one weird trick and the content has no TLDR.
评论 #42438643 未加载
评论 #42438621 未加载
mannyv5 个月前
Tl;dr: file descriptors for the guest os are stored as linked lists by qemu, and changing that sped qemu file copying up by a ton.
评论 #42438824 未加载