Microsoft Windows Server 2003 Developer Platform Evangelism Windows

  • Slides: 60
Download presentation

Microsoft Windows Server 2003 성능 최적화 하기 이 상 옥 / 차장 Developer &

Microsoft Windows Server 2003 성능 최적화 하기 이 상 옥 / 차장 Developer & Platform Evangelism (주)한국마이크로소프트

대상 기술범위: • • • Windows Server 2003 Microsoft Windows Hardware Quality Labs (WHQL)

대상 기술범위: • • • Windows Server 2003 Microsoft Windows Hardware Quality Labs (WHQL) Active Directory Internet Information Service 6. 0 Web. Bench

IIS 6. 0 성능 튜닝 프로세스 모델 IIS 5. 0 DLLHost IIS 6. 0

IIS 6. 0 성능 튜닝 프로세스 모델 IIS 5. 0 DLLHost IIS 6. 0 DLLHost ISAPI Extensions Worker Process IIS Core DLLs Metabase IIS Core DLLs 사용자 ISAPI WAS INETINFO. EXE ISAPI Win. Sock 2. 0 AFD. SYS TCP/IP 커널 HTTP. SYS TCP/IP INETINFO. EXE Metabase

IIS 6. 0 성능 튜닝 사용자 모드 • • Max. Cached. File. Size: 기본

IIS 6. 0 성능 튜닝 사용자 모드 • • Max. Cached. File. Size: 기본 256 KB Mem. Cach. Size: IIS 프로스세스 주소 2 GB 제한 Disable. Memory. Cache: 설정값 1 Max. Pool. Threads: 프로세스당, 기본 4 Pool. Thread. Limit: Pool. Thread. Limit=Max. Pool. Thread x 프로세스 Object. Cache. TTL: 사용하지 않은 캐시 저장기간 기본값 30초(oxfffffff) Activity. Period: 사용 중인 캐시 저장기간 기본값 10초, 0은 검사해제 Data. Set. Cache. Szie: 가상 디렉터리 항목 기본값 50

IIS 6. 0 성능 튜닝 메타베이스 • Asp. Max. Disk. Template. Cache. Files: •

IIS 6. 0 성능 튜닝 메타베이스 • Asp. Max. Disk. Template. Cache. Files: • Asp. Disk. Template. Cache. Directory: • 사용빈도가 높지 않은 위치 • • Asp. Script. Engine. Cach. Max: 기본값 125 Asp. Script. File. Cach. Size: 기본값 250 Asp. Processor. Thread. Max: 기본값 25 Central. Binary. Logging. Enabled: • 중앙집중 이진 로깅 : TRUE • CPU, 디스크 I/O 및 디스크공간 절약

파일서버 성능 튜닝 일반적인 튜닝변수 • Paged. Pool. Size : 시스템캐시 영역 확보 •

파일서버 성능 튜닝 일반적인 튜닝변수 • Paged. Pool. Size : 시스템캐시 영역 확보 • Ntfs. Disable 8 dot 3 Name. Creation: 기본값 0 • Disablelastaccess: 마지막 액세스 시간 • Num. Tcb. Table. Paritions: transmission control blocks 테이블 파티션 수 제어 • Tcp. Ack. Frequency • 인터럽트 선호도 (Affinity) • Tool: Int. Filtr CPU 선호도를 변경하는 도구

Active Directory 성능 튜닝 서명 및 Sealing 해제 • Windows XP SP 1이상, Windows

Active Directory 성능 튜닝 서명 및 Sealing 해제 • Windows XP SP 1이상, Windows Server 2003 기본 설 정 되어 있음. • Windows 2000 XP 기본으로 설정되지 않음. • SP 3에서 설정 가능. • 안전하게 구축된 내부 네트워크에서는 서명 및 Sealing 해제하여 부하를 줄인다. • HKEY_LOCAL_MACHINESYSTEMCurrent. ControlsetServicesldaplda plientintegrity=REG_DWORD 0 x 0

Windows Server 2003 Performance Benchmarks Compared to Microsoft Windows® NT Server 4. 0 and

Windows Server 2003 Performance Benchmarks Compared to Microsoft Windows® NT Server 4. 0 and Microsoft Windows Server™ 2000 Source: Veri. Test

Contents l l File Server Performance Web Server Performance Ø Ø Ø l Static

Contents l l File Server Performance Web Server Performance Ø Ø Ø l Static Mix Dynamic (ISAPI) Mix Dynamic (CGI) Mix E-commerce (SSL ISAPI) Mix E-commerce (SSL CGI) Mix Active Directory® performance

File Server Performance Net. Benchmark File Server Performance: l Ø Ø 64% faster than

File Server Performance Net. Benchmark File Server Performance: l Ø Ø 64% faster than Windows NT 4. 0 on single-processor systems 148% faster than Windows NT 4. 0 on eight-processor systems l File Server Performance Requests per Second 148% Measurement of how well a file server handles file I/O requests from 32 -bit Windows clients through network file operations Ø 102% Ø 59% Ø l 64% l l Up to 1. 2 Gbps Netbench throughput over gigabit network adapters Up to 1. 6 Gbps using network adapters that support TCP Offload Engine (TOE) technology Hardware for all tests: Ø Ø Windows NT 4. 0 Enterprise Edition Windows 2000 Advanced Server Windows Server 2003 Enterprise Edition l Windows XP clients with Windows Server 2003 Windows 2000 clients with Windows 2000 Windows NT clients with Windows NT HP Pro. Liant DL 760 Intel Pentium III Xeon 900 MHz processors 4 GB RAM Intel PRO/1000 MF Server Adapters Source: Veri. Test

Web Server Performance Web. Benchmark: Static Mix l Static Web Server Performance: Ø Ø

Web Server Performance Web. Benchmark: Static Mix l Static Web Server Performance: Ø Ø 162% faster than Windows NT 4. 0 on single-processor systems 487% faster than Windows NT 4. 0 on eight-processor systems l Static Web Server Performance Small, cacheable static file set of 60 MB Ø Requests per Second 487% 296% l l l 6 KB average response size All requests non-keep-alive Hardware for all tests: Ø Ø 197% l 162% Windows NT 4. 0 Enterprise Edition Windows 2000 Advanced Server Windows Server 2003 Enterprise Edition 2% of requests result in not-found responses (status 404) HP Pro. Liant DL 760 Intel Pentium III Xeon 900 MHz processors 4 GB RAM Intel PRO/1000 MF Server Adapters Source: Veri. Test

Web Server Performance Web. Benchmark: Dynamic (ISAPI) Mix Dynamic (ISAPI-based) Web Server Performance: l

Web Server Performance Web. Benchmark: Dynamic (ISAPI) Mix Dynamic (ISAPI-based) Web Server Performance: l Ø Ø 109% faster than Windows NT 4. 0 on single-processor systems 368% faster than Windows NT 4. 0 on eight-processor systems Dynamic (ISAPI) Web Server Performance Requests per Second 368% l l l Small static file set of 60 MB Simple dynamic ISAPI DLL that generates dynamic responses Request mix: Ø Ø 176% l l Ø Ø 109% l Windows NT 4. 0 Enterprise Edition All requests non-keep-alive Hardware for all tests: Ø Ø 134% Windows 2000 Advanced Server Windows Server 2003 Enterprise Edition 80% of requests are for static data 20% of requests are for dynamic ISAPIbased content HP Pro. Liant DL 760 Intel Pentium III Xeon 900 MHz processors 4 GB RAM Intel PRO/1000 MF Server Adapters Source: Veri. Test

Web Server Performance Web. Benchmark: Dynamic (CGI) Mix Dynamic (CGI-based) Web Server Performance: l

Web Server Performance Web. Benchmark: Dynamic (CGI) Mix Dynamic (CGI-based) Web Server Performance: l Ø Ø 39% faster than Windows NT 4. 0 on single-processor systems 263% faster than Windows NT 4. 0 on eight-processor systems Requests per Second Dynamic (CGI-based) Web Server Performance 175% 263% l l l Small static file set of 60 MB Simple dynamic CGI DLL that generates dynamic responses Request mix: Ø Ø 84% l l 39% All requests non-keep-alive Hardware for all tests: Ø Ø l Test Configurations Windows NT 4. 0 Enterprise Edition Windows 2000 Advanced Server Windows Server 2003 Enterprise Edition 80% of requests are for static data 20% of requests are for dynamic CGIbased content HP Pro. Liant DL 760 Intel Pentium III Xeon 900 MHz processors 4 GB RAM Intel PRO/1000 MF Server Adapters Source: Veri. Test

Web Server Performance Web. Bench: E-commerce (SSL ISAPI) Mix E-commerce (SSL ISAPI) Web Server

Web Server Performance Web. Bench: E-commerce (SSL ISAPI) Mix E-commerce (SSL ISAPI) Web Server Performance: l Ø Ø 74% faster than Windows NT 4. 0 on single-processor systems 158% faster than Windows NT 4. 0 on four-processor systems E-commerce (SSL ISAPI) Web Server Performance 152% Requests per Second (vs. Windows 2000) l l Ø Ø Ø 158% l l 110% Static file set of 60 MB with ISAPI and SSL requests Request mix very similar to dynamic mix: All requests non-keep-alive Hardware for all tests: Ø Ø 74% Ø Ø l Windows NT 4. 0 Enterprise Edition Windows 2000 Advanced Server Windows Server 2003 Enterprise Edition 76% static content 16% dynamic ISAPI content 8% of requests are SSL (2% dynamic SSL, 6% static SSL) HP Pro. Liant DL 760 Intel Pentium III Xeon 900 MHz processors 4 GB RAM Intel PRO/1000 MF Server Adapters Source: Veri. Test

Web Server Performance Web. Bench: E-commerce (SSL CGI) Mix E-commerce (SSL CGI) Web Server

Web Server Performance Web. Bench: E-commerce (SSL CGI) Mix E-commerce (SSL CGI) Web Server Performance: l Ø Ø 50% faster than Windows NT 4. 0 on single-processor systems 330% faster than Windows NT 4. 0 on eight-processor systems Requests per Second E-commerce (SSL CGI) Web Server Performance 330% l l 349% 85% Ø Ø Ø l l 50% Static file set of 60 MB with CGI and SSL requests Request mix very similar to dynamic mix: All requests non-keep-alive Hardware for all tests: Ø Ø l Test Configurations Windows NT 4. 0 Enterprise Edition Windows 2000 Advanced Server Windows Server 2003 Enterprise Edition 76% static content 16% dynamic CGI content 8% of requests are SSL (2% dynamic SSL, 6% static SSL) HP Pro. Liant DL 760 Intel Pentium III Xeon 900 MHz processors 4 GB RAM Intel PRO/1000 MF Server Adapters Source: Veri. Test

Active Directory. Mark Benchmark: Messaging Mix Active Directory Performance: l Ø Ø 102% faster

Active Directory. Mark Benchmark: Messaging Mix Active Directory Performance: l Ø Ø 102% faster than Windows 2000 on single-processor systems 439% faster than Windows 2000 on eight-processor systems Active Directory (Messaging) Performance l 16000 439% 14000 l Searches/sec 12000 Ø Ø 10000 149% Ø Ø 8000 l 6000 4000 l Simulates e-mail server’s use of a directory based on LDAP protocol 1 million-user database with more than 10 organizational units Hardware for all tests: 116% 102% 2000 0 1 P Windows 2000 Advanced Server 2 P 4 P 8 P Windows Server 2003 Enterprise Edition HP DL 760 Intel Pentium III Xeon 900 MHz processors 4 GB RAM Intel PRO/1000 MF Server Adapters Source: Veri. Test

Active Directory. Mark Benchmark: Address Mix Active Directory Performance: l Ø Ø 10 x

Active Directory. Mark Benchmark: Address Mix Active Directory Performance: l Ø Ø 10 x faster than Windows 2000 on single-processor systems 19 x faster than Windows 2000 on eight-processor systems Active Directory (Address Lookup) Performance l 800 19 x 700 Searches/sec 600 l l 17 x Ø Ø 500 Ø Ø 400 l 13 x 300 200 Simulates users looking up names in address book and expanding group for e-mail based on LDAP protocol 1 million-user database with more than 10 organizational units Hardware for all tests: 10 x 100 0 1 P Windows 2000 Advanced Server 2 P 4 P 8 P Windows Server 2003 Enterprise Edition HP DL 760 Intel Pentium III Xeon 900 MHz processors 4 GB RAM Intel PRO/1000 MF Server Adapters Source: Veri. Test

벤치마킹 웹 부하 벤치마킹(Web. Bench) • 높은 성능의 서버 • IIS 설정 • Max.

벤치마킹 웹 부하 벤치마킹(Web. Bench) • 높은 성능의 서버 • IIS 설정 • Max. Cached. File. Size (REG_DWORD) 1048576 • Central. Binary. Logging. Enabled=TRUE • Http. sys • Uri. Max. Uri. Bytes(REG_DWORD) 1048576 • NTFS • Ntfs. Disable. Last. Access. Update (REG_DWORD) 1 • TCPIP. SYS • Max Hash. Table. Size (REG_DWORD) 0 xffff • 각각의 네트워크 어댑터를 CPU에 바인딩

벤치마킹 웹 부하 벤치마킹(Web. Bench) 1. 낮은 성능의 서버 (1 CPU, 1 NIC, RAM

벤치마킹 웹 부하 벤치마킹(Web. Bench) 1. 낮은 성능의 서버 (1 CPU, 1 NIC, RAM 256, 512) 1. IIS 설정 1. Max. Cached. File. Size (REG_DWORD) 1048576 2. Mem. Cache. Size (REG_DWORD) 10 3. Central. Binary. Logging. Enabled=TRUE 2. Http. sys 1. Uri. Max. Uri. Bytes(REG_DWORD) 1048576 2. Request. Buffer. Lookaside. Depth (REG_DWORD) 256 3. Internal. Request. Lookaside. Depth (REG_DWORD) 256 4. Large. Mem. Megabytes (REG_DWORD) 150 3. NTFS 1. Ntfs. Disable. Last. Access. Update (REG_DWORD) 1

벤치마킹 웹 부하 벤치마킹(Web. Bench) • 클라이언트 PC 튜닝 • 성능 설정 • 프로세스

벤치마킹 웹 부하 벤치마킹(Web. Bench) • 클라이언트 PC 튜닝 • 성능 설정 • 프로세스 스케줄링 • 메모리 사용 • TCPIP. SYS • Max. User. Port (REG_DWORD) 0 xffff • Max. Hash. Table. Size (REG_DWORD) 0 xffff • Tcp. Window. Size (REG_DWORD) 65536 -> 100 MB 네트워크 어댑터

벤치마킹 Active Directory 벤치마킹 1. Directory. Mark 벤치마킹 도구 사용 1. Auto Defragmenter 해제

벤치마킹 Active Directory 벤치마킹 1. Directory. Mark 벤치마킹 도구 사용 1. Auto Defragmenter 해제 2. 기본적으로 서버 시작 후 15분 후 시작 하고, 매 12시간 마다 재 시작. HKLMSYSTEMCurrent. ControlsetServicesNTDSParametersDSA Heuristics = REG_SZ 000001 • TCP/IP • Max. User. Ports 증가 HKMLSYSTEMCurrent. ControlsetServicesTcpipparametersMax. Us er. Port = REG_DWORD 0 xffff • Tcp. Windows. Size 증가 HKMLSYSTEMCurrent. ControlsetServicesTcpipparametersTcp. Wi ndows. Size = REG_DWORD 0 xffff

Demo: Directory. Mark Active Directory 부하 벤치마킹

Demo: Directory. Mark Active Directory 부하 벤치마킹

참고 자료 • 기술백서: Windows Server 2003의 성능 조정 지침 – http: //www. microsoft.

참고 자료 • 기술백서: Windows Server 2003의 성능 조정 지침 – http: //www. microsoft. com/korea/windowsserver 2003/evaluation/perform ance/tuning. asp • 연구 보고서: 이전 버전을 능가하는 Windows Server 2003 – http: //www. microsoft. com/korea/windowsserver 2003/evaluation/perform ance/etest. asp • Veri. Test: Web. Bench – http: //www. etestinglabs. com/benchmarks/webbench/default. asp

Microsoft 교육센터 IT 전문가를 위한 교육정보 코스 제목 기간 Course 2275 Maintaining a Microsoft

Microsoft 교육센터 IT 전문가를 위한 교육정보 코스 제목 기간 Course 2275 Maintaining a Microsoft Windows Server 2003 Environment 3일 Course 2279 Planning, Implementing, and Maintaining a Microsoft Windows Server 2003 Active Directory Infrastructure 5일 자세한 교육정보는 Microsoft 공식 교육기관 또는 인터넷에서 통해서 얻을 수 있습니다. www. microsoft. com/learning

여러분의 Microsoft 기술 능력 평가 Microsoft Skills Assessment 무엇인가? • • • 현재 제품

여러분의 Microsoft 기술 능력 평가 Microsoft Skills Assessment 무엇인가? • • • 현재 제품 및 기술 솔루션에 대한 능력 평가 Windows Server 2003, Exchange Server 2003, Windows Storage Server 2003, Visual Studio. NET, Office 2003 무료, 온라인, 누구나 사용 가능 평가결과를 기초로 Microsoft 교육 프로그램을 제안합니다. 평가항목과 최고점수 표시 • 방문하세요! www. microsoft. com/assessment

Specialization 인증을 도전하세요. • MCSA/MCSE specializations? – IT 전문가를 위한 메시징, 보안 전문분야의 인증제도

Specialization 인증을 도전하세요. • MCSA/MCSE specializations? – IT 전문가를 위한 메시징, 보안 전문분야의 인증제도 • 현재 인증 가능한 전문? – MCSA: Security – MCSE: Security • – – MCSA: Messaging MCSE: Messaging 자세한 정보는 아래 URL를 참고하세요? www. microsoft. com/mcsa or www. microsoft. com/mcse

어디서 정보를 얻을 수 있나요? • 웹 캐스트 또는 온라인 채팅 www. microsoft. com/technet/community/chats

어디서 정보를 얻을 수 있나요? • 웹 캐스트 또는 온라인 채팅 www. microsoft. com/technet/community/chats www. microsoft. com/technet/community/webcasts • 뉴스그룹 목록 www. microsoft. com/technet/community/newsgroups • Microsoft 커뮤니티 사이트 www. microsoft. com/technet/community • 커뮤니티 이벤트 www. microsoft. com/technet/community/events • 커뮤니티 컬럼 www. microsoft. com/technet/community/columns