HYPER-V中的VM减速问题 [英] VM Slow Down Problem In HYPER-V

查看:108
本文介绍了HYPER-V中的VM减速问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好我有以下专用服务器,



双Intel Xeon 5639

2.13Ghz - 2个处理器

12核心/ 24线程

24GB DDR3内存

2TB SATA || 7200RPM

1Gb专用端口。

Windows Server 2008 R2 64位标准版。



我已配置这台服务器上的HYPER-V。现在我在这个HYPER-V服务器上增加了几个虚拟机。

所有虚拟机的配置如下。

Windows server 2003标准版。

512MB Ram



Hyper-V设置:

处理器


1]没有。逻辑处理器 - 1

2]虚拟机预留(%) - 0

3]占总系统资源的百分比 - 0

4]虚拟机限制(%) - 100

5]总系统资源的百分比 - 4



使用上述所有VM的设置,我应该能够在此服务器上运行大约20个VM,而不会出现任何处理器过载问题。但是,在运行超过11个VM(剩余9个VM状态关闭),同时每个VM上有60%的处理器负载。所有应用&系统资源在每个VM中运行缓慢。如果我是正确的,我有12个物理核心,这给我12X8 = 96虚拟处理器计数在这台服务器上。我给每个虚拟机只提供了1个虚拟处理器,总共11个。这应该足够了,因为每个虚拟机永远不会使用超过60%的虚拟处理器负载(512MB RAM也永远不会被充分使用。最多使用50%左右)。在Hyper-V Dedicated服务器上,除Hyper-V外没有其他任何内容正在运行。我每天都重新启动了我的专用服务器。但它仍然显示了这个问题。我已将每个VM逻辑处理器计数从1增加到2.仍然是同样的问题。如何在我的专用服务器HYPER-V中为每个VM进行正确的设置,以便它可以运行20个VM而没有任何问题?

Hi I have following dedicated server,

Dual Intel Xeon 5639
2.13Ghz - 2 Processors
12 Cores / 24 Threads
24GB DDR3 RAM
2TB SATA|| 7200RPM
1Gb Dedicated Port.
Windows Server 2008 R2 64-Bit Standard Edition.

I have configured HYPER-V on this server. Right now i have added few virtual machine on this HYPER-V server.
Configuration of all VM are as follows.
Windows server 2003 Standard Edition.
512MB Ram

Hyper-V Settings:
Processor

1]No. of logical processor - 1
2]Virtual Machine Reserve(%) - 0
3]% of total system resources - 0
4]Virtual Machine Limit(%)- 100
5]% of total system resources - 4

Using above settings for all VM, I should be able to run around 20 VM on this server without any processor overload problem. But after running more than 11 VM (remaining 9 VM status is off) simultaneously with 60% processor load on each VM. All apps & system resources running slow in each VM. If I am correct i have 12 physical core, this give me 12X8 = 96 virtual processor count on this server. I have given only 1 virtual processor to each VM, total of 11. It should be enough cause each VM never using more than 60% virtual processor load(Also 512MB RAM is never used as full. Around 50% max is used). On Hyper-V Dedicated server nothing is running except Hyper-V. I have restarted my dedicated server each day. But it still shows this problem. I have increase each VM logical processor count from 1 to 2. Still same problem. How can I make correct settings for each VM in my dedicated server HYPER-V, so it can run 20 VM without any issue?

推荐答案

EF Nijoeber在右边跟踪...



Windows始终保留一些空闲内存,但在内存不足的系统中,它将更加积极地使用页面文件。由于页面文件是基于磁盘的,因此您可能拥有大量磁盘读/写。



因为一次只能有一个应用程序(或VM)可以读/写磁盘,所以会产生资源争用。这会让事情变得相当缓慢。



如果你想在一台机器上运行这么多VM,你需要提供一个比一个更好的磁盘系统2TB 7200 SATA。你可能需要某种磁盘条带化系统和高性能磁盘。



看看你的物理机磁盘IO活动,应该讲述这个故事。
E.F Nijoeber is on the right track...

Windows always keeps some free memory, but in low memory systems it will use the page file much more aggressively. Since the page file is disk based, you are probably having a lot of disk reads/writes.

Because only one application (or VM) can read/write to the disk at one time, you have a resource contention. This will slow things down quite a bit.

If you are wanting to run this many VM's on a single machine, you will need to provide a better disk system than a 2TB 7200 SATA. You will probably need some sort of disk striping system and high performance disks.

Take a look at your physical machine disk IO activity, that should tell the story.


我同意Ron:恕我直言你的问题不是内存,还是处理器,而是磁盘。



如果我找到你对,你有一个2 TB / 7.2K / SATA磁盘驱动器?



对于运行多个虚拟机的虚拟机管理程序,我建议:



- 真正的RAID扩展卡,带有自己的电池



- 至少是一个RAID 5阵列,最好使用SAS磁盘而不是SATA (10K或15K,这取决于你/你的预算)来存储虚拟磁盘。



没有神奇之处:想象你有10个虚拟机,每个虚拟机其中一人试图同时访问一个SATA磁盘。你的表现问题对我来说并不奇怪。



希望这会有所帮助:)祝你好运。
I agree with Ron : IMHO your problem is not the memory, or the processors, but the disk.

If I get you right, you have a single 2 TB / 7.2K / SATA disk drive?

For an hypervisor running several virtual machines, I recommend :

- a true RAID extension card with its own battery

- at least a RAID 5 array, preferably with SAS disks instead of SATA (10K or 15K, it depends on you/your budget) to store the virtual disks.

There is no magic in that : imagine you have ten virtual machines, each one of them trying to access a single SATA disk at the same time. Your performance issues are not surprising to me.

Hope this helps :) Good luck.


我真的会尝试增加VM可用的内存。您可以使用动态内存(检查链接)。即使看起来没有使用内存,它也会为不可预知的场合保留一些内存,因此不会全部使用它。



http://www.altaro.com/hyper-v/hyper-v-dynamic-memory-explanation-and-recommendations-2/ [ ^ ]



http://technet.microsoft.com/en-us/magazine/ hh709739.aspx [ ^ ]



祝你好运!
I would really try to increase memory available to the VM's. You can use dynamic memory (check links). Even though it looks like memory isn't used, it is keeping some memory free for unpredicted occasions and therefor won't use all of it.

http://www.altaro.com/hyper-v/hyper-v-dynamic-memory-explanation-and-recommendations-2/[^]

http://technet.microsoft.com/en-us/magazine/hh709739.aspx[^]

Good luck!


这篇关于HYPER-V中的VM减速问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆