-Disable IIS Logging
-iis 관리자-사이트-로깅-오른쪽 작업탭에서 사용안함 설정
-Tune the MaxPoolThreads registry entry
his setting specifies the number of pool threads to create per processor
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\InetInfo\Parameters
코어당 20개씩 값을 설정((4코어 -> 80, 2코어 -> 40)
-WCF 추적(Tracing) 기능 Disable
-확인결과 이미 web.config에 적용 되어있음
-문서에는 SvcConfigEditor.exe를 이용하라고 함
-자세한 이용법 : http://msdn.microsoft.com/en-us/library/ms732009.aspx
-Configure ASP.NET MaxConcurrentRequests for IIS 7.0 Integrated mode
-이미 WcfAsyncWebUtil 을 이용해서 1000으로 적용되어있음
-C:\Windows\Microsoft.NET\Framework\v2.0.50727\Aspnet.config 는 스크립트 제작 예정
maxConcurrentRequestsPerCPU ="48" <-- 여기 속성 설정할때 CPU 코어 1개당 12라고 생각하시면됩니다
48으로 설정한 이유는 여기 당진에 들어가있는 컨트롤 서버가 4코어이기때문입니다.
서울사무실에 있는 컨트롤 서버같은 경우는 2코어이기때문에 24가 되겠죠
-수동 방법
c:\Windows\Microsoft.NET\Framework\v2.0.50727\Aspnet.config
c:\Windows\Microsoft.NET\Framework64\v2.0.50727\Aspnet.config
<system.web>
<applicationPool maxConcurrentRequestsPerCPU="1000" maxConcurrentThreadsPerCPU="0" requestQueueLimit="5000"/>
</system.web>
-동적 콘텐츠 HTTP 압축 사용
-동적 압축을 사용하면 항상 대역폭을 보다 효율적으로 사용할 수 있지만
서버의 프로세서 사용률이 이미 매우 높은 경우에는 동적 압축에 따른 CPU 부하로 인해 사이트의 성능이 저하될 수 있음
-참조 : http://technet.microsoft.com/ko-kr/library/cc753681(WS.10).aspx
-appcmd set config /section:urlCompression /doDynamicCompression:True
- Web.Config 의 ServiceThrottling 값 변경
Cpu가 2core 일때
maxConcurrentCalls="100" * cpu -> 200
maxConcurrentSessions="300" * cpu -> 600
maxConcurrentInstances = "100" * cpu + "300" * cpu-> 800
이므로 다음과 같습니다.
<serviceThrottling maxConcurrentCalls="200" maxConcurrentSessions="600" maxConcurrentInstances="800"/>
-나머지는 asp.net이 아닌 asp 설정이므로 Pass
-참고한 사이트
http://msdn.microsoft.com/en-us/library/ee377064(BTS.10).aspx
-iis 관리자-사이트-로깅-오른쪽 작업탭에서 사용안함 설정
-Tune the MaxPoolThreads registry entry
his setting specifies the number of pool threads to create per processor
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\InetInfo\Parameters
코어당 20개씩 값을 설정((4코어 -> 80, 2코어 -> 40)
-WCF 추적(Tracing) 기능 Disable
-확인결과 이미 web.config에 적용 되어있음
-문서에는 SvcConfigEditor.exe를 이용하라고 함
-자세한 이용법 : http://msdn.microsoft.com/en-us/library/ms732009.aspx
-Configure ASP.NET MaxConcurrentRequests for IIS 7.0 Integrated mode
-이미 WcfAsyncWebUtil 을 이용해서 1000으로 적용되어있음
-C:\Windows\Microsoft.NET\Framework\v2.0.50727\Aspnet.config 는 스크립트 제작 예정
maxConcurrentRequestsPerCPU ="48" <-- 여기 속성 설정할때 CPU 코어 1개당 12라고 생각하시면됩니다
48으로 설정한 이유는 여기 당진에 들어가있는 컨트롤 서버가 4코어이기때문입니다.
서울사무실에 있는 컨트롤 서버같은 경우는 2코어이기때문에 24가 되겠죠
-수동 방법
c:\Windows\Microsoft.NET\Framework\v2.0.50727\Aspnet.config
c:\Windows\Microsoft.NET\Framework64\v2.0.50727\Aspnet.config
<system.web>
<applicationPool maxConcurrentRequestsPerCPU="1000" maxConcurrentThreadsPerCPU="0" requestQueueLimit="5000"/>
</system.web>
-동적 콘텐츠 HTTP 압축 사용
-동적 압축을 사용하면 항상 대역폭을 보다 효율적으로 사용할 수 있지만
서버의 프로세서 사용률이 이미 매우 높은 경우에는 동적 압축에 따른 CPU 부하로 인해 사이트의 성능이 저하될 수 있음
-참조 : http://technet.microsoft.com/ko-kr/library/cc753681(WS.10).aspx
-appcmd set config /section:urlCompression /doDynamicCompression:True
- Web.Config 의 ServiceThrottling 값 변경
Cpu가 2core 일때
maxConcurrentCalls="100" * cpu -> 200
maxConcurrentSessions="300" * cpu -> 600
maxConcurrentInstances = "100" * cpu + "300" * cpu-> 800
이므로 다음과 같습니다.
<serviceThrottling maxConcurrentCalls="200" maxConcurrentSessions="600" maxConcurrentInstances="800"/>
-나머지는 asp.net이 아닌 asp 설정이므로 Pass
-참고한 사이트
http://msdn.microsoft.com/en-us/library/ee377064(BTS.10).aspx
'Windows 2008 Server Core' 카테고리의 다른 글
[sc] ServerCore 에서 웹서핑을??? (0) | 2009.12.03 |
---|---|
[sc] 시스템 정보보기 하드웨어 정보까지, 시계 gui 표시 (0) | 2009.11.11 |
[sc] 서버코어 공유폴더 연결법 및 기타 정보들 (0) | 2009.11.11 |
[sql] appcmd 명령어 도움말 (0) | 2009.11.03 |
[sc] sql 2008 express 무인설치 성공(slient install) (0) | 2009.10.12 |