【正文】
ion ISAPI filter ? Web Gardens ? App Pool w/ 1 worker process ? Connectionbased routing w/in Garden ? Not processor based (can enable on 1 CPU server) ? Processor Affinitization ? Bind app pool process/es to 1 or more CPUs ? Maskbased configuration Worker process ISAPI Extension ISAPI filter Worker process ISAPI filter Web Garden application pool W3SVC Scalability Best Practices IIS 6 Web Gardens and Processor Affinity Scalability Best Practices Web Gardens and Processor Affinity BPs ? Web Garden Best Practices ? Not beneficial in most cases – only good for following specialized applications: ? Application is multiinstanceable ? Application is not CPUintensive ? Application has synchronous high latency backend (or sync high latency anywhere) ? Affinity Best Practices ? Affinitize pool to a POD (or hemisphere) ? In general, 4CPU is optimal case for affinity ? Try affinitizing NICs to CPUs too (distribute NIC interrupts) ? Done using SMPAffinitized = True amp。 using SMPProcessorAffinityMask ? Web Garden Best Practices ? Not beneficial in most cases – only good for following specialized apps: ? Application is multiinstanceable ? Application is nonCPU intensive ? Application has synchronous high latency backend (or sync high latency anywhere) ? Affinity Best Practices ? Affinitize pool to a POD (or hemisphere) ? In general, 4CPU is optimal case for affinity ? Try affinitizing NICs to CPUs too (distribute NIC interrupts) ? Done using SMPAffinitized = True amp。 using SMPProcessorAffinityMask IIsApplicationPool Location =/LM/W3SVC/AppPools/BuildingBlock0 //Procs 03 SMPAffinitized=TRUE SMPProcessorAffinityMask28=15 IIsApplicationPool Location =/LM/W3SVC/AppPools/BuildingBlock1 //Procs 47 SMPAffinitized=TRUE SMPProcessorAffinityMask=240 Scalability Best Practices Web Gardens and Processor Affinity BPs Scalability Best Practices Controlling Resource Usage ? Use IIS Memory Recycling (private bytes – PeriodicRestartPrivateMemory) ? Watch for private bytes exceeding 800mb ? ASPNET OutOfMemory Exceptions attributed to address space fragmentation ? Reduce PeriodicRestartPrivateMemory to recycle sooner to prevent this from occurring (start at just under 800mb) ? CPU Throttling ? Use Windows System Resource Manager (Windows Server 20xx Ent and Data Center only) to control CPU usage ? Put mission critical applications in their own pools, and create WSRM policies for those pools to ensure they get CPU when they need it 參考資料 ? MSDN Webcast: IIS Architecture Overview ? IIS 新特性 ? TechNet Webcast: Have Your Cake and Eat It, Too: Understanding How Works with IIS ? TechNet Webcast: The Ins and Outs of Web Service Extensions in IIS ? TechNet Webcast: : Inside and Out ? IIS6 Reskit Book (downloadable book) ? TechNet是什么 ? ? 只需輕輕點擊,答案就在您的指尖 ? 對于 IT 專業(yè)人員來說, TechNet 是一個知識的寶庫,你可以找到關(guān)于如何規(guī)劃,部署和管理微軟產(chǎn)品的的技術(shù)資源 ?每月發(fā)放包含最新信息的 DVD或者 CD ? 這是最權(quán)威的資源,可以幫助你評估、配置和維護(hù)微軟產(chǎn)品。 訂閱 TechNet ?可以訪問該站點 ? 在線資源和社區(qū) ? 訂戶 僅僅提供在線服務(wù) TechNet 網(wǎng)站 ?兩周發(fā)放一次的中文電子快報 ? 安全更新 , 新的資源等等 TechNet 中文電子快報 ?有關(guān)最新微軟產(chǎn)品介紹和技術(shù)的簡報 ?上機(jī)試驗 , “如何操作”等信息 TechNet 活動 和網(wǎng)站消息 ?用戶群 ?可管理的新聞組 中文社區(qū) 我們從哪里可以了解到 TechNet? ? 訪問 TechNet的官方網(wǎng)站 ? 注冊 TechNet快報 ? 加入到中文在線論壇 ? 成為 TechNet的訂戶 ? ? 參與到更多的 TechNet活動中或者在線了解 您的潛力,我們的動力!