如何对虚拟机进行基准测试

发布于 2024-07-13 18:07:20 字数 306 浏览 6 评论 0原文

我正在尝试对 XenServer 与 ESX 进行公平的比较,我想要进行的一项比较是多个虚拟机的性能。 有谁知道如何以公平的方式对虚拟机性能进行基准测试?

我希望在每台服务器上运行固定数量的 XP/Vista 虚拟机(例如 8 个),并测量每个虚拟机在负载下的运行速度。 理想情况下,我想要整个系统(CPU/内存/磁盘/网络)的一些基准测试,而不仅仅是一个方面。

在我看来,这实际上是一件非常棘手的事情,要获得任何有意义的结果,因此将不胜感激任何建议!

我也有兴趣查看任何已发布的现有报告或比较(最好是独立的而不是供应商偏见的!)

I am trying to perform a fair comparison of XenServer vs ESX and one comparison I would like to make is performance with multiple VMs. Does anyone know how to go about benchmarking VM performance in a fair way?

On each server I would like to run a fixed number of XP/Vista VMs (for example 8) and have some measure of how quickly each one runs when under load. Ideally I would like some benchmark of the overall system (CPU/Memory/Disk/Network) rather than just one aspect.

It seems to me this is actually a very tricky thing to do and obtain any meaningful results so would be grateful for any suggestions!

I would also be interested to see any existing reports or comparisons that have been published (preferably independent rather than vendor biased!)

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(4

我纯我任性 2024-07-20 18:07:20

作为一般答案,VMware(与 SPEC 虚拟化小组委员会中的其他虚拟化供应商一起)整合了一个名为 VMmark 可供下载。 VMmark 网站讨论了为什么此基准测试可能有助于比较虚拟机管理程序,其中包括常见问题解答以及描述基准的白皮书

也就是说,如果您正在寻找非常具体的东西(例如,它在您的工作负载下的执行情况),您可能必须推出自己的 VMmark 变体,特别是如果您不想这样做VMmark 基准测试的各种事物(例如,Web 服务器、数据库服务器、文件服务器等)。尽管如此,其开发背后的方法应该令人感兴趣。

免责声明:我在 VMware 工作,但不在 VMmark 上工作。

As a general answer, VMware (together with other virtualization vendors in the SPEC Virtualization sub-committee) has put together a hypervisor benchmarking suite called VMmark that is available for download. The VMmark website discusses why this benchmark may be useful for comparing hypervisors, including an FAQ and a whitepaper describing the benchmark.

That said, if you are looking for something very specific (e.g., how will it perform under your workload), you may have to roll your own variants of VMmark, especially if you are not trying to do the sorts of things that VMmark benchmarks (e.g., web servers, database servers, file servers, etc.) Nonetheless, the methodology behind its development should be of interest.

Disclaimer: I work for VMware, though not on VMmark.

逆蝶 2024-07-20 18:07:20

我不明白为什么不能在虚拟机内使用常见的基准测试:WinSAT、Passmark、Futuremark、SiSoftware 等...将虚拟机托管在不同的主机上,看看效果如何。

顺便说一句,与您的预期用途不完全匹配的基准实际上可能会阻碍您的评估。 根据正确执行此操作的重要性,您可能需要构建自己的应用程序以使其具有相关性。

为什么你想坐板凳?

I don't see why you can't use common benchmarks inside the VMs: WinSAT, Passmark, Futuremark, SiSoftware, etc... Host the VMs over different hosts and see how it goes.

As an aside, benchmarks that don't closely match your intended usage may actually hinder your evaluation. Depending on the importance of getting this right, you may have to build-your-own to make it relevant.

Why do you want to bench?

萌辣 2024-07-20 18:07:20

一些轶事证据怎么样?

我假设这是一个测试环境,因为您想要在 XP/Vista 上进行基准测试。 如果我错了,请纠正我。

我当前的测试环境是大约 20 个虚拟机,它们具有不同的操作系统(2000/XP/Vista/Vista64/Server 2008/Server 2003),在具有 8Gb RAM(希望尽快升级到 16Gb)且速度最慢的双四核 Xeon 计算机上采用不同的配置 主要是因为磁盘访问量很大(即使禁用了 Windows Defender)

所有机器都是 Vista ,
- 硬件 RAID。 否则运行 Vista 虚拟机太痛苦了。
- 更多内存。

如果您正在进行基准测试并希望运行 Vista 虚拟机,我建议您将重点放在对磁盘访问进行基准测试上。 如果其他地方存在性能差异,我怀疑它们不会有任何重大影响。

How about some anecdotal evidence?

I'm going to assume this is a test environment, because you're wanting to benchmark on XP/Vista. Please correct me if I'm wrong.

My current test environment is about 20 VMs with varying OS's (2000/XP/Vista/Vista64/Server 2008/Server 2003) in different configurations on a Dual Quad Core Xeon machine with 8Gb RAM (looking to upgrade to 16Gb soon) and the slowest machines of all are Vista primarily due to heavy disk access (this is even with Windows Defender disabled)

Recommendations
- Hardware RAID. Too painful to run Vista VMs otherwise.
- More RAM.

If you're benchmarking and looking to run Vista VMs, I would suggest putting your focus on benchmarking disk access. If there are going to be performance differences elsewhere I doubt they would be of anything significant.

吹梦到西洲 2024-07-20 18:07:20

我最近看到了 VMware 的 ESX 性能文档 - http://www.vmware.com/pdf /VI3.5_Performance.pdf。 其中有很多关于提高性能和基准测试的内容。

I recently came across VMware's ESX Performance documentation - http://www.vmware.com/pdf/VI3.5_Performance.pdf. There is quite a bit in there on improving performance and benchmarking.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文