Friday, 2019-04-26

*** eernst_ has quit IRC00:03
*** eernst has joined #kata-dev00:09
*** eernst has quit IRC00:11
*** eernst has joined #kata-dev00:11
*** eernst_ has joined #kata-dev00:13
*** eernst has quit IRC00:13
*** eernst_ has quit IRC00:17
*** Jeffrey4l has left #kata-dev00:58
*** pcaruana has joined #kata-dev04:23
*** igordc has joined #kata-dev05:49
*** igordc has quit IRC05:54
*** igordc has joined #kata-dev05:54
*** igordc has quit IRC06:02
*** pcaruana has quit IRC06:48
*** pcaruana has joined #kata-dev06:55
*** lpetrut has joined #kata-dev07:19
*** sgarzare has joined #kata-dev07:22
*** jodh has joined #kata-dev07:32
*** lpetrut has quit IRC08:02
*** gwhaley has joined #kata-dev08:03
*** sgarzare has quit IRC10:34
*** gwhaley has quit IRC11:11
*** sgarzare has joined #kata-dev11:26
*** devimc has joined #kata-dev11:56
*** stackedsax has quit IRC12:02
*** stackedsax has joined #kata-dev12:03
*** gwhaley has joined #kata-dev12:10
*** sgarzare has quit IRC13:36
*** sgarzare has joined #kata-dev13:37
kata-irc-bot2<james.o.hunt> @mvedovati - hi! You may have missed the ping, but do you know how to install pip on SLES 12? :slightly_smiling_face: I think I need that to be able to install `yamllint` on that distro.13:46
kata-irc-bot2<mvedovati> hey @james.o.hunt. hasn't @gabriela.cervantes.te answered to it already? It should be `zypper in python2-pip`13:47
kata-irc-bot2<james.o.hunt> @mvedovati - doh! I am really, *really* going off chrome and it's lazy page loads/unloads. A bypass-caching page reload now shows me her message - thanks!13:49
kata-irc-bot2<mvedovati> lol :slightly_smiling_face: now that i am checking, `yamllint` is provided as a package too13:50
*** tmhoang has quit IRC13:51
*** tmhoang has joined #kata-dev13:51
kata-irc-bot2<james.o.hunt> really? Does it have an odd name as I'd originally tried to install it, but it wasn't found? Maybe a different repo I need to add?13:52
kata-irc-bot2<mvedovati> there's both `python2-yamllint` and `python3-yamllint` packages13:58
kata-irc-bot2<mvedovati> i'm speaking for openSUSE, but for SLE *should* be the same13:58
kata-irc-bot2<mvedovati> @james.o.hunt ^13:58
kata-irc-bot2<james.o.hunt> @mvedovati - does sles only have the `python2` package though I wonder?14:03
kata-irc-bot2<mvedovati> @james.o.hunt I checked14:13
kata-irc-bot2<mvedovati> I am afraid `pip` may not be available in the base repositories14:13
kata-irc-bot2<mvedovati> for SLE12SP314:13
kata-irc-bot2<mvedovati> the only way to officially add it is to enable the "Public Cloud" module14:15
kata-irc-bot2<mvedovati> @james.o.hunt, however, after some googling you can do like this: ``` $ sudo zypper in python-setuptools $ sudo easy_install pip ```14:18
kata-irc-bot2<james.o.hunt> @mvedovati - sorry - all we actually need is `yamllint`. I was installing `pip` to allow me to install `yamllint` from `pip`. But if we can just install official `yamllint` packages directly with `zypper`, that's perfect ;)14:23
kata-irc-bot2<james.o.hunt> So my only question is: "does sles 12 have `python3-yamllint` or does it only have `python2-yamllint`?"14:23
kata-irc-bot2<mvedovati> @james.o.hunt neither of those unluckily. those packages are only available in openSUSE14:24
kata-irc-bot2<mvedovati> sorry for the ambiguity14:24
*** devimc has quit IRC14:25
*** devimc has joined #kata-dev14:25
*** devimc has joined #kata-dev14:25
kata-irc-bot2<james.o.hunt> @mvedovati - Hmm, SLES still not happy: `No provider of 'python2-pip' found.`14:32
kata-irc-bot2<mvedovati> @james.o.hunt do like this to install `pip`: https://katacontainers.slack.com/archives/C879ACQ00/p155628831916470014:32
kata-irc-bot2<james.o.hunt> I'm afraid to ask, but would that be `python2-setuptools` for sles? :slightly_smiling_face:14:33
kata-irc-bot2<mvedovati> @james.o.hunt, it's just `python-setuptools` :slightly_smiling_face: no worry you can ask if in doubt14:38
*** kashyap has joined #kata-dev14:44
kata-irc-bot2<james.o.hunt> @mvedovati - from the opensuse CI logs: `Package 'python3-yamllint' not found.`14:45
*** devimc_ has joined #kata-dev14:48
kata-irc-bot2<mvedovati> @james.o.hunt I should have mentioned before, those packages are only available on openSUSE Tumbleweed and Leap 15.114:49
*** devimc has quit IRC14:49
*** eernst has joined #kata-dev15:11
*** devimc_ has quit IRC16:15
*** devimc has joined #kata-dev16:18
*** igordc has joined #kata-dev16:18
*** devimc has quit IRC17:01
*** jodh has quit IRC17:01
*** devimc has joined #kata-dev17:02
*** sgarzare has quit IRC17:45
*** gwhaley has quit IRC17:51
*** dims has quit IRC19:25
*** dims has joined #kata-dev19:30
*** dims has quit IRC19:31
*** gmmaharaj has joined #kata-dev19:47
*** gmmaha has quit IRC19:49
*** gmmaharaj is now known as gmmaha19:49
*** khyr0n has joined #kata-dev20:06
*** devimc has quit IRC20:30
*** dims has joined #kata-dev20:48
*** pcaruana has quit IRC21:16
kata-irc-bot2<gmmaharaj> hey @salvador.fuentes around?21:25
kata-irc-bot2<gmmaharaj> friday evening the worst time to ping someone.. my most sincere apologies for that.21:25
kata-irc-bot2<salvador.fuentes> hi @gmmaharaj still here21:38
kata-irc-bot2<gmmaharaj> hey there @salvador.fuentes21:38
kata-irc-bot2<gmmaharaj> i am trying to get virtio-fs enabled with our current tree. we were wondering if we can add some jobs where we test it out. Just the basic feature wise.21:39
kata-irc-bot2<gmmaharaj> is that something you can help with?21:39
kata-irc-bot2<salvador.fuentes> sure, I was thinking in using the existing nemu job, wdyt?21:40
kata-irc-bot2<gmmaharaj> ohh that would definitely work21:41
kata-irc-bot2<salvador.fuentes> yeah, we would only need to configure virtio-fs when testing with nemu, do you know if it is stable enough to try to run all tests? or we should start with some subset21:43
kata-irc-bot2<gmmaharaj> i am not really sure about the stability.. haven't been able to test it that extensively.21:44
kata-irc-bot2<gmmaharaj> can we run a single build with the full subset. if it fails, we can scale back?21:44
kata-irc-bot2<salvador.fuentes> sure, do you have the directions to configure it?21:45
kata-irc-bot2<gmmaharaj> https://virtio-fs.gitlab.io/howto-kata.html21:45
kata-irc-bot2<gmmaharaj> the one that is most important for us is this.21:45
kata-irc-bot2<gmmaharaj> https://gitlab.com/virtio-fs/runtime/snippets/1846963/raw21:46
kata-irc-bot2<gmmaharaj> grep for `virtio_fs` there21:46
kata-irc-bot2<gmmaharaj> the ones we care about are, `shared_fs`, `virtio_fs_daemon`, 'virtio_fs_cache_size`, `virtio_fs_cache` and `enable_hugepages `21:47
*** igordc has quit IRC21:55
kata-irc-bot2<salvador.fuentes> thanks, taking a look22:01
*** khyr0n has quit IRC22:06
kata-irc-bot2<archana.m.shinde> @gmmaharaj dont think you need `enable_hugepages`22:07
kata-irc-bot2<gmmaharaj> @archana.m.shinde i thought virtio-fs needs hugepage support so that the qemu will create that mapping file for handling memory mapping22:07
kata-irc-bot2<archana.m.shinde> I'll let @sebastien.boeuf comment ^, but if we need hugepages then it would be quite limiting22:09
kata-irc-bot2<sebastien.boeuf> we don't need hugepages, but that's the easy way to get /dev/shm shared file backing the shared memory22:10
kata-irc-bot2<sebastien.boeuf> the code (kata) requires some changes to allow shared memory without hugepages22:11
kata-irc-bot2<eric.ernst> (agreed on it being limiting)22:11
kata-irc-bot2<eric.ernst> its experimental start though...22:11
kata-irc-bot2<sebastien.boeuf> the way qemu/govmm is implemented, the shared memory config flag is only taken into account if you have a factory I think22:12
kata-irc-bot2<sebastien.boeuf> but yeah long term we should make sure the shared memory get enabled by using virtio-fs22:12
kata-irc-bot2<sebastien.boeuf> the requirement about this should be transparent for the user22:12
kata-irc-bot2<archana.m.shinde> @sebastien.boeuf ok understood, was not aware of this condition22:14
kata-irc-bot2<eric.ernst> same here.22:14
kata-irc-bot2<sebastien.boeuf> which condition?22:14
kata-irc-bot2<eric.ernst> (looks to see if there's a design doc PR yet)22:14
kata-irc-bot2<sebastien.boeuf> the need for /dev/shm, OR the limitation from Kata code?22:15
kata-irc-bot2<sebastien.boeuf> https://github.com/kata-containers/runtime/pull/1016#issuecomment-48180959322:16
kata-irc-bot2<sebastien.boeuf> https://github.com/kata-containers/runtime/pull/1016#issuecomment-48249865122:16
kata-irc-bot2<sebastien.boeuf> Stefan will take care of it as a follow up PR22:17
kata-irc-bot2<archana.m.shinde> @sebastien.boeuf both, like Eric mentioned would be good to have the design doc22:19
kata-irc-bot2<archana.m.shinde> the number of huge pages on a system are limited, by making the entire VM memory backed by huge pages we essentially reduce container density I think22:20
kata-irc-bot2<sebastien.boeuf> yes that makes sense22:21
kata-irc-bot2<archana.m.shinde> @sebastien.boeuf so its just the /dev/shm that needs to be huge pages? I dont totally have the entire picture22:21
kata-irc-bot2<sebastien.boeuf> no, we don't even *need* hugepages. We *need* the guest RAM to be backed by a shared file `/dev/shm` equivalent to the size of the RAM, but the only way to enable this QEMU feature easily from Kata is to use the "hugepages" config option in our toml22:23
kata-irc-bot2<archana.m.shinde> ok22:25
kata-irc-bot2<sebastien.boeuf> when playing with virtio-fs , I never used hugepages22:25
kata-irc-bot2<sebastien.boeuf> as mentioned by stefan, hugepages might give you better performances, according to the type of files that you're trying to share22:26
kata-irc-bot2<sebastien.boeuf> and usually those files being more than 4K, you get better perfs with hugepages22:27
kata-irc-bot2<archana.m.shinde> ok got it22:30
kata-irc-bot2<archana.m.shinde> we need to cleanly expose a mechanism to have memory backed by a file on the host22:31
kata-irc-bot2<gmmaharaj> aaah clearly my understanding was wrong.22:38
kata-irc-bot2<gmmaharaj> thanks for the clarification @archana.m.shinde @sebastien.boeuf @eric.ernst22:38
kata-irc-bot2<sebastien.boeuf> np22:38
*** eernst has quit IRC22:56

Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!