*** fuentess has quit IRC | 00:21 | |
*** vgoyal has quit IRC | 00:31 | |
*** sameo has joined #kata-dev | 06:00 | |
*** amorenoz has joined #kata-dev | 06:10 | |
*** sameo has quit IRC | 06:15 | |
*** jodh has joined #kata-dev | 06:40 | |
*** dklyle has quit IRC | 06:41 | |
*** sgarzare has joined #kata-dev | 06:43 | |
*** stackedsax has quit IRC | 06:53 | |
*** iamweswilson has quit IRC | 06:53 | |
*** stackedsax has joined #kata-dev | 06:56 | |
*** iamweswilson has joined #kata-dev | 06:56 | |
*** fgiudici has joined #kata-dev | 07:26 | |
*** davidgiluk has joined #kata-dev | 08:03 | |
*** ailan__ has joined #kata-dev | 08:15 | |
*** sameo has joined #kata-dev | 08:49 | |
*** sameo has quit IRC | 08:57 | |
*** sameo has joined #kata-dev | 10:26 | |
*** ailan__ has quit IRC | 11:48 | |
*** crobinso has joined #kata-dev | 13:19 | |
*** dklyle has joined #kata-dev | 15:02 | |
*** vgoyal has joined #kata-dev | 15:14 | |
kata-irc-bot | <fidencio> @archana.m.shinde, @jose.carlos.venegas.m, Vivek sent me a ping asking for what's the cache mode used by kata when using *9p*. I couldn't find that in the coe, anywhere, neither when spawning a VM using 9p. Do you have that info handy? | 15:31 |
---|---|---|
kata-irc-bot | <fidencio> Basically, Vivek is trying to setup an environment on his side where he can debug / compare based on what kata uses | 15:31 |
kata-irc-bot | <jose.carlos.venegas.m> is it OK for you just the command line of qemu ? | 15:32 |
kata-irc-bot | <jose.carlos.venegas.m> plus the mount flags? | 15:32 |
kata-irc-bot | <fidencio> I have the qemu command line, but share yours if possible | 15:32 |
kata-irc-bot | <fidencio> Maybe there's something different there | 15:32 |
vgoyal | to begin with qemu options and mount flags will help | 15:33 |
vgoyal | what caching option does kata use by default for virtio-9p | 15:33 |
kata-irc-bot | <jose.carlos.venegas.m> sure | 15:33 |
kata-irc-bot | <jose.carlos.venegas.m> for 9pfs | 15:34 |
kata-irc-bot | <jose.carlos.venegas.m> it has | 15:34 |
kata-irc-bot | <jose.carlos.venegas.m> -device virtio-*9p*-pci,disable-modern=true,fsdev=extra-*9p*-kataShared,mount_tag=kataShared,romfile= -fsdev local,id=extra-*9p*-kataShared,path=/run/kata-containers/shared/sandboxes/5b48b35747a1746552ca84afec45416f840d9bcd0c56da25090164bc527d0347/shared,security_model=none,multidevs=remap | 15:34 |
vgoyal | I am assuming that everything is bind mounted in a single directory and we share that directory using single virtio-9p instance. | 15:35 |
vgoyal | Going by the documentation of 9p, I see that probably cache=none matches with cache=none of virtiofs. And cache=loose maps to cache=always I think. There does not seem to be an equivalent of cache=fs-cache and cache=,mmap | 15:42 |
kata-irc-bot | <fidencio> What's the default used if nothing is passed? | 15:44 |
kata-irc-bot | <jose.carlos.venegas.m> vgoyal hey | 15:44 |
kata-irc-bot | <jose.carlos.venegas.m> we have security_model=none | 15:45 |
kata-irc-bot | <jose.carlos.venegas.m> for 9pfs | 15:45 |
vgoyal | carlos, what about mount options used inside the guest | 15:46 |
vgoyal | looking at the 9p kernel code looks like cache=none is default if user does not specify one. | 15:50 |
vgoyal | v9ses->cache = CACHE_NONE; | 15:50 |
kata-irc-bot | <jose.carlos.venegas.m> yes | 15:52 |
kata-irc-bot | <jose.carlos.venegas.m> let me get the flags | 15:52 |
kata-irc-bot | <jose.carlos.venegas.m> vgoyal: sharedDir9pOptions = []string{“trans=virtio,version=9p2000.L,cache=mmap”, “nodev”} | 15:53 |
vgoyal | aha... so it uses cache=mmap. Which does not have a direct equivalent in virtiofs. hmm..... | 15:54 |
* vgoyal will need to study to code more to figure out what cache=mmap is doing. It seems to suggest that it does some caching to support mmap | 15:54 | |
kata-irc-bot | <jose.carlos.venegas.m> got it | 15:55 |
vgoyal | cache=none will probably mmap() as there is no page cache | 15:55 |
kata-irc-bot | <jose.carlos.venegas.m> just to to confirm | 15:55 |
kata-irc-bot | <jose.carlos.venegas.m> ``` mount | grep 9p kataShared on / type 9p (rw,dirsync,nodev,relatime,mmap,access=client,trans=virtio) kataShared on /etc/resolv.conf type 9p (rw,dirsync,nodev,relatime,mmap,access=client,trans=virtio) kataShared on /etc/hostname type 9p (rw,dirsync,nodev,relatime,mmap,access=client,trans=virtio) kataShared on /etc/hosts type 9p (rw,dirsync,nodev,relatime,mmap,access=client,trans=virtio)``` | 15:55 |
vgoyal | s/mmap()/fail mmap() | 15:55 |
vgoyal | carlos, thanks. I will setup my 9p with these mount options. | 15:56 |
kata-irc-bot | <jose.carlos.venegas.m> vgoyal: are you doing your testing on top of kata ? or just standalone qemu ? | 15:56 |
vgoyal | carlos, I have standalone qemu. | 15:56 |
vgoyal | no kata | 15:56 |
vgoyal | just booted into a VM using qemu and trying to configure both 9p as well as virtiofs | 15:56 |
kata-irc-bot | <jose.carlos.venegas.m> got it :slightly_smiling_face: , I am decopling our tests of or metrics CI to allow you you just use kata-deploy (the easier way install kata) | 15:57 |
kata-irc-bot | <jose.carlos.venegas.m> I wonder if that may be helpful to you ? | 15:57 |
vgoyal | carlos, i think what will be helpful for me is that if we can narrow down performance problems in terms of specific fio workload | 15:57 |
vgoyal | i am assuming you are running fio for your performance benchmarking? | 15:58 |
kata-irc-bot | <jose.carlos.venegas.m> yes, the same that Ganesh reported | 15:58 |
kata-irc-bot | <jose.carlos.venegas.m> https://github.com/kata-containers/runtime/issues/2815 | 15:58 |
vgoyal | yep. | 15:58 |
vgoyal | Then I could run fio locally and figure out what was going on and propose a fix upstream | 15:59 |
kata-irc-bot | <jose.carlos.venegas.m> got it | 16:00 |
kata-irc-bot | <jose.carlos.venegas.m> please let me know if you need more information about they way I tests | 16:00 |
kata-irc-bot | <jose.carlos.venegas.m> I will send some steps on how I use and run kata at the end of the day | 16:00 |
kata-irc-bot | <jose.carlos.venegas.m> just in case it is helpful to you | 16:00 |
vgoyal | carlos, sure, do send me the steps you use to set it up. I can give that a try as well | 16:00 |
vgoyal | i do want to know how exactly do you test it and what tests are you running | 16:01 |
kata-irc-bot | <jose.carlos.venegas.m> sure :slightly_smiling_face: | 16:02 |
*** sameo has quit IRC | 16:07 | |
*** sgarzare has quit IRC | 16:14 | |
*** fuentess has joined #kata-dev | 16:23 | |
*** jodh has quit IRC | 17:04 | |
*** fgiudici has quit IRC | 17:21 | |
*** irclogbot_0 has quit IRC | 18:19 | |
*** irclogbot_2 has joined #kata-dev | 18:23 | |
*** irclogbot_2 has quit IRC | 18:31 | |
*** sameo has joined #kata-dev | 18:35 | |
*** irclogbot_0 has joined #kata-dev | 18:35 | |
*** davidgiluk has quit IRC | 19:23 | |
*** pcaruana has quit IRC | 19:26 | |
*** sameo has quit IRC | 21:13 | |
*** tmhoang has quit IRC | 22:09 | |
*** tmhoang has joined #kata-dev | 22:19 | |
*** Yarboa has quit IRC | 22:21 | |
*** vgoyal has quit IRC | 22:24 | |
*** fuentess has quit IRC | 22:51 | |
*** crobinso has quit IRC | 23:50 |
Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!