ã ã®è¨äºã¯openSUSE Advent Calendar 2022 8æ¥ç®ã®è¨äºã§ãã
virtio-mem ã¨ã¯
virtio-memã¨ã¯ãã²ã¹ãï¼ä»®æ³ãã·ã³ ï¼ã®ã¡ã¢ãªæä¾æ段ã®ä¸ã¤ã§ãã
Overview
A virtio-mem device manages a memory region in the the guest physical address space of a virtual machine and provides a dynamic amount of memory via this memory region to the virtual machine.
https://virtio-mem.gitlab.io/user-guide/
å¾æ¥ã®ã¡ã¢ãªç®¡çã®æ¹æ³ã¨ã㦠virtio balloon memory ãããã¾ããããvirtio-memã«ã¯ ã²ã¹ãã«å²ãå½ã¦ãã¡ã¢ãªããã²ã¹ãã®èµ·åä¸ã«ç¸®å°ã§ãã ã¨ããç¹å¾´ãããã¾ãã
ãªãç¾å¨ Tech-preview æ±ãã®ãããæ¬çªç°å¢ã§ã®ä½¿ç¨ã¯æ¨å¥¨ããã¦ãã¾ããã念ã®ããã
åä½è¦ä»¶
ãã¹ãç°å¢ã§ virtio-mem ã¯æ£å¸¸ã«åä½ããªããããL2ã²ã¹ãã« virtio-mem ã¯ä½¿ç¨ã§ãã¾ããã
ã¾ãã¡ã¢ãªãåçã«ç¸®å°ã»å®å
¨ã«åãå¤ãå¯è½ã§ããã¨ããvirtio-memã®æ§è³ªä¸ãvirtio-mem ã¨ã¯å¥ã«åæã¡ã¢ãªã®é åãã²ã¹ãã«å²ãå½ã¦ãå¿
è¦ãããã¾ãã
virtio-mem ã¯æ°ããå®è£
ã®ãããqemu5.1.0-rc1 以éãlibvirtv7.9.0-rc1 以éã®ç°å¢ãå¿
è¦ã§ãã
注æç¹ã¨ãã¦ãã²ã¹ãOSã¯Linux ã®ã¿ãã㤠kernel 5.8-rc1 以éã®ã¿å¯¾å¿ãã¦ãã¾ãã
ã¾ã対å¿ã¢ã¼ããã¯ã㣠ã¯ç¾æç¹ã§ x64ã»aarch64ã®ã¿ã§ãã
ã¡ã¸ã£ã¼ã©ããã§ã¯ openSUSE Leap 15.4 ã Fedora 36/37ãRHEL 9.0/9.1 ãä¸è¨ã®ç°å¢ãåãã¦ãã¾ãã
ä»å㯠openSUSE Leap 15.4 ã§æ§ç¯ããKVM ãã¹ãä¸ã§æ¤è¨¼ãè¡ãã¾ãã
æ¤è¨¼ç°å¢ï¼
GIGABYTE MZ32-AR0
- AMD EPYC 7401P / DDR4 256GB / PM1725(HHHL) 3.2TB
openSUSE Leap 15.4
- kernel : 5.14.21-150400.24.11
- qemu : 6.2.0-150400.37.5.3
- libvirt : 8.0.0-150400.5.8
ç¾å¨ã®æå
ç°å¢ãã¡ãæ©ä¼ãããã°ãã®ãã¡ã¾ã¨ãããã
ç¶ããèªã