Stefan, Eric, There isn't live migration requirement so far, but, I will take this as a potential requirement when Kata is growing more powerful. In my mind, this is rational as some of us are running kata on bare metal, in this scene, we don't have an infrastructure software such as OpenStack to guarantee the lifecycle of workload. Virtio-fs is in RFC state, it could be OK as long as it doesn't have native gap for supporting live migration, and I will be glad to see it being listed in some roadmap. By the way, really nice work! We finally get a better option against 9pfs :-) Thanks! -----邮件原件----- 发件人: Ernst, Eric [mailto:eric.ernst@intel.com] 发送时间: 2018年12月17日 22:30 收件人: Stefan Hajnoczi <stefanha@redhat.com> 抄送: sweil@redhat.com; Qixuan Wu <qixuan.wu@linux.alibaba.com>; Graham Whaley <graham.whaley@gmail.com>; miklos@szeredi.hu; kata-dev@lists.katacontainers.io; swhiteho@redhat.com; vgoyal@redhat.com 主题: Re: [kata-dev] [Announce] virtio-fs released with Kata Containers support Stefan - No, there isn’t a live migration requirement for Kata (sorry for the top post). Eric
On Dec 17, 2018, at 6:27 AM, Stefan Hajnoczi <stefanha@redhat.com> wrote:
On Sun, Dec 16, 2018 at 09:09:48AM +0800, Qixuan Wu wrote: 1) Did you compare the performance to the virtio-blk raw or qcow2 solution of normal virtual machine?
Not yet.
Guest and host page cache performance can dominate benchmarks, so we typically use fio direct=1 with QEMU -drive cache=none (O_DIRECT) to focus purely on disk I/O performance and not page cache. The same thing can be done with virtio-fs so that every I/O operation requires communication with the host. In theory virtio-fs should be comparable to virtio-blk on raw.
In real-world scenarios the page cache will be enabled, especially for the virtio-fs DAX feature. So I need to think carefully about what to benchmark, but it will probably include both configurations.
2) Whether does it impact live-migration of guest os ?
Virtio-fs currently does not support live migration. Is there a requirement for live migration with Kata Containers use cases?
Stefan
_______________________________________________ kata-dev mailing list kata-dev@lists.katacontainers.io http://lists.katacontainers.io/cgi-bin/mailman/listinfo/kata-dev