posts - 8,  comments - 6,  trackbacks - 0
调整dotNet 服务器性能需要手动编辑 %SYSROOT%\Microsoft.Net\Framework\v.{VERSION}\CONFIG\machine.config 文件, 修改

maxconnection       2 ==>  12 * #CPUs
maxIoThreads         20 ==>  100
maxWorkerThreads 20 ==>  100
minFreeThreads       8  ==> 88*#CPUs
minLocalRequestFreeThreads  4 ==> 76*#CPUs

其中#CPUs为服务器的CPU个数

.Net Framework 2.0 ,Intel Core2 双核配置如下
 <system.net>
   <connectionManagement>
      <add address = "*" maxconnection = "24" />
    </connectionManagement>
 </system.net>
  <system.web>
    <httpRuntime minFreeThreads="176"  minLocalRequestFreeThreads="152"/>
    <processModel autoConfig="false" maxWorkerThreads="100" maxIoThreads="100"/>
  ...
posted on 2005-07-05 09:44 Sharper代码人生 阅读(341) 评论(1) 编辑 收藏

FeedBack:
2007-12-28 19:02 | wwwwww[未注册用户]
hao
 回复 引用   
<2005年7月>
262728293012
3456789
10111213141516
17181920212223
24252627282930
31123456

昵称:Sharper代码人生
园龄:7年1个月
粉丝:1
关注:0

搜索

 
 

常用链接

随笔档案

相册

最新评论

阅读排行榜

评论排行榜

推荐排行榜