Re: [Libreoffice] master eat CPU even when it does nothing [fixed]
On Wed, 2011-11-02 at 05:55 +0100, Jean-Baptiste Faure wrote: Build in progress. :-) With the fix by Bjoern, smoketest does not block anymore my tests. And I confirm that your fix solves the CPU problem for me. Wonderful :-) good to know. Thank you very much Thanks for building testing so studiously ! :-) Regards, Michael. -- michael.me...@suse.com , Pseudo Engineer, itinerant idiot ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice
Re: [Libreoffice] master eat CPU even when it does nothing [fixed]
On Sat, 2011-10-29 at 07:12 +0200, Jean-Baptiste Faure wrote: In Writer: open a new text document and do nothing else = CPU ~100% of one core Should be fixed in master :-) more testing of course much appreciated. Thanks ! Michael. -- michael.me...@suse.com , Pseudo Engineer, itinerant idiot ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice
Re: [Libreoffice] master eat CPU even when it does nothing [fixed]
Le 01/11/2011 14:02, Michael Meeks a écrit : On Sat, 2011-10-29 at 07:12 +0200, Jean-Baptiste Faure wrote: In Writer: open a new text document and do nothing else = CPU ~100% of one core Should be fixed in master :-) more testing of course much appreciated. Thanks ! Michael. Thanks ! Build in progress. :-) JBF -- Seuls des formats ouverts peuvent assurer la pérennité de vos documents. ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice
Re: [Libreoffice] master eat CPU even when it does nothing [fixed]
Hi Michael, Le 01/11/2011 14:14, Jean-Baptiste Faure a écrit : Le 01/11/2011 14:02, Michael Meeks a écrit : On Sat, 2011-10-29 at 07:12 +0200, Jean-Baptiste Faure wrote: In Writer: open a new text document and do nothing else = CPU ~100% of one core Should be fixed in master :-) more testing of course much appreciated. Thanks ! Michael. Thanks ! Build in progress. :-) With the fix by Bjoern, smoketest does not block anymore my tests. And I confirm that your fix solves the CPU problem for me. Thank you very much Best regards. JBF -- Seuls des formats ouverts peuvent assurer la pérennité de vos documents. ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice
Re: [Libreoffice] master eat CPU even when it does nothing
On Sat, 2011-10-29 at 17:38 -0400, Kevin Hunter wrote: I don't specifically, but my hunch is that it's some interaction with the newly merged GTK code. Almost certainly it's my fault ;-) I'll dig into it later today - thanks for the testing feedback. ATB, Michael. -- michael.me...@suse.com , Pseudo Engineer, itinerant idiot ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice
Re: [Libreoffice] master eat CPU even when it does nothing
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 29/10/11 23:59, Arno Teigseth wrote: 6000 calls/second to Application::Yield in core/vcl/source/app/svapp.cxx (I think) ok I reverted to the commit 40360820036a5d6a3359d1b5ec748a47a7edd85f (from Tue Oct 25 13:50:37 2011 +0300), just before the Meeks' series of patches, rebuilt, and CPU load is now back to 0% when idling on a 3300 page text doc :D so yes, I think the GTK patches has something to do with this Arno -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk6upK0ACgkQEMIGVCc8BjAG+wCfT4AFG30NyznxFKrscTgkGlJo VdUAn21SrZ+kUGnOFVQOP1HNYzOzd3Ew =Wazg -END PGP SIGNATURE- ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice
Re: [Libreoffice] master eat CPU even when it does nothing
At 1:12am -0400 Sat, 29 Oct 2011, Jean-baptiste Faure wrote: I already noticed these cpu problems in my own build since 2 or 3 days, but I can't be more precise. Does somebody has a clue about the cause (which commit?) of this CPU consumption? I don't specifically, but my hunch is that it's some interaction with the newly merged GTK code. I've noticed the same CPU utilization, but -- like you -- have been unable to say exactly what triggers it; I can only say when I started noticing it. Cheers, Kevin ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice
Re: [Libreoffice] master eat CPU even when it does nothing
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 29/10/11 16:38, Kevin Hunter wrote: At 1:12am -0400 Sat, 29 Oct 2011, Jean-baptiste Faure wrote: I already noticed these cpu problems in my own build since 2 or 3 days, but I can't be more precise. Does somebody has a clue about the cause (which commit?) of this CPU consumption? I don't specifically, but my hunch is that it's some interaction with the newly merged GTK code. I've noticed the same CPU utilization, but -- like you -- have been unable to say exactly what triggers it; I can only say when I started noticing it. +1 for I don't know either. here are my cents for behaviour (1 day old build): LO welcome screen: ~0% CPU. good. LO swriter with empty text doc: ~50% CPU (one core). Not so good LO impress, the first wizard window: ~100% CPU (one core). Not good. LO scalc, empty sheet: several %, can't remember right now. (all with zero input activity). What puzzles me is that LO isn't very slow, it's just using lots of CPU... best Arno -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk6stG0ACgkQEMIGVCc8BjBZFACgrxyCM1APxkSEUbBzbi1OVKRg wNoAoOaVwKbKjhAJTa1+6/6OS6yIXiss =/H0M -END PGP SIGNATURE- ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice
Re: [Libreoffice] master eat CPU even when it does nothing
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 29/10/11 21:20, Arno Teigseth wrote: What puzzles me is that LO isn't very slow, it's just using lots of CPU... Eh, I'd like to correct that. Just opened a document and it's very slow. The doc is just about 3200 pages, but it takes forever to search for a word. A few weeks ago this took maybe 1-2 secs for a searchreplace all. Now it takes like 2 minutes... Arno -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk6suAkACgkQEMIGVCc8BjC1PwCeLaxk/guFhJ0gb9y4YIaByszE uM4AnijgA6g0dgmMGQJqs9GWmaKZplMV =fT9c -END PGP SIGNATURE- ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice
Re: [Libreoffice] master eat CPU even when it does nothing
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 OK thanks to moggi on libreoffice-dev irc, I installed valgrind. Found that running in one terminal: valgrind --trace-children=yes --tool=callgrind ./swriter and in another terminal, after about 2 mins of empty swriter document idle doing this: callgrind_control -b 28236 (the actual swriter PID) gives this: PID 28236: /home/arno/sys/libreoffice-git/core/solver/unxlngx6.pro/installation/opt/program/soffice.bin - --writer --splash-pipe=6 [requesting 'Status'...] Frame: Backtrace for Thread 1 [ 0] _int_free (967869 x) [ 1] free_check (983990 x) [ 2] free (449741 x) [ 3] operator delete(void*) (322182 x) [ 4] GtkHookedYieldMutex::ThreadsEnter() (322183 x) [ 5] GdkThreadsEnter (161078 x) [ 6] 0x00059cf0 (161078 x) [ 7] g_main_context_prepare (161147 x) [ 8] 0x00042ed0 (161130 x) [ 9] g_main_context_iteration (161010 x) [10] GtkData::Yield(bool, bool) (161010 x) [11] GtkInstance::Yield(bool, bool) (161010 x) [12] Application::Yield(bool) (161009 x) and a lot more, to be read at http://pastebin.com/YuEvQC4y I don't have a clue about how to interpret this. But if these are function calls, maybe about a million calls are much? Compared to GIMP running idle for 5 minutes, and it had just about 5500 calls to different things... Hope this tells someone something. best Arno -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk6sv00ACgkQEMIGVCc8BjBDdQCfcKW5nLDZJkSQ3JFxt2waYkwc 9WsAoLqzdWTYKhGGDPqsUBmT6fpAVh3N =HmDk -END PGP SIGNATURE- ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice
Re: [Libreoffice] master eat CPU even when it does nothing
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 29/10/11 22:06, Arno Teigseth wrote: I don't have a clue about how to interpret this. But if these are function calls, maybe about a million calls are much? tried with kcachegrind: 6000 calls/second to Application::Yield in core/vcl/source/app/svapp.cxx (I think) kcachegrind screenshot http://derp.co.uk/51b93 Arno -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk6s2bQACgkQEMIGVCc8BjCxOgCgiLvux5UHzDQdSsI18d2FzVKr N7IAnRk3oc5MVFQps2WnjuhSUwnjF8ae =PHwY -END PGP SIGNATURE- ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice
[Libreoffice] master eat CPU even when it does nothing
Hi, Current master daily build (2011-10-28_12.04.03 : LibO-dev 3.5.0 Build ID: 2a91e5b-522e9fe-c4051ff-3b66bd0-672ed49) has a problem that was not in the previous daily build (2011-10-24_10.58.48): In Writer: open a new text document and do nothing else = CPU ~100% of one core In Calc : open a new spreadsheet: each time you type a value in a cell, the CPU jumps to 100% of a core. As Cédric did not commit code related to header/footer (which use a lot of timer, AFAIK) between 2011-10-24 and 2011-10-28, I guess both problem have the same root cause. I already noticed these cpu problems in my own build since 2 or 3 days, but I can't be more precise. Does somebody has a clue about the cause (which commit?) of this CPU consumption? Best regards. JBF -- Seuls des formats ouverts peuvent assurer la pérennité de vos documents. ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice