Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Openoffice sluggish after emerge -uND world
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
philip
Guru
Guru


Joined: 10 Jun 2003
Posts: 535
Location: Sweden

PostPosted: Thu Oct 14, 2010 6:05 pm    Post subject: Openoffice sluggish after emerge -uND world Reply with quote

My OO application has worked fine for a ling time. But after the last emerge -uDN world it has become extremely sluggish. Especially the Impress application.

I run

Quote:
# emerge --search openoffice
Searching...
[ Results for search key : openoffice ]
[ Applications found : 3 ]

* app-office/openoffice
Latest version available: 3.2.0
Latest version installed: 3.2.0
Size of files: 496,480 kB
Homepage: http://go-oo.org
Description: OpenOffice.org, a full office productivity suite.
License: LGPL-2



# top shows
Quote:
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
8535 root 20 0 2516 1228 892 R 100 0.0 17:22.76 top
8109 philip 20 0 544m 371m 83m R 96 9.2 22:15.25 soffice.bin
5141 root 20 0 77672 65m 10m S 2 1.6 30:38.29 X


Does anybody else experience this? Any cure?
_________________
/Phil
Back to top
View user's profile Send private message
audiodef
Watchman
Watchman


Joined: 06 Jul 2005
Posts: 6308
Location: /usr/lib64/lv2

PostPosted: Sat Oct 16, 2010 2:33 pm    Post subject: Reply with quote

I haven't experienced OO slowing down, but I have so frequently and inevitably ran into an OO update failing to compile that I only use openoffice-bin now. Give that a try and see if it runs faster.
_________________
Gentoo Studio: A Gentoo-based, professional digital audio workstation OS.
Back to top
View user's profile Send private message
philip
Guru
Guru


Joined: 10 Jun 2003
Posts: 535
Location: Sweden

PostPosted: Sat Oct 16, 2010 6:01 pm    Post subject: Reply with quote

Hi, thanks for tip,

Fortunately my openoffice compiles fine. I remember having had the same problems as you in the past.

I have investigated a bot more about the sluggishness and found that it seems corellated to documents with many added photos in them (especially for Impress). In one .odp file I have about 20 pictures which are fairly large in size. This is where the sluggishness is experienced the most.
_________________
/Phil
Back to top
View user's profile Send private message
kernelOfTruth
Watchman
Watchman


Joined: 20 Dec 2005
Posts: 6108
Location: Vienna, Austria; Germany; hello world :)

PostPosted: Sat Oct 16, 2010 6:19 pm    Post subject: Reply with quote

philip wrote:
Hi, thanks for tip,

Fortunately my openoffice compiles fine. I remember having had the same problems as you in the past.

I have investigated a bot more about the sluggishness and found that it seems corellated to documents with many added photos in them (especially for Impress). In one .odp file I have about 20 pictures which are fairly large in size. This is where the sluggishness is experienced the most.


try the following:

emerge mozilla's libjemalloc from geki's openoffice-overlay

Quote:
emerge dev-libs/jemalloc


and then run openoffice with it as memory allocator - that should speed things up and keep memory consumption sane:

Quote:
LD_PRELOAD=/usr/lib64/libjemalloc.so.0 /usr/lib64/openoffice/program/soffice.bin

_________________
https://github.com/kernelOfTruth/ZFS-for-SystemRescueCD/tree/ZFS-for-SysRescCD-4.9.0
https://github.com/kernelOfTruth/pulseaudio-equalizer-ladspa

Hardcore Gentoo Linux user since 2004 :D
Back to top
View user's profile Send private message
philip
Guru
Guru


Joined: 10 Jun 2003
Posts: 535
Location: Sweden

PostPosted: Sat Oct 16, 2010 10:13 pm    Post subject: Reply with quote

Since I do not run 64 bit, only x86 32 bit, will the following work?


LD_PRELOAD=/usr/lib/libjemalloc.so.0 /usr/lib/openoffice/program/soffice
_________________
/Phil
Back to top
View user's profile Send private message
ComaWhite
Tux's lil' helper
Tux's lil' helper


Joined: 07 Oct 2008
Posts: 125

PostPosted: Sun Oct 17, 2010 2:10 am    Post subject: Reply with quote

philip wrote:
Since I do not run 64 bit, only x86 32 bit, will the following work?
LD_PRELOAD=/usr/lib/libjemalloc.so.0 /usr/lib/openoffice/program/soffice


Yes
Back to top
View user's profile Send private message
kernelOfTruth
Watchman
Watchman


Joined: 20 Dec 2005
Posts: 6108
Location: Vienna, Austria; Germany; hello world :)

PostPosted: Sun Oct 17, 2010 1:13 pm    Post subject: Reply with quote

ComaWhite wrote:
philip wrote:
Since I do not run 64 bit, only x86 32 bit, will the following work?
LD_PRELOAD=/usr/lib/libjemalloc.so.0 /usr/lib/openoffice/program/soffice


Yes


++

just adapt the path like you already did
_________________
https://github.com/kernelOfTruth/ZFS-for-SystemRescueCD/tree/ZFS-for-SysRescCD-4.9.0
https://github.com/kernelOfTruth/pulseaudio-equalizer-ladspa

Hardcore Gentoo Linux user since 2004 :D
Back to top
View user's profile Send private message
philip
Guru
Guru


Joined: 10 Jun 2003
Posts: 535
Location: Sweden

PostPosted: Sun Oct 17, 2010 6:10 pm    Post subject: Reply with quote

I have studied my memory behavior when opening and working with an OOo Impress file with many pictures in it.

It turns out that my memory does not seem to be the bottleneck. During the whole process of opening, editing and closing the file the memory allocation hovers around these figures with little deviation:

Total Free memory 76%
Used Physical Memory 24%

Of the used physical memory the following division was observed:

Physical memory Free 60%
Disk cache 16%
Disc buffers 7%
Application data 15%

Swap Space was never used, i.e. 100% free

Therefor I tend to believe it is not a memory problem.

I noticed that working with tables in OOo Impress makes the most sluggishness in the application.

Anyone have any more ideas of why this is?
_________________
/Phil
Back to top
View user's profile Send private message
Voltago
Advocate
Advocate


Joined: 02 Sep 2003
Posts: 2584
Location: userland

PostPosted: Sun Oct 17, 2010 7:51 pm    Post subject: Reply with quote

Does your openoffice configuration point to the actual latest version JRE (see under Tools->Options->OpenOffice.org->Java) and does turning off 'Use a JRE' make OOo feel snappier?
Back to top
View user's profile Send private message
philip
Guru
Guru


Joined: 10 Jun 2003
Posts: 535
Location: Sweden

PostPosted: Tue Oct 19, 2010 6:18 am    Post subject: Reply with quote

Yes, My OOo did point to the Sun java environment (version 1.6.0.22). I deselected java and I notice a slight increase in performance. Working with tables is still sluggish. And I still would not say the response from OOo is snappi.

What is Java needed for in OOo by the way?
_________________
/Phil
Back to top
View user's profile Send private message
Voltago
Advocate
Advocate


Joined: 02 Sep 2003
Posts: 2584
Location: userland

PostPosted: Tue Oct 19, 2010 8:02 am    Post subject: Reply with quote

philip wrote:
What is Java needed for in OOo by the way?

http://wiki.services.openoffice.org/wiki/Java_and_OpenOffice.org
(quite old but sounds about right)
Back to top
View user's profile Send private message
philip
Guru
Guru


Joined: 10 Jun 2003
Posts: 535
Location: Sweden

PostPosted: Tue Oct 19, 2010 9:18 am    Post subject: Reply with quote

I work with OO Base sometimes, so I need Java definitely
_________________
/Phil
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum