*** yann-kaelig has quit IRC | 00:12 | |
*** sgarzare has joined #kata-general | 07:11 | |
kata-irc-bot | <lingniao> 4. On the official website of virtio-fs, in this article https://virtio-fs.gitlab.io/howto-qemu.html, it seems that $TESTDIR can set an existing directory on the host , but if I set the source parameter in the configuration file and specify a directory like `/opt/kata-instance` on the host `# Format example:` `# ["-o", "arg1=xxx,arg2", "-o", "hello world", "--arg3=yyy"]` `#` `# see `virtiofsd -h` for possible options.` | 07:24 |
---|---|---|
kata-irc-bot | `virtio_fs_extra_args = ["-o","--thread-pool-size=1","-o","/opt/kata-instance"]` `Warning FailedCreatePodSandBox 1s (x14 over 15s) kubelet, k8s05 Failed to create pod sandbox: rpc error: code = Unknown desc = failed to create containerd task: failed to launch qemu: exit status 1, error messages from qemu log: qemu-system- x86_64: cannot create PID file: Cannot open pid file: No such file or directory` | 07:24 |
kata-irc-bot | <lingniao> 3. I saw a picture that said that DAX uses the nvdimm device simulated by qemu. It seems to be a device for each VM, which is mapped to the host filesystem buffer cache. For example, there are 100 kata VMs on a single host. I set virtio_fs_cache_size=1024M, Then the host will use up to 1024M memory, or 1024M*100 memory? Also, can this shmem be writable or read-only? Is it only for kata pod images or all data read and write, | 07:43 |
kata-irc-bot | including kubernetes persistence volume? | 07:43 |
kata-irc-bot | <lingniao> From the official website of qemu, I found that nvdimm is used like this -machine pc, nvdimm -m $RAM_SIZE, slots=$N,maxmem=$MAX_SIZE -object memory-backend-file,id=mem1,share=on,mem-path=$PATH,size=$NVDIMM_SIZE -device nvdimm,id=nvdimm1,memdev=mem1 When the kata instance is created, the qemu process can see that it contains a parameter memory-backend-file, -object | 08:02 |
kata-irc-bot | memory-backend-file,id=dimm1,size=3072M,mem-path=/dev/shm,share=on -numa node,memdev=dimm1 Is this cache dedicated to virtiofs? Where does dimm1 come from? It has nothing to do with nvdimm, right? | 08:02 |
*** sgarzare has quit IRC | 10:55 | |
*** sgarzare_ has joined #kata-general | 10:55 | |
*** devimc has joined #kata-general | 12:33 | |
*** fuentess has joined #kata-general | 13:19 | |
*** yann-kaelig has joined #kata-general | 14:24 | |
*** sgarzare_ has quit IRC | 15:58 | |
*** yann-kaelig has quit IRC | 17:28 | |
*** yann-kaelig has joined #kata-general | 17:32 | |
*** yann-kaelig has quit IRC | 20:59 | |
*** devimc has quit IRC | 21:15 | |
*** sjas has quit IRC | 23:17 | |
*** sjas has joined #kata-general | 23:30 | |
*** openstack has joined #kata-general | 23:51 | |
*** ChanServ sets mode: +o openstack | 23:51 |
Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!