Virtio ring and virtio-net

Slides:



Advertisements
Similar presentations
Accelerating the Path to the Guest
Advertisements

Network Implementation for Xen and KVM Class project for E : Network System Design and Implantation 12 Apr 2010 Kangkook Jee (kj2181)
© 2010 IBM Corporation Virtualization Technologies Alex Landau IBM Haifa Research Lab 12 January 2010.
A comparison between xen and kvm Andrea Chierici Riccardo Veraldi INFN-CNAF.
Tanenbaum 8.3 See references
May l Washington, DC l Omni Shoreham Nick Dobrovolskiy VP Parallels Open Platform May 19 th, 2008 Introducing Parallels Server.
Support for Smart NICs Ian Pratt. Outline Xen I/O Overview –Why network I/O is harder than block Smart NIC taxonomy –How Xen can exploit them Enhancing.
Xen I/O Overview. Xen is a popular open-source x86 virtual machine monitor – full-virtualization – para-virtualization para-virtualization as a more efficient.
$100 $200 $300 $400 $500 $100 $200 $300 $400 $500 $100 $200 $300 $400 $500 $100 $200 $300 $400 $500 $100 $200 $300 $400 $500 $100 $200 $300.
Xen I/O Overview.
© 2010 IBM Corporation Plugging the Hypervisor Abstraction Leaks Caused by Virtual Networking Alex Landau, David Hadas, Muli Ben-Yehuda IBM Research –
Hadi Salimi Distributed Systems Lab, School of Computer Engineering, Iran University of Science and Technology, Fall 2010 Performance.
1 OpenStack and IB Blake Caldwell OFA Users Workshop April 3, 2014.
02/09/2010 Industrial Project Course (234313) Virtualization-aware database engine Final Presentation Industrial Project Course (234313) Virtualization-aware.
X86 MMU. Shadow Page Table Extended Page Table Guest wants to access GVA 0, guest PTE (page table entry) maps GVA 0 to GPA 0 Hardware checks NPT (nested.
KVM tutorial #3 Andrea Chierici Virtualization tutorial Catania 1-3 dicember 2010.
KVM tutorial #2 Andrea Chierici Virtualization tutorial Catania 1-3 dicember 2010.
教育卡(电子卡) 身份信息认证指导 (学生). 身份信息认证渠道 教育卡管理中心为学生提供了 “ 教育卡官方网站 ” 和 “ 教育人人通客户端 ” 两种认证渠道。 1 教育人人通客户端 2 ●● 您可以在教育卡网站的 “ 人人通客户端 ” 版块下载江苏教育人人通客户端。
A comparison between xen and kvm Andrea Chierici Riccardo Veraldi INFN-CNAF CCR 2009.
Copyright © Siemens AG All rights reserved. Corporate Technology Architecture of the Kernel-based Virtual Machine (KVM) Jan Kiszka, Siemens AG, CT.
Building A KVM-based Hypervisor for A Heterogeneous System Architecture Compliant System National Chiao Tung University & National Tsing Hua University.
Network Interface Virtualizaion: Challenges and Solutions Ryan Shea and Jiangchuan Liu, Simon Fraser University IEEE Network Park Sewon.
Welcome to the Virtual Machine Mark Cyzyk The Sheridan Libraries Johns Hopkins University.
Daniel P. Berrangé Principal Software Engineer, Red Hat.
Multiqueue Networking David S. Miller Red Hat Inc.
High Speed Solutions in VPP to Accelerate Container Networking: - Howto and Deep Dive Tan,Jianfeng Xu,qian.
Virtual Networking Performance
Windows Version 3.1
Windows 7 Ultimate
Andrea Chierici Virtualization tutorial Catania 1-3 dicember 2010
Virtualization Mini Summit, Austin 2008 mmm, tasty penguins...
Introduction to Virtualization
New Approach to OVS Datapath Performance
Zero-copy Receive Path in Virtio
OVirt Architecture Itamar Heim
Agenda About us Why para-virtualize RDMA Project overview Open issues
XDP Infrastructure Development
Towards a single virtualized data path for VPP
Presentation for KVM Forum 2011 Alon Levy, Red Hat
OPNFV: Support for HA Guest APIs: Introduction
Virtualization overview
CS 286 Computer Organization and Architecture
Xen Summit Spring 2007 Platform Virtualization with XenEnterprise
Tips Need to Consider When Organizing a College Event
CS 140 Lecture Notes: Virtual Machines
Virtio Inline Accelerator
Get the best out of VPP and inter-VM communications.
Virtio Keith Wiles July 11, 2016.
Shenghsun Cho, Mrunal Patel, Han Chen, Michael Ferdman, Peter Milder
Xen Network I/O Performance Analysis and Opportunities for Improvement
ماجستير إدارة المعارض من بريطانيا
vDPA for Vhost Acceleration
Virtio/Vhost Status Quo and Near-term Plan
Accelerate Vhost with vDPA
Multiple vDPI Functions using DPDK and Hyperscan on OVS-DPDK Platform
Ашық сабақ 7 сынып Файлдар мен қапшықтар Сабақтың тақырыбы:
Windows басқару элементтері
Fast Userspace OVS with AF_XDP
VIRTIO 1.1 FOR HARDWARE Rev2.0
Қош келдіңіздер!.
Real Estate Services - Austin, TX
Информатика пән мұғалімі : Аитова Карима.
System Virtualization
Low Overhead Interrupt Handling with SMT
Latest Update DPACC Use-cases
Virtio-ipsec F.F. Ozog (6WIND) v1 (2015/05/29).
Platform Performance Acceleration
Latest Update DPACC Use-cases
Figure 3-2 VIM-NFVI acceleration management architecture
Presentation transcript:

Virtio ring and virtio-net Michael S Tsirkin Red Hat news case study challenges

Virtio with kvm Guest virtio Guest KVM eventfd Vhost qemu

io Guest virtio Guest KVM eventfd Vhost qemu

interrupt Guest virtio Guest KVM eventfd Vhost qemu

virtio-test Guest test virtio KVM eventfd Vhost qemu

poll test virtio eventfd Vhost

write test virtio eventfd Vhost

linux/tools/virtio # vi drivers/virtio/virtio.c .... # cd tools/virtio/ ; make -q # insmod vhost_test/vhost_test.ko # time ./virtio_test real 0m0.649s user 0m0.295s sys 0m0.335s

Virtio ring Avail Desc Used Guest Vhost !

window ! ! Used Guest Vhost

Event index ! ! Used Guest Vhost !

Extending virtio test Guest virtio KVM eventfd Vhost qemu 31 30 29 28 27-0 features test Guest virtio KVM eventfd Vhost qemu

linux/tools/virtio # time ./virtio_test --no-event-idx real 0m0.649s user 0m0.295s sys 0m0.335s # time ./virtio_test --event-idx real 0m0.169s user 0m0.140s sys 0m0.019s

virtio-net TX Guest KVM Vhost macvtap NIC

Zcopy TX Guest KVM Vhost macvtap NIC

Guest -> External 10 Gb/s 64K 4K 64K 4K 2K 2K

Filtering :80 :22 Guest :80? KVM Vhost tap bridge NIC

Partial copy Guest :22 :80 :80? KVM Vhost tap bridge skbuff NIC

Zcopy RX Guest B tap KVM Vhost Guest KVM Vhost tap bridge NIC ?

Guest 2 Guest Guest A Guest B KVM Vhost tap bridge tap Vhost KVM NIC

multiqueue Guest TX RX TX RX Macvtap TX RX TX RX ? NIC TX RX TX RX

External -> Guest 10 Gb/s 4 8 512b 4 8 2 2

Status/TODO Virtio ring + Zero copy TX + Multiqueue + Zero copy RX ? Bridge zero copy ? Level interrupts ?

Questions?

Virtio ring Avail Desc Used Guest Vhost