Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Why is Azure deployment slower on Windows 2012 Server than on Windows 2008 Server

I have an ASP.NET (Webforms) working with .Net Framework 4.0.

If I deploy that site with osFamily="1" (on a Windows 2008 server) the .NET CLR takes 120 ms average (according to NewRelic logs).

If I take the exact site and I deploy it with osFamily="3" (on a Windows 2012 server) the .NET CLR takes more than 500 ms.

I know I should move to MVC4 and perhaps .Net Framework 4.5, but I would like to know if anyone else has had the same problem and if you know what could be causing this?

enter image description here

Edit

Looks like osFamily=2 also has the same problem.

like image 397
Jordi Avatar asked Jun 05 '13 12:06

Jordi


1 Answers

From the forum discussion it seems that it's a known issue.

The issue is reported here.

Upgrading from VS2010 to VS2012, we noticed that deploying is very slow, which can be worked around but then stepping in code is very slow as well.

First, we thought it maybe the device but it is very slow even in the emulator. This machine we tested, is i7 processor with 12MB of RAM. This also seem the case for many who have reported on our forums.

Read more.

A solution seems to be the changing the driver to winusb (C:\Program Files\GHI Electronics\GHI Premium NETMF v4.2 SDK\USB Drivers\GHI_NETMF_WinUsb) - according to one of the comments.

like image 103
Ionică Bizău Avatar answered Oct 13 '22 12:10

Ionică Bizău