Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>Out of the box, windows needs some tweeking. I had to implement a comet server in asp.net and ran into some silly defaults. After reading these links:</p> <ul> <li><a href="https://stackoverflow.com/questions/612242/iis-7-0-503-errors-with-generic-handler-ashx-implementing-ihttpasynchandler">IIS 7.0 503 errors with generic handler (.ashx) implementing IHttpAsyncHandler</a></li> <li><a href="http://blogs.technet.com/b/winserverperformance/archive/2008/07/25/tuning-windows-server-2008-for-php.aspx" rel="nofollow noreferrer">http://blogs.technet.com/b/winserverperformance/archive/2008/07/25/tuning-windows-server-2008-for-php.aspx</a></li> <li><a href="http://smallvoid.com/article/winnt-tcpip-max-limit.html" rel="nofollow noreferrer">http://smallvoid.com/article/winnt-tcpip-max-limit.html</a></li> <li><a href="http://publib.boulder.ibm.com/infocenter/wasinfo/v6r1/index.jsp?topic=/com.ibm.websphere.express.doc/info/exp/ae/rprf_plugin.html" rel="nofollow noreferrer">http://publib.boulder.ibm.com/infocenter/wasinfo/v6r1/index.jsp?topic=/com.ibm.websphere.express.doc/info/exp/ae/rprf_plugin.html</a></li> <li><a href="http://support.microsoft.com/kb/820129" rel="nofollow noreferrer">http://support.microsoft.com/kb/820129</a> </li> <li><a href="http://msdn.microsoft.com/en-us/library/ee37705(BTS.10).aspx" rel="nofollow noreferrer">http://msdn.microsoft.com/en-us/library/ee37705(BTS.10).aspx</a></li> <li><a href="http://blogs.msdn.com/b/tmarq/archive/2007/07/21/asp-net-thread-usage-on-iis-7-0-and-6-0.aspx" rel="nofollow noreferrer">http://blogs.msdn.com/b/tmarq/archive/2007/07/21/asp-net-thread-usage-on-iis-7-0-and-6-0.aspx</a></li> </ul> <p>I came up with the following changes that were made to our windows 2k8 server.</p> <ul> <li>reg add HKLM\System\CurrentControlSet\Services\HTTP\Parameters /v MaxConnections /t REG_DWORD /d 1000000 /f</li> <li>reg add HKLM\System\CurrentControlSet\Services\TcpIp\Parameters /v TcpTimedWaitDelay /t REG_DWORD /d 30 /f</li> <li>reg add HKLM\SOFTWARE\Microsoft\ASP.NET\2.0.50727.0 /v MaxConcurrentThreadsPerCPU /t REG_DWORD /d 0 /f</li> <li>reg add HKLM\SOFTWARE\Microsoft\ASP.NET\2.0.50727.0 /v MaxConcurrentRequestsPerCPU /t REG_DWORD /d 30000 /f</li> <li>appcmd.exe set apppool "[app pool name]" /queueLength:65535</li> <li>appcmd.exe set config /section:serverRuntime /appConcurrentRequestLimit:100000</li> <li>reg add HKLM\System\CurrentControlSet\Services\TcpIp\Parameters /v MaxUserPort /t REG_DWORD /d 65534 /f</li> <li>reg add HKLM\System\CurrentControlSet\Services\TcpIp\Parameters /v MaxFreeTcbs /t REG_DWORD /d 2000 /f</li> <li>reg add HKLM\System\CurrentControlSet\Services\TcpIp\Parameters /v MaxHashTableSize /t REG_DWORD /d 2048 /f reg add HKLM\System\CurrentControlSet\Services\InetInfo\Parameters /v MaxPoolThreads /t REG_DWORD /d 80 /f</li> <li>appcmd set config /section:processModel /requestQueueLimit:100000 /commit:MACHINE</li> </ul> <p>I don't know if all the changes were required or optimal, but with some quik tesing against a test server, we achived over 30k executing connections and 5k requests per second. Couldn't go further because i ran out of client machines to run the tests from.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload