*** th0din has joined #kata-dev | 00:02 | |
*** fuentess has quit IRC | 02:49 | |
*** egernst has quit IRC | 05:08 | |
*** ailan_ has joined #kata-dev | 06:20 | |
*** fgiudici has joined #kata-dev | 06:33 | |
*** snir_ has joined #kata-dev | 06:35 | |
*** egernst has joined #kata-dev | 06:43 | |
*** ailan_ has quit IRC | 06:44 | |
*** egernst has quit IRC | 06:48 | |
*** amorenoz_ has joined #kata-dev | 06:57 | |
*** fgiudici has quit IRC | 06:59 | |
*** pcaruana has quit IRC | 07:11 | |
*** egernst has joined #kata-dev | 07:12 | |
*** fgiudici has joined #kata-dev | 07:12 | |
*** sgarzare has joined #kata-dev | 07:14 | |
*** egernst has quit IRC | 07:18 | |
*** jodh has joined #kata-dev | 07:24 | |
*** pcaruana has joined #kata-dev | 07:40 | |
*** dklyle has quit IRC | 07:50 | |
*** davidgiluk has joined #kata-dev | 07:59 | |
*** sameo has joined #kata-dev | 08:09 | |
*** ailan_ has joined #kata-dev | 08:29 | |
*** egernst has joined #kata-dev | 09:15 | |
*** egernst has quit IRC | 09:19 | |
*** snir_ has quit IRC | 11:05 | |
*** snir has joined #kata-dev | 11:05 | |
*** egernst has joined #kata-dev | 11:16 | |
*** egernst has quit IRC | 11:22 | |
*** fuentess has joined #kata-dev | 12:20 | |
*** crobinso has joined #kata-dev | 12:23 | |
*** devimc has joined #kata-dev | 12:35 | |
*** jodh has quit IRC | 12:39 | |
*** snir has quit IRC | 13:05 | |
kata-irc-bot | <fidencio> Friendly reminder that the Architecture Committee meeting is in *~90 minutes* from the time this message was sent, at 3PM UTC. | 13:29 |
---|---|---|
*** egernst has joined #kata-dev | 13:42 | |
*** egernst has quit IRC | 13:48 | |
*** egernst has joined #kata-dev | 13:49 | |
*** egernst has quit IRC | 14:13 | |
*** egernst has joined #kata-dev | 14:25 | |
*** ailan__ has joined #kata-dev | 14:43 | |
*** ailan_ has quit IRC | 14:46 | |
*** dklyle has joined #kata-dev | 15:09 | |
*** snir has joined #kata-dev | 15:55 | |
*** crobinso has quit IRC | 15:59 | |
kata-irc-bot | <eric.ernst> @christophe -- did you end up experimenting with the shared pages in same memory cgroup? | 16:12 |
kata-irc-bot | <eric.ernst> ie, are they counted once if both processes which share the pages are within that cgroup? | 16:13 |
*** Yarboa has quit IRC | 16:14 | |
*** Yarboa has joined #kata-dev | 16:17 | |
*** fgiudici has quit IRC | 16:33 | |
*** crobinso has joined #kata-dev | 16:43 | |
*** crobinso has quit IRC | 17:07 | |
*** sgarzare has quit IRC | 17:35 | |
*** egernst_ has joined #kata-dev | 17:43 | |
*** egernst has quit IRC | 17:46 | |
*** devimc has quit IRC | 18:17 | |
*** davidgiluk has quit IRC | 19:13 | |
*** amorenoz__ has joined #kata-dev | 19:33 | |
*** amorenoz_ has quit IRC | 19:36 | |
kata-irc-bot | <eric.ernst> virtio balloon :thread:. @jose.carlos.venegas.m I recall you had some fun playing with this before. | 20:29 |
kata-irc-bot | <eric.ernst> What was your final lessons/learnings with this? | 20:29 |
kata-irc-bot | <eric.ernst> Did you play with it in context of kata runtime itself, or was this just with the VMM directlyr. | 20:30 |
kata-irc-bot | <jose.carlos.venegas.m> I have used with kata-runtime, tested with docker, there was some concerns using it with VFIO devices for cases where the ballon driver zap pages used by devices | 20:32 |
kata-irc-bot | <jose.carlos.venegas.m> @eric.ernst also some time ago got merged support for virtio-mem , I am not sure how well it work today | 20:34 |
kata-irc-bot | <eric.ernst> I see; yeah with VFIO and page pinning, thing are a bit different, but I see those as being pretty different use cases likely. | 20:35 |
kata-irc-bot | <eric.ernst> Did/do you have a branch from this work? | 20:35 |
kata-irc-bot | <eric.ernst> Or any gist/docs summarizing your findings? | 20:35 |
kata-irc-bot | <eric.ernst> I'm curious to try this again. | 20:35 |
kata-irc-bot | <jose.carlos.venegas.m> I dont have any docs. Let me search the old PR about it | 20:36 |
kata-irc-bot | <jose.carlos.venegas.m> https://github.com/kata-containers/runtime/pull/793 | 20:38 |
kata-irc-bot | <jose.carlos.venegas.m> @eric.ernst any specific use case you are looking for? probably would worth try virtio-mem ? | 20:39 |
kata-irc-bot | <eric.ernst> I'm just looking at long running pods, and reducing amount of memory used be caches | 20:40 |
kata-irc-bot | <eric.ernst> in the guest. | 20:40 |
kata-irc-bot | <eric.ernst> So, less about event when the container resources change, but more about putting pressure on the guest kernel to reduce memory usage | 20:41 |
kata-irc-bot | <eric.ernst> Guest VM will use all the memory it can for a pod that is active on filesystem. | 20:41 |
kata-irc-bot | <eric.ernst> since it'll cache every bit it can. | 20:41 |
kata-irc-bot | <jose.carlos.venegas.m> and how would be the event to reduce the guest pages? | 20:46 |
kata-irc-bot | <eric.ernst> time? | 20:46 |
kata-irc-bot | <jose.carlos.venegas.m> monitor by the agent if is idle and then ask to reduce memory ? | 20:46 |
kata-irc-bot | <eric.ernst> tbh, I haven't played much with virtio-balloon. | 20:47 |
kata-irc-bot | <jose.carlos.venegas.m> ok, the problem with ballon or virtio-mem is that there is a request to the VMM to reduce the memory the guest see, not just mark pages to give back to the host | 20:49 |
kata-irc-bot | <jose.carlos.venegas.m> so it is needed to ask to the VMM what is the new memory size that the guest can see | 20:49 |
kata-irc-bot | <jose.carlos.venegas.m> I think better want to restrict the cache size of the guest kernel + mark pages to be freed by the guest ? | 20:50 |
kata-irc-bot | <jose.carlos.venegas.m> about cache, you are talking about cache pages from the filesystem ? | 20:52 |
kata-irc-bot | <eric.ernst> Yeah, got it. | 20:53 |
kata-irc-bot | <eric.ernst> Really, I want the guest to see what the pod limits are + a fixed amount that I expect the guest services to require (ie, agent) | 20:54 |
kata-irc-bot | <eric.ernst> So, once the VMM starts and the containers are all setup, I'd want to ask the VMM to restrict the amount of memory it sees. | 20:54 |
kata-irc-bot | <eric.ernst> Without this, the guest will keep its page cache, dentry cache until memory is exhausted. | 20:54 |
*** amorenoz__ has quit IRC | 21:20 | |
*** sameo has quit IRC | 21:34 | |
*** devimc has joined #kata-dev | 22:17 | |
*** fuentess has quit IRC | 23:27 | |
*** devimc has quit IRC | 23:29 |
Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!