[환경]
Windows2012 R2 Remote Desktop Session Host
[이슈사항]
Windows2012 R2 Remote Desktop Session Host 올린이후 Jeus 성능이 현저히 낮아지는 증상이 나타남.
1. Remote Desktop Session Host 역할이 서버에 설치되면 예를 들어, 특정 Application에서 File 에 Write를 할 때 System 프로세스의 Worker 쓰레드에서 이를 처리하게 되는데 다음 화면의 Call Stack과 같이 이 과정에 TSFairShare.sys 드라이버가 관여하게 됩니다.
2. 이는 Remote Destkop Session Host 역할이 설치됨으로써 Resource에 대한 Fair Share 기능이 추가되기 때문입니다. 이 기능은 2008 R2부터 도입이 되었고 이름 그대로 여러 Remote Session을 사용할 때 특정 Session에서 Resource(CPU, Disk, Network) 사용량에 대해 조절하게 됩니다.
- Network Fairshare – Dynamically distributes available bandwidth across sessions based on the number of active sessions to enable equal bandwidth utilization.
- Disk Fairshare – Prevents sessions from over utilizing disk usage by equal distribution of disk I/O among sessions.
- CPU Fairshare – Dynamically distributes processor time across sessions based on the number of active sessions and load on these sessions. This was introduced in Windows Server 2008 R2 and has been improved for heavier loads in Windows Server 2012.
[해결방안]
1. CPU Fair Share
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Quota System 하위에 있는 EnableCPUQuota 값을 0으로 변경
2. Network Fair Share
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\TSFairShare\NetFS 하위에 있는 EnableFairShare 값을 0으로 변경
3. Disk Fair Share
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\TSFairShare\Disk 하위에 있는 EnableFairShare 값을 0으로 변경
끝.
'Microsoft > Platform' 카테고리의 다른 글
VSS 관련 Event ID 36 (0) | 2018.08.17 |
---|---|
Windows 2016 시작버튼 이슈 (3) | 2018.08.17 |
특정폴더의 현재 소유자의 변경 방법 (0) | 2017.02.16 |
Administrative Templates (.admx) 오류시 해결방법 (0) | 2016.11.22 |
winsxs 폴더 정리 방법 (0) | 2016.11.21 |