[Zim-wiki] zim 5.9 and CPU load on win7

2013-04-04 Thread Svenn Are Bjerkem
Hi,
anybody noted a constant CPU load on win7 (or windows in general)?
Task manager show that zim has a steady load of 13 and my laptop fan runs
all the time.
When running off the battery, zim will reduce expected battery life time
from four hours to one and a half after running for a few minutes. Stopping
zim, increases expected battery life time again after a while. No other
serious applications are running while I do this experiment. I am doing no
work in zim while observing this.

I can't really remember if I had this high CPU load with previous versions
of zim. If nobody else experience this, then there must be a problem with
my install, otherwise I would like to learn how it is possible to reduce
the CPU load.

-- 
Svenn
___
Mailing list: https://launchpad.net/~zim-wiki
Post to : zim-wiki@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zim-wiki
More help   : https://help.launchpad.net/ListHelp


Re: [Zim-wiki] zim 5.9 and CPU load on win7

2013-04-04 Thread Jaap Karssenberg
On Thu, Apr 4, 2013 at 10:06 AM, Svenn Are Bjerkem <
svenn.bjer...@googlemail.com> wrote:

>
> Hi,
> anybody noted a constant CPU load on win7 (or windows in general)?
> Task manager show that zim has a steady load of 13 and my laptop fan runs
> all the time.
> When running off the battery, zim will reduce expected battery life time
> from four hours to one and a half after running for a few minutes. Stopping
> zim, increases expected battery life time again after a while. No other
> serious applications are running while I do this experiment. I am doing no
> work in zim while observing this.
>
> I can't really remember if I had this high CPU load with previous versions
> of zim. If nobody else experience this, then there must be a problem with
> my install, otherwise I would like to learn how it is possible to reduce
> the CPU load.
>

I run on windows 7 all the time myself and definitely don't experience such
problems.

However I have heard of reports on other platforms where disabling the
Attachment Browser plugin would fix such a problem, you might give that a
shot. (Still don't know why that would fix it - might be due to gio polling
the file system...)

Regards,

Jaap
___
Mailing list: https://launchpad.net/~zim-wiki
Post to : zim-wiki@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zim-wiki
More help   : https://help.launchpad.net/ListHelp


Re: [Zim-wiki] zim 5.9 and CPU load on win7

2013-04-17 Thread Svenn Are Bjerkem
A short update on zim 0.59 on win7 and CPU load.

I just happened to fire up the external editor in the 'insert symbol' plugin
I noted that the fan started running almost immediately.
Inspecting the CPU load showed that zim.exe was using 13% of the CPU
When I closed the external editor and the dialogs, the CPU load was still
13% until i finally closed zim.
I then tried to use the external editor on a regular page.
The load increased again.
When closing the external editor the load decreased and the fan went back
to silent.
I then did the insert symbol, edit, thing again and load increased.
The load did not decrease when closing the external editor.

I have been using zim every day since my previous report without noting
that the fan speed increased.
I did not use the external editor during this period until I clicked the
wrong button in insert symbol dialog today.

Anybody cares to try to reproduce?

-- 
Svenn
___
Mailing list: https://launchpad.net/~zim-wiki
Post to : zim-wiki@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zim-wiki
More help   : https://help.launchpad.net/ListHelp


Re: [Zim-wiki] zim 5.9 and CPU load on win7

2013-04-17 Thread Jaap Karssenberg
On Wed, Apr 17, 2013 at 2:06 PM, Svenn Are Bjerkem
 wrote:
> A short update on zim 0.59 on win7 and CPU load.
>
> I just happened to fire up the external editor in the 'insert symbol' plugin
> I noted that the fan started running almost immediately.
> Inspecting the CPU load showed that zim.exe was using 13% of the CPU
> When I closed the external editor and the dialogs, the CPU load was still
> 13% until i finally closed zim.
> I then tried to use the external editor on a regular page.
> The load increased again.
> When closing the external editor the load decreased and the fan went back to
> silent.
> I then did the insert symbol, edit, thing again and load increased.
> The load did not decrease when closing the external editor.
>
> I have been using zim every day since my previous report without noting that
> the fan speed increased.
> I did not use the external editor during this period until I clicked the
> wrong button in insert symbol dialog today.
>
> Anybody cares to try to reproduce?


Quick check on my system does not show this - no CPU load whatsoever
from the zim process.

Also checked code for edit source, but nothing there that might loop.
So not sure how to investigate.

Regards,

Jaap

___
Mailing list: https://launchpad.net/~zim-wiki
Post to : zim-wiki@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zim-wiki
More help   : https://help.launchpad.net/ListHelp


Re: [Zim-wiki] zim 5.9 and CPU load on win7

2013-04-17 Thread Mariano Draghi
Interesting finding.

I can reproduce what you're describing, but for me, even when
launching the external editor on a regular page, the CPU usage won't
go down to normal until I close Zim. From your report I understand
that when you launch the editor from the "Insert plugin" dialog the
CPU usage hangs until you close Zim, but when launching it from a
regular page, the CPU gets back no normal once you close the editor,
right?

Well... in my case, the only way to go back to the normal CPU usage is
to close Zim, on both cases.

Tested on a Windows 7 Enterprise 64 bits SP1, up to date, using the
regular, "Desktop" Zim 0.59 build from here:
http://www.glump.net/software/zim-windows

Svenn, are you using that Zim build also?

Jaap, maybe you're testing on development/source code build, and
that's why you can't reproduce the issue?

I use Windows 7 regularly at my job, so if anyone needs further
testing, just propose it, and I'll try to make the time. But without
further instructions I really don't know how to debug this in more
detail.




--
Mariano


On Wed, Apr 17, 2013 at 9:06 AM, Svenn Are Bjerkem
 wrote:
> A short update on zim 0.59 on win7 and CPU load.
>
> I just happened to fire up the external editor in the 'insert symbol' plugin
> I noted that the fan started running almost immediately.
> Inspecting the CPU load showed that zim.exe was using 13% of the CPU
> When I closed the external editor and the dialogs, the CPU load was still
> 13% until i finally closed zim.
> I then tried to use the external editor on a regular page.
> The load increased again.
> When closing the external editor the load decreased and the fan went back to
> silent.
> I then did the insert symbol, edit, thing again and load increased.
> The load did not decrease when closing the external editor.
>
> I have been using zim every day since my previous report without noting that
> the fan speed increased.
> I did not use the external editor during this period until I clicked the
> wrong button in insert symbol dialog today.
>
> Anybody cares to try to reproduce?
>
> --
> Svenn
>
> ___
> Mailing list: https://launchpad.net/~zim-wiki
> Post to : zim-wiki@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~zim-wiki
> More help   : https://help.launchpad.net/ListHelp
>

___
Mailing list: https://launchpad.net/~zim-wiki
Post to : zim-wiki@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zim-wiki
More help   : https://help.launchpad.net/ListHelp


Re: [Zim-wiki] zim 5.9 and CPU load on win7

2013-04-17 Thread Jaap Karssenberg
OK, thanks for confirming it is reproducible - please open a bug
report for this.

Regards,

Jaap

On Wed, Apr 17, 2013 at 4:01 PM, Mariano Draghi  wrote:
> Interesting finding.
>
> I can reproduce what you're describing, but for me, even when
> launching the external editor on a regular page, the CPU usage won't
> go down to normal until I close Zim. From your report I understand
> that when you launch the editor from the "Insert plugin" dialog the
> CPU usage hangs until you close Zim, but when launching it from a
> regular page, the CPU gets back no normal once you close the editor,
> right?
>
> Well... in my case, the only way to go back to the normal CPU usage is
> to close Zim, on both cases.
>
> Tested on a Windows 7 Enterprise 64 bits SP1, up to date, using the
> regular, "Desktop" Zim 0.59 build from here:
> http://www.glump.net/software/zim-windows
>
> Svenn, are you using that Zim build also?
>
> Jaap, maybe you're testing on development/source code build, and
> that's why you can't reproduce the issue?
>
> I use Windows 7 regularly at my job, so if anyone needs further
> testing, just propose it, and I'll try to make the time. But without
> further instructions I really don't know how to debug this in more
> detail.
>
>
>
>
> --
> Mariano
>
>
> On Wed, Apr 17, 2013 at 9:06 AM, Svenn Are Bjerkem
>  wrote:
>> A short update on zim 0.59 on win7 and CPU load.
>>
>> I just happened to fire up the external editor in the 'insert symbol' plugin
>> I noted that the fan started running almost immediately.
>> Inspecting the CPU load showed that zim.exe was using 13% of the CPU
>> When I closed the external editor and the dialogs, the CPU load was still
>> 13% until i finally closed zim.
>> I then tried to use the external editor on a regular page.
>> The load increased again.
>> When closing the external editor the load decreased and the fan went back to
>> silent.
>> I then did the insert symbol, edit, thing again and load increased.
>> The load did not decrease when closing the external editor.
>>
>> I have been using zim every day since my previous report without noting that
>> the fan speed increased.
>> I did not use the external editor during this period until I clicked the
>> wrong button in insert symbol dialog today.
>>
>> Anybody cares to try to reproduce?
>>
>> --
>> Svenn
>>
>> ___
>> Mailing list: https://launchpad.net/~zim-wiki
>> Post to : zim-wiki@lists.launchpad.net
>> Unsubscribe : https://launchpad.net/~zim-wiki
>> More help   : https://help.launchpad.net/ListHelp
>>
>
> ___
> Mailing list: https://launchpad.net/~zim-wiki
> Post to : zim-wiki@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~zim-wiki
> More help   : https://help.launchpad.net/ListHelp

___
Mailing list: https://launchpad.net/~zim-wiki
Post to : zim-wiki@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zim-wiki
More help   : https://help.launchpad.net/ListHelp