왜 도메인 컨트롤러에서는 디스크 쓰기 캐쉬(Write Caching)가 Disable 될까?

간단한 질문(?)이라고 할 수도 있는데 궁금해 하시는 분들이 많더군요.

컴퓨터가 Domain controller로 Promote가 되면 자동으로 디스크 Write caching이 그림과 같이 Disable 됩니다.

이 때문에 대용량 파일을 한번에 Copy하는 작업의 경우 Performance가 현저하게 떨어지는 것을 볼 수 있습니다.

기본적으로 Domain contorller의 Active Directory 데이타 베이스(Ntds.dit), 로그파일 그리고 시스템 파일들이 저장된 디스크는 Write Caching이 Disable 되어 있습니다.

도메인 컨트롤러는 Active Directory 데이터의 업데이트가 진행 될 때 전원이나 장치에 문제로 인해 FRS Recovery에 악 영향을 주기 때문에 Write caching를 Disable 합니다.

If you use the Dcpromo tool to promote a Windows 2000-based server to a domain controller, the write caching functionality (write-back cache is a firmware function) is turned off for any of the logical drives that contain the Active Directory database or log files, including the system disk. Write caching is turned off because the File Replication Service (FRS) does not recover if power to the drive is interrupted and if critical updates are lost.

디스크 관리자에서 Write caching을 수동으로 Enable 시킨다 하더라도 재부팅 하면 다시 disable이 됩니다. 만약 위험을 무릅쓰고라도 Write caching을 Enable 하고 싶으시다면 KB811392와 같이 Dskcache.exe를 이용해 Enable 하시기 바랍니다, 만약 Dscache.exe를 이용해서도 Enable이 되지 않는다면 Write caching 자체가 Firmware Function이므로 Firmware에서 Control 해보시기 바랍니다.

[관련문서]

Slow Network Performance After You Promote a Windows 2000-Based Server to a Domain Controller

https://support.microsoft.com/?id=321543

811392 Obtain the Dskcache.exe Tool to Configure the "Power Protected" Write

https://support.microsoft.com/?id=811392