-
Notifications
You must be signed in to change notification settings - Fork 364
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
New VMs cause exponential slowness /plugins/kimchi/vms AJAX request #1130
Comments
Hi @ss23 The problem related to About the delay on |
@alinefm Nothing I know of to explain it. It's a somewhat unsual situation perhaps, there 6 networks, using openvswitch. |
Not sure how much more useful this information is, but: When I first start wokd, the relevant python processes are doing nothing. That is, they are using no measurable amount of CPU. An strace at this point shows a somewhat expected situation,
Unfortunately I'm lacking the context to understand what's going on here. In any case, using 100% of a core as soon as someone loads any page in Kimchi is not optimal. |
The above issue is fixed with the fix of kimchi-project/wok#217, which seems to have measurably sped up the networks and devices calls. The remaining very slow call is to |
@overcookedTOFU no! Thanks for updating it. I am closing this issue by now. |
@overcookedTOFU @alinefm I don't think this issue is resolved? I've installed the latest version of wok/kimchi and if anything it seems to be slightly worse - currently at 10 seconds to load Can the issue be reopened, or is it tracked somewhere else? |
@ss23 Sure! I will reopen it and investigate better later. |
As we have added more VMs (currently at 13 VMs) the AJAX call to
/plugins/kimchi/vms
has slowed down exponentially. It currently takes approximately 30 seconds to complete.The server has 10 cores, a load of <3, four SSDs in RAID10, and a dual gigabit ethernet connection, so I wouldn't expect it to be something to do with the server being overloaded.
There are some other unsually slow requests:
/plugins/kimchi/networks
takes approximately 6 seconds when clicking "edit" on a VM, as does/plugins/kimchi/host/devices?_passthrough=true&_cap=pci&_available_only=true
which takes approximately the same amount of time.All other requests take sub 50ms.
I'm unsure if this is a bug, but is anyone else experiencing this, or know how to debug/fix?
The text was updated successfully, but these errors were encountered: