• DocumentCode
    1710625
  • Title

    A Hardware/Software Approach for Mitigating Performance Interference Effects in Virtualized Environments Using SR-IOV

  • Author

    Richter, Andre ; Herber, Christian ; Wallentowitz, Stefan ; Wild, Thomas ; Herkersdorf, Andreas

  • Author_Institution
    Inst. for Integrated Syst., Tech. Univ. Munchen, Munich, Germany
  • fYear
    2015
  • Firstpage
    950
  • Lastpage
    957
  • Abstract
    Single Root I/O Virtualization (SR-IOV) is an extension to the PCI Express (PCIe) standard that allows virtual machines (VMs) to directly access shared I/O devices without host involvement. This enabled SR-IOV to become the best-performing solution for virtual I/O to date, which lead to its commercial adoption, e.g., In the Amazon EC2. On the downside, a malicious VM can exploit the direct access to an SR-IOV device by flooding it with PCIe packets. This results in a congestion on the PCIe interconnect, which leads to performance interference effects between the malicious VM, concurrent VMs and even the host. In this paper, we present a hardware/software approach that detects and mitigates such Denial-of-Service (DoS) attacks. On the hardware side, we propose monitoring extensions within SR-IOV devices that distinguish legal device use from malicious device use by observing the rate of incoming PCIe transactions at VM granularity. Malicious VMs are reported to the host via interrupts. On the software side, performance interference effects can then be mitigated by dynamically adjusting the host´s scheduling of the malicious VM or even shutting it down. We implement a prototype with a commercial off-the-shelf SR-IOV Ethernet controller and an FPGA board. On it, we demonstrate that appropriate scheduling of malicious VMs successfully mitigates interference effects for three cloud-relevant benchmarks. For example, Memcached is restored to 99.4% of baseline performance (compared to 61.8% without our extensions). In contrast to QoS features proposed in the PCIe 3.0 standard, our solution is more flexible. Additionally, it can be realized as an add-on to existing misuse detection hardware like the Intel Malicious Driver Detection (MDD).
  • Keywords
    cloud computing; field programmable gate arrays; local area networks; scheduling; security of data; software performance evaluation; system monitoring; virtual machines; Amazon EC2; DoS attacks; FPGA board; Intel malicious driver detection; MDD; PCI Express; PCIe 3.0 standard; PCIe packets; cloud-relevant benchmarks; commercial off-the-shelf SR-IOV Ethernet controller; denial-of-service attacks; hardware-software approach; malicious VMs scheduling; misuse detection hardware; performance interference effects mitigation; single root I/O virtualization; virtual machines; Benchmark testing; Computer crime; Hardware; Interference; Monitoring; Performance evaluation; Radiation detectors; Performance Interference; SR-IOV; Virtualization;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Cloud Computing (CLOUD), 2015 IEEE 8th International Conference on
  • Conference_Location
    New York City, NY
  • Print_ISBN
    978-1-4673-7286-2
  • Type

    conf

  • DOI
    10.1109/CLOUD.2015.129
  • Filename
    7214139