kaoto icon indicating copy to clipboard operation
kaoto copied to clipboard

Between 15% and 30% CPU taken when kaoto is opened without any action

Open apupier opened this issue 1 year ago • 6 comments

Describe the Bug

I notice an high usage of CPU with just kaoto page opened (without any interaction for a while)

Steps to Reproduce the Bug or Issue

  1. Open Kaoto
  2. Do some action, then stop
  3. --> CPU saty at relatively high usage

Screenshots or Videos

Firefox 2024-01-15 15.48 profile.json.gz

Platform

Online Kaoto version

apupier avatar Jan 15 '24 14:01 apupier

it is even more than 50% when the Catalog is opened Firefox 2024-01-15 15.53 profile.json.gz

apupier avatar Jan 15 '24 14:01 apupier

(RM) Please update it with details from the patternfly team

lordrip avatar Jan 16 '24 12:01 lordrip

My observations: The web version of Kaoto has no significant footprint on the system performance. I tried with only canvas open and also with catalog open and with both tests my system was continuing between 3 and 5% system load.

VS Code: VS Code itself has already quite some footprint. When invoking "Create yaml route" jbang then takes quite a peak in the resource consumption for a limited time. After that the system load is at 6-10%. Opening up the catalog takes a short peak in performance and returns quickly to 6-10%.

Tested on Win11 with AMD Ryzen 5 7600 6 Core CPU / 12 VCores with 64 GB RAM and a NVidia 4060TI card, so a rather strong setup.

lhein avatar Apr 03 '24 05:04 lhein

It is even worse for me now, the CPU load stays above 50%, here with Firefox: image

Fedora 39 Firefox 124.0.1

similar issue with Chrome 123.0.6312.86 : image

Intel Core i7-8650U 8 CPU / 32Gb RAM

apupier avatar Apr 03 '24 07:04 apupier

Tested on my P1 now and I cannot reproduce this. Wondering if that is maybe a local problem on your end.

Update: When using the top command I can monitor similar values but I think that is maybe a misinterpretation of values. If you check for instance gnome-system-monitor or the mpstat command you will see that the CPU utilization is around 6% in my case for the whole Firefox process.

lhein avatar Apr 18 '24 05:04 lhein

I know that it triggers the fan of my laptop so there are good chance that it is more than 6%.

apupier avatar Apr 18 '24 06:04 apupier