{"id":17,"date":"2010-02-23T16:20:51","date_gmt":"2010-02-23T21:20:51","guid":{"rendered":"http:\/\/virtualizeplanet.com\/wordpress\/?p=17"},"modified":"2010-03-19T19:14:39","modified_gmt":"2010-03-20T00:14:39","slug":"vswitch-local-speed","status":"publish","type":"post","link":"http:\/\/read.virtualizeplanet.com\/?p=17","title":{"rendered":"vSwitch Local Speed"},"content":{"rendered":"<p>A client told me today he thought he was having poor backup performance over a virtual network. But when he started debugging he noticed that it wasn&#8217;t just Backup that was the problem it was all network IO through a local vswitch. He started the conversation by asking me what I expect to see in network throughput between 2 VMs localised on the same vswitch. He informed me no matter what he tried in terms of using a vswitch with\/without a pNIC and trying different types of vNIC he couldn&#8217;t push 240mbits\/s. He asked him the obvious question which was &#8220;Is there anything else happening on the system that could be impacting net performance, like CPU overhead&#8221; and the answer was &#8220;no&#8221;.<br \/>\nSo I decided to test it for myself.<\/p>\n<p>As did my client I used the Netperf tool to test throughput between the 2 VMs. To use NetPerf you run:<br \/>\nC:\\Netserver.exe on one VM<br \/>\nand then\u00a0<br \/>\nC:\\Netclient.exe \u2013H hostname (of the first system)<br \/>\non the other VM.<\/p>\n<p>After a few seconds you should get a result displayed in mbits\/s<br \/>\nAnd just like my client I tested a vswitch with\/without a pNIC and different types of vNIC. I also tested different hosts to get varied result. The problem is I saw results which I&#8217;d expect to see, and on average I saw speeds of 500mbits\/s<\/p>\n<table style=\"text-align: right; border-collapse: collapse; height: 301px;\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\" width=\"311\">\n<tbody>\n<tr style=\"background-color: #0000ff; height: 20px;\">\n<td class=\"xl64\" style=\"width: 89pt; height: 15pt;\" width=\"118\" height=\"20\"><span style=\"color: #ffffff;\">Flexible<\/span><\/td>\n<td class=\"xl64\" style=\"border-left: medium none; width: 48pt;\" width=\"64\" align=\"right\"><span style=\"color: #ffffff;\">1<\/span><\/td>\n<td class=\"xl64\" style=\"border-left: medium none; width: 48pt;\" width=\"64\" align=\"right\"><span style=\"color: #ffffff;\">2<\/span><\/td>\n<td class=\"xl65\" style=\"border-left: medium none; width: 48pt;\" width=\"64\"><span style=\"color: #ffffff;\">Average<\/span><\/td>\n<\/tr>\n<tr style=\"height: 15pt;\" height=\"20\">\n<td class=\"xl63\" style=\"height: 15pt; border-top: medium none;\" height=\"20\">ESX1<\/td>\n<td class=\"xl63\" style=\"border-left: medium none; border-top: medium none;\">\u00a0<\/td>\n<td class=\"xl63\" style=\"border-left: medium none; border-top: medium none;\">\u00a0<\/td>\n<td class=\"xl63\" style=\"border-left: medium none; border-top: medium none;\">\u00a0<\/td>\n<\/tr>\n<tr style=\"height: 15pt;\" height=\"20\">\n<td class=\"xl63\" style=\"height: 15pt; border-top: medium none;\" height=\"20\">vswitch +pNIC<\/td>\n<td class=\"xl63\" style=\"border-left: medium none; border-top: medium none;\" align=\"right\">502<\/td>\n<td class=\"xl63\" style=\"border-left: medium none; border-top: medium none;\" align=\"right\">594<\/td>\n<td class=\"xl63\" style=\"border-left: medium none; border-top: medium none;\" align=\"right\">548<\/td>\n<\/tr>\n<tr style=\"height: 15pt;\" height=\"20\">\n<td class=\"xl63\" style=\"height: 15pt; border-top: medium none;\" height=\"20\">vswitch -pNIC<\/td>\n<td class=\"xl63\" style=\"border-left: medium none; border-top: medium none;\" align=\"right\">608<\/td>\n<td class=\"xl63\" style=\"border-left: medium none; border-top: medium none;\" align=\"right\">565<\/td>\n<td class=\"xl63\" style=\"border-left: medium none; border-top: medium none;\" align=\"right\">586.5<\/td>\n<\/tr>\n<tr style=\"height: 15pt;\" height=\"20\">\n<td class=\"xl63\" style=\"height: 15pt; border-top: medium none;\" height=\"20\">ESX2<\/td>\n<td class=\"xl63\" style=\"border-left: medium none; border-top: medium none;\">\u00a0<\/td>\n<td class=\"xl63\" style=\"border-left: medium none; border-top: medium none;\">\u00a0<\/td>\n<td class=\"xl63\" style=\"border-left: medium none; border-top: medium none;\">\u00a0<\/td>\n<\/tr>\n<tr style=\"height: 15pt;\" height=\"20\">\n<td class=\"xl63\" style=\"height: 15pt; border-top: medium none;\" height=\"20\">vswitch +pNIC<\/td>\n<td class=\"xl63\" style=\"border-left: medium none; border-top: medium none;\" align=\"right\">461<\/td>\n<td class=\"xl63\" style=\"border-left: medium none; border-top: medium none;\" align=\"right\">482<\/td>\n<td class=\"xl63\" style=\"border-left: medium none; border-top: medium none;\" align=\"right\">471.5<\/td>\n<\/tr>\n<tr style=\"height: 15pt;\" height=\"20\">\n<td class=\"xl63\" style=\"height: 15pt; border-top: medium none;\" height=\"20\">vswitch -pNIC<\/td>\n<td class=\"xl63\" style=\"border-left: medium none; border-top: medium none;\" align=\"right\">261<\/td>\n<td class=\"xl63\" style=\"border-left: medium none; border-top: medium none;\" align=\"right\">495<\/td>\n<td class=\"xl63\" style=\"border-left: medium none; border-top: medium none;\" align=\"right\">378<\/td>\n<\/tr>\n<tr style=\"height: 15pt;\" height=\"20\">\n<td class=\"xl63\" style=\"height: 15pt; border-top: medium none;\" height=\"20\">\u00a0<\/td>\n<td class=\"xl63\" style=\"border-left: medium none; border-top: medium none;\">\u00a0<\/td>\n<td class=\"xl63\" style=\"border-left: medium none; border-top: medium none;\">\u00a0<\/td>\n<td class=\"xl63\" style=\"border-left: medium none; border-top: medium none;\">\u00a0<\/td>\n<\/tr>\n<tr style=\"background-color: #0000ff; height: 20px;\">\n<td class=\"xl64\" style=\"height: 15pt; border-top: medium none;\" height=\"20\"><span style=\"color: #ffffff;\">VMXNet3<\/span><\/td>\n<td class=\"xl64\" style=\"border-left: medium none; border-top: medium none;\" align=\"right\"><span style=\"color: #ffffff;\">1<\/span><\/td>\n<td class=\"xl64\" style=\"border-left: medium none; border-top: medium none;\" align=\"right\"><span style=\"color: #ffffff;\">2<\/span><\/td>\n<td class=\"xl65\" style=\"border-left: medium none; border-top: medium none;\"><span style=\"color: #ffffff;\">Average<\/span><\/td>\n<\/tr>\n<tr style=\"height: 15pt;\" height=\"20\">\n<td class=\"xl63\" style=\"height: 15pt; border-top: medium none;\" height=\"20\">ESX1<\/td>\n<td class=\"xl63\" style=\"border-left: medium none; border-top: medium none;\">\u00a0<\/td>\n<td class=\"xl63\" style=\"border-left: medium none; border-top: medium none;\">\u00a0<\/td>\n<td class=\"xl63\" style=\"border-left: medium none; border-top: medium none;\">\u00a0<\/td>\n<\/tr>\n<tr style=\"height: 15pt;\" height=\"20\">\n<td class=\"xl63\" style=\"height: 15pt; border-top: medium none;\" height=\"20\">vswitch +pNIC<\/td>\n<td class=\"xl63\" style=\"border-left: medium none; border-top: medium none;\" align=\"right\">641<\/td>\n<td class=\"xl63\" style=\"border-left: medium none; border-top: medium none;\" align=\"right\">621<\/td>\n<td class=\"xl63\" style=\"border-left: medium none; border-top: medium none;\" align=\"right\">631<\/td>\n<\/tr>\n<tr style=\"height: 15pt;\" height=\"20\">\n<td class=\"xl63\" style=\"height: 15pt; border-top: medium none;\" height=\"20\">vswitch -pNIC<\/td>\n<td class=\"xl63\" style=\"border-left: medium none; border-top: medium none;\" align=\"right\">628<\/td>\n<td class=\"xl63\" style=\"border-left: medium none; border-top: medium none;\" align=\"right\">593<\/td>\n<td class=\"xl63\" style=\"border-left: medium none; border-top: medium none;\" align=\"right\">610.5<\/td>\n<\/tr>\n<tr style=\"height: 15pt;\" height=\"20\">\n<td class=\"xl63\" style=\"height: 15pt; border-top: medium none;\" height=\"20\">ESX2<\/td>\n<td class=\"xl63\" style=\"border-left: medium none; border-top: medium none;\">\u00a0<\/td>\n<td class=\"xl63\" style=\"border-left: medium none; border-top: medium none;\">\u00a0<\/td>\n<td class=\"xl63\" style=\"border-left: medium none; border-top: medium none;\">\u00a0<\/td>\n<\/tr>\n<tr style=\"height: 15pt;\" height=\"20\">\n<td class=\"xl63\" style=\"height: 15pt; border-top: medium none;\" height=\"20\">vswitch +pNIC<\/td>\n<td class=\"xl63\" style=\"border-left: medium none; border-top: medium none;\" align=\"right\">465<\/td>\n<td class=\"xl63\" style=\"border-left: medium none; border-top: medium none;\" align=\"right\">496<\/td>\n<td class=\"xl63\" style=\"border-left: medium none; border-top: medium none;\" align=\"right\">480.5<\/td>\n<\/tr>\n<tr style=\"height: 15pt;\" height=\"20\">\n<td class=\"xl63\" style=\"height: 15pt; border-top: medium none;\" height=\"20\">vswitch -pNIC<\/td>\n<td class=\"xl63\" style=\"border-left: medium none; border-top: medium none;\" align=\"right\">531<\/td>\n<td class=\"xl63\" style=\"border-left: medium none; border-top: medium none;\" align=\"right\">533<\/td>\n<td class=\"xl63\" style=\"border-left: medium none; border-top: medium none;\" align=\"right\">532<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n","protected":false},"excerpt":{"rendered":"<p>A client told me today he thought he was having poor backup performance over a virtual network. But when he started debugging he noticed that it wasn&#8217;t just Backup that was the problem it was all network IO through a local vswitch. He started the conversation by asking me what I expect to see in [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[],"class_list":["post-17","post","type-post","status-publish","format-standard","hentry","category-vmware"],"aioseo_notices":[],"views":9101,"_links":{"self":[{"href":"http:\/\/read.virtualizeplanet.com\/index.php?rest_route=\/wp\/v2\/posts\/17","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/read.virtualizeplanet.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/read.virtualizeplanet.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/read.virtualizeplanet.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/read.virtualizeplanet.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=17"}],"version-history":[{"count":3,"href":"http:\/\/read.virtualizeplanet.com\/index.php?rest_route=\/wp\/v2\/posts\/17\/revisions"}],"predecessor-version":[{"id":19,"href":"http:\/\/read.virtualizeplanet.com\/index.php?rest_route=\/wp\/v2\/posts\/17\/revisions\/19"}],"wp:attachment":[{"href":"http:\/\/read.virtualizeplanet.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=17"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/read.virtualizeplanet.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=17"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/read.virtualizeplanet.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=17"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}