[Geany-Users] High CPU frequency and CPU usage on Windows

Lex Trotman elextr at xxxxx
Sun Jul 30 22:45:14 UTC 2017


On 31 July 2017 at 00:26, Enrico Tröger <enrico.troeger at uvena.de> wrote:
> On 07/30/2017 02:33 PM, Zoran Valentak wrote:
>> Hi there everyone. I don't usually use mailing lists, so forgive me if I
>> do something wrong. I noticed on Geany installations on my desktop and
>> my laptop that Geny uses significant CPU resources both in terms of CPU
>> usage, which is around 20-30%, and in terms of CPU clock speed, which is
>> closer to max CPU frequency state than it is to the CPUs low clock states.
>>
>> I noticed this on my laptop because I started noticing fan working a lot
>> more than it should. Then I installed HWMonitor and set CPU monitoring
>> only to find out that CPU frequency is set to max 2.4Ghz, when having a
>> Geany windows in focus and especially when typing text, instead of the
>> lowest CPU clock state of 1.2Ghz. This means that CPU temps go up and
>> fan has to turn on.
>>
>> On my desktop it's the same story. CPU is at 3.3Ghz, max frequency, more
>> often than not, while for example editing text in Notepad++ the
>> frequency hovers around 0.8Ghz or in other words, CPUs low frequency state.
>>
>> Desktop specs are: Pentium G4400, 8GB RAM, AMD RX 470
>> Laptop specs are: Core i3-3110, 8GB RAM, Nvidia 710m
>>
>> I use geany with Spellchecker and Save actions plugins active, although
>> I tried disabling all plugins, but it didn't help. Also I use geany
>> 1.31, latest available.
>>
>> I also tested Geany on another computer running Linux Mint and it
>> doesn't seem to be so CPU hungry.
>>
>> Is there something I can do to make my Windows experience of Geany less
>> taxing on the CPU?

There is a known bug in some versions of the the Glib library that
uses a lot of CPU, but it only appears when you use the scope plugin
(as far as we know, but maybe something else triggers it as well).

Try running Geany with no plugins, then enable those you want one at a time.

Its probable that Linux has a different version of the Glib library to
Windows since it is a system library distributed with Mint and not
included with Geany. So it may not have the problem.

Cheers
Lex

>
> Uninstall Windows :).
>
> More seriously, there were a couple of reports like those in the past.
> Yet, I have no idea what might causing this CPU usage.
>
> I personally noticed such CPU usage but I don't use Windows regularly so
> this doesn't mean much.
>
> Maybe it is related to some graphics rendering or to Geany trying to do
> something in the background. Though you said it happens only on focus,
> so it's probably nothing in the background.
>
> I guess the most helpful step would be to use a debugger like "gdb" to
> try to find the cause of CPU usage but this might not be easy.
>
> Regards,
> Enrico
>
> --
> Get my GPG key from http://www.uvena.de/pub.asc
>
>
> _______________________________________________
> Users mailing list
> Users at lists.geany.org
> https://lists.geany.org/cgi-bin/mailman/listinfo/users
>


More information about the Users mailing list