Windows Server 2012 Networking Performance and Management Prabu
Windows Server 2012 Networking Performance and Management Prabu Rambadran Product Marketing Manager Microsoft Corporation
Beyond Virtualization Windows Server 2012 offers a dynamic, multi-tenant infrastructure that goes beyond virtualization to provide maximum flexibility for delivering and connecting to cloud services. The Power of Many Servers, the Simplicity of One Every App, Any Cloud Windows Server 2012 offers excellent economics by integrating a highly available and easy to manage multi-server platform with breakthrough efficiency and ubiquitous automation. Windows Server 2012 is a broad, scalable and elastic server platform that gives you the flexibility to build and deploy applications and websites on-premises, in the cloud and in a hybrid environment, using a consistent set of tools and frameworks. Modern Workstyle, Enabled Windows Server 2012 empowers IT to provide users with flexible access to data and applications from virtually anywhere on any device with a rich user experience, while simplifying management and helping maintain security, control and compliance.
title Resource Metering
A two-tenant environment built with Hyper-V in Windows Server 2012
Basic model of Resource Metering Power. Shell Cmdlets Enable resource Metering: Get-VM -Computer. Name <Host Name> | Enable-VMResource. Metering Get VM metering data: Get-VM -Computer. Name <Host Name> -Name <VM Name> | Measure-VM
title IP Address Management(IPAM)
Organize, assign, monitor and manage static and dynamic IPv 4/v 6 addresses. Integration with SCVMM Address space mgmt (ASM) Network discovery . In-box solution that complements – and seamlessly integrated with – MS DHCP and DNS offerings WS 2012 IPAM Multiserver mgmt (MSM) . Suitable for MS DHCP/DNS customers looking for an economic, capable and scalable IPAM solution Visibility & audit Automatic discovery of DC, DHCP and DNS servers, and dynamic IP addresses in use Centralized configuration and update of MS DHCP/DNS servers Track and audit changes and provide real-time view of status
Win 8 (RSAT) & WS 2012 Agentless architecture WS 2012 in-box WS 08; WS 08 R 2 & SPs; WS 2012 Distributed deployment, scale, and DR
demo IPAM
Performance Features and Improvements
• Processor. One physical processor, which can consist of • • • one or more nodes. A physical processor is the same as a package, a socket, or a CPU. Non-uniform memory architecture (NUMA) node. A set of logical processors and cache that are close to one another. Core. One processing unit, which can consist of one or more logical processors. Logical processor (LP). One logical computing engine from the perspective of the operating system, application, or driver. In effect, a logical processor is a thread. Kernel Group. A set of up to 64 logical processors. Affinity. A preference indicated by a thread, process, or interrupt for operation on a particular processor, node, or group. Kernel Group (KGroup) Processor or Socket NUMANode NUMA Node Core LPLP LP LP
• Latency. The time required for an operation to complete. Lower is better. • Scalability. The ability to adapt to increasing demand on system resources. Higher is better. • Throughput. The amount of data transferred or processed in a given time period. Higher is better. • Path Length. The number of CPU cycles divided by the throughput. Lower is better. • Variability / Jitter. Fluctuation in throughput and/or latency. Lower is better. L S T P J
Receive Segment Coalescing (RSC) • RSC can help by coalescing multiple inbound packets into a larger buffer and effectively reduce per packet CPU cost • Preliminary data shows up to a 20% reduction in CPU cycles depending on the workload • All inbox 10 G network adapters support the feature and have it on by default T P RSC: Multiple Inbound Packets Coalesced to reduce CPU load
demo Receive Segment Coalescing (RSC)
Receive Side Scaling (RSS) S T • Use RSS to distribute the receive • network traffic either across multiple processors or multiple NUMA nodes IT Pros should use new Power Shell cmdlets to control RSS behavior based on their workload characteristics Static Dynamic NUMA aware Profile 3 Profile 2 Non NUMA Profile 1 Profile 0 (like WS 08 R 2) (default)
Receive Side Scaling (Continued) Node 1 Node 2 Node 3 0 1 2 3 queues Node 0 Incoming Packets NIC with 8 RSS queues New RSS profiles improve scalability on multi-node servers by distributing TCP/UDP receive traffic across nodes
Single Process Multiple Processes (2 and 4) 50% 2 Nodes (20 LP) 4 Nodes (40 LP) 115% WS 08 R 2 Win 2012 Throughput 201% Hardware: 40 LPs, 4 NUMA nodes , 10 Gig. E, 128 GB RAM Workload: mixed Web scenario 43% 2 Nodes (20 LP) 4 Nodes (40 LP) WS 08 R 2 Win 2012 Note: Measurements reflect release defaults
Dynamic Virtual Machine Queues (VMQ) • Use VMQ to dynamically distribute the receive network traffic • S across multiple VMs based on destination and network load Most inbox 10 Gig Ethernet adapters support the feature which is enabled by default Network IO path without VMQ Network IO path with VMQ T
Registered I/O (RIO) • Registered I/O (RIO) delivers low latency by “pinning” the application memory and reduces CPU cost • RIO improves predictability with message latency (jitter) • Example APIs: RIORegister. Buffer and RIOReceive L S T P J
TCP Loopback Fast Path L T P Winsock Application (E. g. Using localhost as TCP destination) • Customer should use new IOCTL SIO_LOOPBACK_FAST_PATH socket user option to take new shorter path kernel • Both sides of connection must set Win 08 R 2 new option but can’t have Loopback Path SO_OOBINLINE, TCP_EXPEDITED_1122, or TCP_STDURG socket options Windows 2008 R 2 AFD Windows Server 2012 Loopback Path TCP/IP NDIS New: Shorter Path
demo TCP Loopback fast path
• IT Pro wants to fine tune their system for low latency application and minimize jitter • Best Practices include: • Disable C-states from BIOS • Set Power Policy to High Performance • Use powercfg utility • • • Disable NIC Interrupt Moderation setting Disable Flow Control Disable Receive Side Scaling Disable Receive Segment Coalescing (RSC) Use thread affinity in Task Manager to partition work by nodes • Check out http: //technet. microsoft. com/enus/library/hh 831415. aspx
title Performance Analysis and Tools
Server Performance Advisor (SPA) 3. 0 E L P M A EX Original Setting is derived from system tuning, empirical evidence U R LE
demo Identifying performance bottlenecks using SPA 3. 0
New Performance Monitor Counters • RDMA Activity
Power. Shell commands IPsec. Offload EVERYTHING is configurable Lso Power. Shell through • Rss Net. Adapter. Get-Net. Adapter. Rsc Vmq Srio. Vf
Power. Shell commands (Continued) Net. Adapter. Encapsulated. Packet. Task. Offload Net. Adapter. IPsec. Offload Enable-Net. Adapter. Lso Enable-Net. Adapter. Rdma Enable-Net. Adapter. Rsc
When do you use each feature? Performance Loopback Registered Large Metric Fast Path I/O (RIO) Send Offload (LSO) Lower End-to -End Latency X Higher Scalability Receive Segmentation Offload (RSC) Virtual Machine Queues (VMQ) X X Higher Throughput X X Lower Path Length X X Lower Variability Receive Side Scaling (RSS) X X X Remote Single DMA Root I/O (RDMA) Virtual (SR-IOV) X X X
Sample Fill Sample Fill
Subtitle color www. microsoft. com
video Video Title
WSV 321: Windows Power. Shell Crash Course WSV 307: Windows Server 2012 IP Address Management WSV 314: Windows Server 2012 NIC Teaming and Multichannel Solutions VIR 303: An Overview of Hyper-V Networking in Windows Server 2012 VIR 305: Hyper-V Network Virtualization for Scalable Multi-Tenancy in Windows VIR 307: Get Hands-on with the New Hyper-V Extensible Switch in Windows Server 2012 WSV 14 – HOL: Managing Your Network Infrastructure with IP Address Management WSV 24 – HOL: Managing Network Infrastructure with Windows Server 2012
Required Slide *delete this box when your slide is finalized Resource 1 Resource 2 Resource 3 Resource 4 Track PMs will supply the content for this slide, which will be inserted during the final scrub.
#TEWSV 304 Hands-On Labs Talk to our Experts at the TLC DOWNLOAD Windows Server 2012 Release Candidate DOWNLOAD Microsoft System Center 2012 Evaluation microsoft. com/windowsserver microsoft. com/systemcenter
Learning Connect. Share. Discuss. Microsoft Certification & Training Resources http: //europe. msteched. com www. microsoft. com/learning Tech. Net Resources for IT Professionals Resources for Developers http: //microsoft. com/technet http: //microsoft. com/msdn
Evaluations Submit your evals online http: //europe. msteched. com/sessions
- Slides: 50