Find White Papers
Home
About Us
List Your Papers
    
> Solarflare Communications Inc. > Getting 10Gbps from Xen: Safe and Fast Device Access from Unprivileged Domains

Getting 10Gbps from Xen: Safe and Fast Device Access from Unprivileged Domains

White Paper Published By: Solarflare Communications Inc.

Solarflare’s creation of a ‘virtualization aware’ smart network adapter and modified Xen will allow direct, but safe, access to such adapters from guest operating systems in order to improve network performance.



Tags : 
data center, semiconductor, 10gbe, solarflare, phy solutions, virtualization, ethernet networking, gigabit networking

Solarflare Communications Inc.
Published:  Mar 13, 2008
Type:  White Paper
Length:  10 pages

Getting 10 Gb/s from Xen: Safe and FastDevice Access from Unprivileged Domains
Kieran Mansley, Greg Law, David Riddoch,Guido Barzini, Neil Turton, and Steven Pope
Solar?are Communications, Inc.{kmansley,glaw,driddoch,gbarzini,nturton,spope}@solarflare.com
Abstract. The networking performance available to Virtual Machines(VMs) can be low dueto theine?ciencies of transferring network packetsbetween the host domain and guests. This can limit the application-levelperformance of VMs on a 10Gb/s network. To improve network perfor-mance, we have created a "virtualization aware" smart network adapter1and modi?ed Xen to allow direct, but safe, access to such adapters fromguest operating systems. Networking overheadsare reducedconsiderably,and the host domain is removed as a bottleneck, resulting in signi?cantlyimproved performance.We describe our modi?cations to the Xen networking architecture thatallow guest kernels direct - but secure - access to the networking hard-ware, whilst preserving support for migration. We also describe brie?yhow the same technology is used to grant direct network access to user-level applications and thus provide even greater e?ciency in terms ofbandwidth, latency and CPU utilisation.
1 Introduction
Modern commodity servers are able to saturate 10Gb/s Ethernet net-works [1]. However, VM guests incur signi?cant additional overheadsdue to context-switching, data movement and passing packets betweenthe host domain and guests. The Xen [2] virtual machine architectureimposes relatively low overheads on networking compared with othervirtualization technologies, yet its performance is well below that of na-tive operating systems [3,4]. The privileged host VM quickly becomes abottleneck as all network tra?c must pass through it.This I/O bottleneck makes virtualization e?ectively impractical for cer-tain classes of application, including many HPC applications and highperformance servers. As 10Gb/s Ethernet moves more into the main-stream, the set of applications for which this is a barrier to adoption ofvirtualization will likely increase.This paper shows how allowing guest operating systems direct access tothe I/O hardware eliminates the bottleneck and software overheads usu-ally associated with virtualized I/O, and allows a virtualized guest toachieve performance comparable with a system running natively. Doing1 Xen is a trademark of XenSource, Inc. in the United States and other countries.so requires additional support from the hardware in order to multiplexthe device between multiple guests that may access it concurrently andalso to enforce isolation so that guests cannot gain privileges or compro-mise system integrity.The rest of this paper is structured as follows. Section 2 outlines thearchitecture for accelerated networking that we have added to Xen, whileSection 3 expands to describe our implementation and the results wehave obtained with a virtualization-aware network adapter. Section 4shows how the same techniques can be applied to user-level applications.Finally, Section 5 concludes.
2 Architecture
2.1 Xen Paravirtualized Network I/O
Paravirtualized network I/O in Xen is achieved through a pair of inter-linked drivers; netfront the "frontend driver" in the guest, and netbackthe "backend driver" in the host domain. The frontend and backendcommunicate through a region of shared memory and send each othervirtual interrupts using event channels. Together these form a channelthat supports the transfer of packets between host domain and guest.The upper edge of thefrontend driverpresents the interface of a standardnetwork devicedriver,allowing it tointerface tothe bottomof theguest'snetwork stack. The backend appears likewise and is usually con?guredto connect to a software bridge in the host OS. This allows it to com-municate with the host's network stack, other virtual machines' backenddrivers, and physical network interfaces and so the network beyond.Packets that arrive from a physical network interface are routed by thebridge to the appropriate backenddrivers, which in turn forward them tothe corresponding guests' frontend drivers. These then pass them on tothe network stack as if they had arrived directly at the guests. Packetssent by guests follow the same path in reverse. Packets sent from oneguest to another are routed between the corresponding backend driversby the bridge.
2.2 Acceleration Architecture
We have extended the ... [download for more]

Browse Technology Topics

Data Center

Virtualization, Cloud Computing, Infrastructure, Design and Facilities, Power and Cooling, Green Computing  
    

Data Management

Application Integration, Analytical Applications, Business Intelligence, Configuration Management, Database Development, Data Integration, Data Mining, Data Protection, Data Quality, Data Replication, Database Security, EDI, SOAP, Service Oriented Architecture, Web Service Management, Data Warehousing  
    

Enterprise Applications

Application Integration, Application Performance Management, Best Practices, Business Activity Monitoring, Business Analytics, Business Integration, Business Intelligence, Business Management, Business Metrics, Business Process Automation, Business Process Management, Call Center Management, Call Center Software, Change Management, Corporate Governance, Customer Interaction Service, Customer Relationship Management, Customer Satisfaction, Customer Service, EBusiness, Enterprise Resource Planning, Enterprise Software, EProcurement, Extranets, Groupware Workflow, HIPAA Compliance, IP Faxing, IT Spending, Marketing Automation, Performance Testing, Product Lifecycle Management, Project Management, Return On Investment, Risk Management, Sales & Marketing Software, Sales Automation, Server Virtualization, Simulation Software, Supply Chain Management, System Management Software, Total Cost of Ownership, Video Conferencing, Voice Recognition, Voice Over IP, Workforce Management, Incentive Compensation, Spend Management, Manufacturing Execution Systems, International Computing  

Human Resource Technology

Human Resources Services, Payroll Software, Time and Attendance Software, Workforce Management Software, Financial Management, Employee Monitoring Software, Employee Training Software, Recruiting Software/Services, Employee Performance Management, ELearning, Benefits Management, Expense Management  
    

IT Career Advancement

Cisco Certification, Microsoft Certification, Linux Certification, Network Security Certification, Software Development Certification  

IT Management

Employee Performance, ITIL, Productivity, Project Management, Software Compliance, Sarbanes Oxley Compliance, Service Management, Desktop Management  
    

Knowledge Management

Collaboration, Collaborative Commerce, Contact Management, Content Delivery, Content Integration, Content Management System, Corporate Portals, Customer Experience Management, Document Management, Information Management, Intranets, Messaging, Records Management, Search And Retrieval, Search Engines, Secure Content Management, SLA  

Networking

Active Directory, Bandwidth Management, Convergence, Distributed Computing, Ethernet Networking, Fibre Channel, Gigabit Networking, Governance, Grid Computing, Infrastructure, Internetworking Hardware, Interoperability, IP Networks, IP Telephony, Local Area Networking, Load Balancing, Migration, Monitoring, Network Architecture, Network Management, Network Performance, Network Performance Management, Network Provisioning, Network Security, OLAP, Optical Networking, Quality Of Service, Remote Access, Remote Network Management, Server Hardware, Servers, Small Business Networks, TCP/IP Protocol, Test And Measurement, Traffic Management, Tunneling, Utility Computing, VPN, Wide Area Networks, Green Computing, Cloud Computing, Power and Cooling, Data Center Design and Management, Colocation and Web Hosting  
    

Platforms

AS/400, Domino, Linux, Microsoft Exchange, Oracle, PeopleSoft, SAP, Siebel, Solaris, Tivoli, Unix, Web Sphere, Windows, Windows Server  

Security

Access Control, Anti Spam, Anti Spyware, Anti Virus, Application Security, Auditing, Authentication, Biometrics, Business Continuity, Compliance, DDoS, Disaster Recovery, Email Security, Encryption, Firewalls, Hacker Detection, High Availability, Identity Management, Internet Security, Intrusion Detection, Intrusion Prevention, IPSec, Network Security Appliance, Password Management, Patch Management, Phishing, PKI, Policy Based Management, Security Management, Security Policies, Single Sign On, SSL, Secure Instant Messaging, Web Service Security, PCI Compliance, Vulnerability Management  
    

Software Development

.NET, C++, Database Development, Java, Middleware, Open Source, Software Outsourcing, Quality Assurance, Scripting, SOAP, Software Testing, Visual Basic, Web Development, Web Services, Web Service Security, XML  

Storage

Backup And Recovery, Blade Servers, Clustering, IP Storage, ISCSI, Network Attached Storage, RAID, Storage Area Networks, Storage Management, Storage Virtualization, Email Archiving, Data Deduplication  
    

Wireless

802.11, Bluetooth, CDMA, GPS, Mobile Computing, Mobile Data Systems, Mobile Workers, PDA, RFID, Smart Phones, WiFi, Wireless Application Software, Wireless Communications, Wireless Hardware, Wireless Infrastructure, Wireless Messaging, Wireless Phones, Wireless Security, Wireless Service Providers, WLAN  
Search