{"title":"容器化环境下的virtio GPU分析","authors":"Dejan Bogdanović, M. Popovic, Srdjan Usorac","doi":"10.1109/TELFOR52709.2021.9653366","DOIUrl":null,"url":null,"abstract":"Virtio technology is a widely spread technology for emulating IO devices in virtualized environments. These environments are then called paravirtualized, because the guest system cooperates with the host system when performing IO tasks to achieve better performance. Virtio GPU is an emulated device for graphics, used for rendering and displaying. One of the benefits of Virtio devices is that most operating systems provide drivers and libraries for them. Despite the popularity of paravirtualization technology, its performance still falls short to those of containers. Containers offer near native speed because the guest and the host share the same kernel. This raises the question whether Virtio GPU device (and driver) should be utilized inside the container. This paper exposes the concept of how Virtio GPU can be integrated with a container, and what the main disadvantages of that solution are. An important lesson learned from this research is that Virtio GPU should not be used inside the container.","PeriodicalId":330449,"journal":{"name":"2021 29th Telecommunications Forum (TELFOR)","volume":"1 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2021-11-23","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":"{\"title\":\"Analysis of virtio GPU in a containerized environment\",\"authors\":\"Dejan Bogdanović, M. Popovic, Srdjan Usorac\",\"doi\":\"10.1109/TELFOR52709.2021.9653366\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"Virtio technology is a widely spread technology for emulating IO devices in virtualized environments. These environments are then called paravirtualized, because the guest system cooperates with the host system when performing IO tasks to achieve better performance. Virtio GPU is an emulated device for graphics, used for rendering and displaying. One of the benefits of Virtio devices is that most operating systems provide drivers and libraries for them. Despite the popularity of paravirtualization technology, its performance still falls short to those of containers. Containers offer near native speed because the guest and the host share the same kernel. This raises the question whether Virtio GPU device (and driver) should be utilized inside the container. This paper exposes the concept of how Virtio GPU can be integrated with a container, and what the main disadvantages of that solution are. An important lesson learned from this research is that Virtio GPU should not be used inside the container.\",\"PeriodicalId\":330449,\"journal\":{\"name\":\"2021 29th Telecommunications Forum (TELFOR)\",\"volume\":\"1 1\",\"pages\":\"0\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2021-11-23\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"2021 29th Telecommunications Forum (TELFOR)\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.1109/TELFOR52709.2021.9653366\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"2021 29th Telecommunications Forum (TELFOR)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/TELFOR52709.2021.9653366","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
Analysis of virtio GPU in a containerized environment
Virtio technology is a widely spread technology for emulating IO devices in virtualized environments. These environments are then called paravirtualized, because the guest system cooperates with the host system when performing IO tasks to achieve better performance. Virtio GPU is an emulated device for graphics, used for rendering and displaying. One of the benefits of Virtio devices is that most operating systems provide drivers and libraries for them. Despite the popularity of paravirtualization technology, its performance still falls short to those of containers. Containers offer near native speed because the guest and the host share the same kernel. This raises the question whether Virtio GPU device (and driver) should be utilized inside the container. This paper exposes the concept of how Virtio GPU can be integrated with a container, and what the main disadvantages of that solution are. An important lesson learned from this research is that Virtio GPU should not be used inside the container.