title: Chromedriver is extremely slow on a specific machine using Selenium Grid and .net
body: <p><strong>Overview:</strong>
  Chromedriver works normally on one machine but extremely slowly on two other identical machines.</p>
  
  <p><strong>Setup:</strong></p>
  
  <ul>
  <li>Selenium Webdriver using .Net for coding and Selenium Grid for distributing the tests. MSTest is being used from within Visual Studio 2010 in order to run the tests.</li>
  <li>A 64bit Windows 7 local machine acting as the Hub</li>
  <li><p>Three 32-bit Win 7 remote machines (two of them are virtual) on my local network all configured as nodes. Here is the command used to start the nodes on the remote machines:</p>
  
  <p>java -jar c:\seleniumWebDriver\seleniumGrid\selenium-server-standalone-2.31.0.jar -role node  -hub <a href="http://XXX.XXX.XXX.XXX:4444/grid/register" rel="noreferrer">http://XXX.XXX.XXX.XXX:4444/grid/register</a>  -browser "browserName=chrome",maxInstances=4 -Dwebdriver.chrome.driver="C:\seleniumWebDriver\chromedriver.exe"</p></li>
  <li><p>The driver is launched like this from within the code:</p>
  
  <p>DesiredCapabilities capability = new DesiredCapabilities();
  capability.SetCapability(CapabilityType.BrowserName, browser);
  driver = new RemoteWebDriver(new Uri(hubUrl), capability);</p></li>
  <li><p>The variable "browser" and "hubUrl" above is passed via an app.config file that is built at runtime. For this case, browser=chrome.</p></li>
  </ul>
  
  <p><strong>Problem:</strong> </p>
  
  <ul>
  <li><p>When I setup machine 212 (which is a virtual machine) as a chrome node using the command above, and then launch the scripts from the hub, I see chrome start in the proper remote machine and run normally. It fields between 5-10 commands per second.</p></li>
  <li><p>When I setup either machine 78 (virtual machine) or machine 103 (real machine) as a node in the same manner, and then launch the scripts from the hub, I see the node start up chrome properly. However, it runs extremely slowly, like 1 command per sec or less.</p></li>
  </ul>
  
  <p><strong>Other info:</strong>
  Like I said, on one machine chrome works normally, but on the others, runs extremely slowly. Firefox and IE, when configured as nodes, work normally.</p>
  
  <p>I have compared the machine 212 (which works properly) with the other machines and cannot find the difference. All the machines are using 'selenium-server-standalone-2.31.0.jar' and the same version of the ChromeDriver.</p>
  
  <p>It does not appear that the node machines are being overloaded. Also, it is a very consistent difference in performance which does not seem related to any fluctuating load on the network or the machines.</p>
  
  <p>My network tech has verified that all these machines are configured identically on the network.</p>
  
  <p>Has anybody seen anything like this before?</p>
  
  <p>EDIT 1: I logged in today and all three remote machines are running chrome slowly. Before one of them was normal, but now they are all slow.</p>