Tag Archives: network

Vmware NSX for vSphere 6.2.2 bugs — lost network connection

We are using VMware NSX in our production environment for a long time.
And recently we got some problem with NSX, the symptoms is

Some VMs will lose network connection after migrated to another VM;
New firewall rules are not able to apply on some of the VMs.

After engaged VMware, VMware confirmed that it’s a bug in NSX.

VMware assigned about 1.6G heap memory for NSX firewall on each of the ESX hosts. If you applied too much rules or you have too many VMs and you’ll reach the memory limit. Then you’ll get this issue…

Current fix is to upgrade to 6.2.3…

纠正Vista/Win7 下游戏等网络延迟问题

用vista和win7会发现网络延迟比以前高。我研究了下,发现是ms从vista新增加的服务的问题

服务名称是Multimedia Class Scheduler。这个服务的用途不解释了,有兴趣的自己看下面的文章
MS有关于MMCSS的具体说明
[ http://msdn.microsoft.com/zh-cn/library/ms684247(VS.85).aspx ]

这里有个家伙写的MMCSS怎么工作的文章
[ http://blogs.technet.com/markrussinovich/archive/2007/08/27/1833290.aspx ]

网上的方法都是禁止这个服务
[quote]
打开注册表找到
HKEY_LOCAL_MACHINE/SYSTEM/CurrentControlSet/Services/Audiosrv
双击打开右侧的DependOnService项目,把MMCSS删除(千万别删到其他的),最后保存退出。
然后到服务里(运行services.msc)关闭并禁用Multimedia Class Scheduler服务即不让他随系统启动的时候运行,此事可能会碰到系统无声的现象,但是我重启机器声音就好了。,
[/quote]
上面的方法是删除audio和mmcss的依存关系,然后进用掉mmcss服务。

而这样的解决方案,是彻底的把win7带来的新功能取消掉,就是不让mmcss去调整网络,声音,游戏等的自动分级。那么,正确的方法应该是什么呢?

最正确的方法应该是取消或这优化掉网络的分级设置。方法如下

打开注册表(使用命令regedit)
转到HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionMultimediaSystemProfile
下面会有一个键值是NetworkThrottlingIndex
默认值是10(16进制显示为A),修改为16进制的FFFFFF.
这里设置为FFFFFF是禁用掉网络的分级功能,如果想依然启用分级功能,但是又想优化ping值。可以把这个值改成十进制的100000。意思是每秒可以发送100000个数据包
重新启动