Skip to content

dmkarthi/sriov

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

69 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Table of Contents

  1. Introduction
  2. Prerequisites
  3. Preparation
  4. Host Setup
  5. Virtual Machine Image Creation
    1. Deploy Windows Virtual Machine
    2. Deploy Ubuntu Virtual Machine
  6. LICENSE

Introduction

Intel Graphics SR-IOV Technology

Graphics SR-IOV is Intel's latest Virtualization Technology for Graphics. Single Root I/O Virtualization (SR-IOV) defines a standard method for sharing a physical device function by partitioning the device into multiple virtual functions. Each virtual function is directly assigned to a virtual machine, thereby achieving near native performance for the virtual machine

The key benefits of Intel Graphics SR-IOV are:

  • A standard method of sharing physical GPU with virtual machines, thus allowing efficient use of GPU resource in a virtual system
  • Improved video transcode, media AI analytics and Virtual Desktop Infrastructure (VDI) workloads performance in virtual machine
  • Support up to 4 independent display output and 7 virtualized functions
  • Support multiple guest operating system

Prerequisites

Preparation

  1. Install software packages

    sudo apt update
    sudo apt install -y git vim curl
  2. Disable automatic loading of evbug module

    sudo vim /etc/modprobe.d/*-blacklist.conf
    
    # Add the following line to the end of the file, save and exit
    blacklist evbug
  3. If the user environment uses a proxy, make sure environment variables such as http_proxy, https_proxy, and no_proxy is configured properly. Additionally, edit the file /etc/sudoers and uncomment the following line to allow passing the proxy settings to the sudo/root users

    sudo vim /etc/sudoers
    
    # Add the following line to the end of the file, save and exit
    Defaults env_keep += "http_proxy https_proxy ftp_proxy all_proxy no_proxy"
  4. Clone from github

    cd /home/$USER/
    git clone https://github.com/ThunderSoft-SRIOV/sriov.git

Host Setup

Note : If you need to rebuild ppa package from source, please refer here for steps on building debian packages.

Setup Host From PPA

Please refer here for steps on setting up host.

Virtual Machine Image Creation

Follow links below for instructions on how to setup and deploy virtual machines using scripts in this repo.

Deploy Windows Virtual Machine

Please refer deploy-windows-vm for steps on creating Windows VM image.

Deploy Ubuntu Virtual Machine

Please refer deploy-ubuntu-vm for steps on creating Ubuntu VM image.

License

Distributed under the Apache License, Version 2.0. See LICENSE for more information.

(back to top)

About

Debian SRIOV OS Bundle for Intel Graphics Virtualization Technology (Graphics SR-IOV)

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages

  • Shell 100.0%