Kkubevirt-botksm: simplify logic
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
ksm: simplify logic With the introduction of the informer/store we can simplify the ksm loop logic. The main idea of conditional looping was to reduce the GET api calls. Since now the usage of the store solved this issue, we can simply loop every 3 minutes and check the node/ksm config. With this, we can avoid being fed by the node update informer. Signed-off-by: fossedihelm <ffossemo@redhat.com> | 7 个月前 | |
ksm: simplify logic With the introduction of the informer/store we can simplify the ksm loop logic. The main idea of conditional looping was to reduce the GET api calls. Since now the usage of the store solved this issue, we can simply loop every 3 minutes and check the node/ksm config. With this, we can avoid being fed by the node update informer. Signed-off-by: fossedihelm <ffossemo@redhat.com> | 7 个月前 | |
ksm: move to its own pkg Signed-off-by: fossedihelm <ffossemo@redhat.com> | 7 个月前 | |
ksm: use node informer instead of oneshot cache Alongside, reduce the loop timer from 10 to 3 minutes, since retrieving obj from informer is O(1) Signed-off-by: fossedihelm <ffossemo@redhat.com> | 7 个月前 |