Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Building OpenOffice Now Realistic!
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3, 4, 5  
Reply to topic    Gentoo Forums Forum Index Gentoo Chat
View previous topic :: View next topic  
Author Message
Kidov
n00b
n00b


Joined: 20 Jul 2006
Posts: 44
Location: Finland

PostPosted: Tue Sep 16, 2008 2:33 pm    Post subject: Reply with quote

I had to test how fast would my overclocked Q6600@3600MHz do the compiling of OO2.4. :-)
Other specs:
2Gb of RAM
System hdd: old 160Gb Samsung sata...
Code:

time WANT_MP="true" emerge openoffice > /dev/null

real    34m29.038s


(During the process, I had Azureus running (writing to an other hdd) and I surfed with Firefox as usual..)
Back to top
View user's profile Send private message
tullygray
n00b
n00b


Joined: 16 May 2008
Posts: 31
Location: Melbourne, Australia

PostPosted: Sat Oct 25, 2008 11:14 am    Post subject: Open Office compile times Reply with quote

Hi,

I've got Open Office compiling now as I need to submit a spreadsheet for my course, it *must* be in .ods format and it *must* be generated by Open Office. Just how long does it take to compile this thing on a 1.5 GHz processor?
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 27780
Location: 56N 3W

PostPosted: Sat Oct 25, 2008 11:36 am    Post subject: Reply with quote

tullygray,

Its not just CPU, its its RAM dependent too. The good news is that OOo 3 uses your MAKEOPT setting. Thats -j2 if you didin't set it, to reduce the overall time.

On my Athlon XP+ 3200 with 1GB RAM, its about 6 hours.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
tullygray
n00b
n00b


Joined: 16 May 2008
Posts: 31
Location: Melbourne, Australia

PostPosted: Sat Oct 25, 2008 2:51 pm    Post subject: Reply with quote

Yeah, it just finished. Took my AMD box about 17 hours. Then I did portage rsync and I see that now version 3 is unmasked. I just put version 2.4 on - groan! :(
Back to top
View user's profile Send private message
nixnut
Administrator
Administrator


Joined: 09 Apr 2004
Posts: 10951
Location: the dutch mountains

PostPosted: Sat Oct 25, 2008 6:49 pm    Post subject: Reply with quote

merged above three posts here

There's also openofffice-bin which is prefab. That will emerge a lot faster.
_________________
Please add [solved] to the initial post's subject line if you feel your problem is resolved. Help answer the unanswered

talk is cheap. supply exceeds demand
Back to top
View user's profile Send private message
srunni
Guru
Guru


Joined: 26 Dec 2007
Posts: 365

PostPosted: Sat Oct 25, 2008 10:28 pm    Post subject: Reply with quote

tullygray wrote:
Yeah, it just finished. Took my AMD box about 17 hours. Then I did portage rsync and I see that now version 3 is unmasked. I just put version 2.4 on - groan! :(
Use app-office/openoffice-bin. It's not worth compiling app-office/openoffice.
_________________
Patrick Ewing wrote:
if it walks like a duck and talks like a duck, it’s a duck, right? So if this duck is not giving you the noise that you want, you’ve got to just punch that duck until it returns what you expect.
Back to top
View user's profile Send private message
zAfi
Apprentice
Apprentice


Joined: 08 Aug 2006
Posts: 220
Location: Austria

PostPosted: Mon Nov 03, 2008 8:10 pm    Post subject: Reply with quote

srunni wrote:
tullygray wrote:
Yeah, it just finished. Took my AMD box about 17 hours. Then I did portage rsync and I see that now version 3 is unmasked. I just put version 2.4 on - groan! :(
Use app-office/openoffice-bin. It's not worth compiling app-office/openoffice.

Not true! Openoffice uses http://go-oo.org/, an optimized Ooo-Version, where the openoffice-bin consists of the precompiled Ooo.org binary. And yes, the difference is noticable...
_________________
Gentoo 2008.0/desktop | Kernel: 2.6.27-tuxonice | Arch: amd64 | KDE 3.5.9 | WU Wien |
----------
Share your kernel information @ http://klive.cpushare.com/
Back to top
View user's profile Send private message
Kollin
l33t
l33t


Joined: 25 Feb 2006
Posts: 951
Location: Sofia/Bulgaria

PostPosted: Wed Dec 10, 2008 8:25 am    Post subject: Reply with quote

Just to inform you guys that if someone wishes to compile openoffice 3.0 in ram you need a 6144M ramdisk (system requirements are for 5120 but it`s not enough).

my fstab entry:

Code:
tmpfs                   /var/tmp/portage        tmpfs  size=6144M,nr_inodes=10M,mode=0777     0 1



:wink:
_________________
"Dear Enemy: may the Lord hate you and all your kind, may you be turned orange in hue, and may your head fall off at an awkward moment."
"Linux is like a wigwam - no windows, no gates, apache inside..."
Back to top
View user's profile Send private message
genstorm
Veteran
Veteran


Joined: 05 Apr 2007
Posts: 1957
Location: Austria

PostPosted: Wed Dec 10, 2008 4:57 pm    Post subject: Reply with quote

hmm, then maybe my 5,9G ramdisk was the culprit all the time. That's worth a check, thanks! ;)
_________________
backend.cpp:92:2: warning: #warning TODO - this error message is about as useful as a cooling unit in the arctic
Back to top
View user's profile Send private message
djinnZ
Advocate
Advocate


Joined: 02 Nov 2006
Posts: 4436
Location: not so far from an evil, world famous volcano. Under dictatorship, property of banks...

PostPosted: Mon Dec 22, 2008 2:07 pm    Post subject: Reply with quote

because I use the fileserver to compile not care too much for the time spended but i find useful having the ability to stop and resume the build.
Is "just an idea" but seems to work.
Note than the hardened use flag is only for a try of mine, it will never work, so remove from the IUSE or mask for OOo.

IMHO will be better have a separate src_configure step in the ebuilds but this need a new eapi definition and is better evaluate how it work, how much is useful and for how many packages with this workaround before try to request an enhancement.

If you have time to spend or a better hardware as mine please help me to test.
If it work can be applied to the others big packages as gtk/qt/mozilla/wxgtk and others.
Thanks in advice for any help or contribution.
_________________
verba et risus abundat in orae stultorum sed etiam semper severi insani sunt :wink:
mala tempora currunt... mater stultorum semper pregna est :twisted:
Murpy'sLaw: If anything can go wrong, it will - O'Toole's Corollary: Murphy was an optimist
Back to top
View user's profile Send private message
notmynormalself
n00b
n00b


Joined: 19 Jun 2008
Posts: 15
Location: Oregon

PostPosted: Mon Dec 22, 2008 8:06 pm    Post subject: Reply with quote

Kollin wrote:
Just to inform you guys that if someone wishes to compile openoffice 3.0 in ram you need a 6144M ramdisk (system requirements are for 5120 but it`s not enough).

my fstab entry:

Code:
tmpfs                   /var/tmp/portage        tmpfs  size=6144M,nr_inodes=10M,mode=0777     0 1



:wink:


You mean you have => 6GB ram on your system?

Wow

I only have 2GB ram total so I set up my fstab like so:
Code:
none /var/tmp/portage tmpfs size=1512M,nr_inodes=1M 0 0

I am going to see if emerge will take a different temp dir just for openoffice since the ram disk works for everything elce.

Code:
PORTAGE_TMPDIR="/home/Muisc/ootemp" BUILD_PREFIX="/home/Music/ootemp" emerge -avu openoffice
Back to top
View user's profile Send private message
djinnZ
Advocate
Advocate


Joined: 02 Nov 2006
Posts: 4436
Location: not so far from an evil, world famous volcano. Under dictatorship, property of banks...

PostPosted: Tue Dec 23, 2008 1:47 pm    Post subject: Reply with quote

For the older versions of portage in the gechi overlay was a bashrc script useful for this (or you can try to build another one portage-bashrc script).

Another trick to speed up the build is to use multiple swap files (on the server of mine there are 8, one for disk and all in the first GB of every disk, but i have a single core cpu so the benefits are marginal) and tmpfs.

Due to our misfortune OOo (and more packages) will not use a dedicated dir for the compiled binaries and they are mixed with the sources, only one GB is really required to build, another way can be to mount via aufs/unionfs a tmpfs over the portage tmpdir with the expandend sources after the ./configure invocation.
_________________
verba et risus abundat in orae stultorum sed etiam semper severi insani sunt :wink:
mala tempora currunt... mater stultorum semper pregna est :twisted:
Murpy'sLaw: If anything can go wrong, it will - O'Toole's Corollary: Murphy was an optimist
Back to top
View user's profile Send private message
keet
Guru
Guru


Joined: 09 Sep 2008
Posts: 322

PostPosted: Fri Dec 26, 2008 5:15 pm    Post subject: Reply with quote

I just finished building OpenOffice 3 on my old laptop (PIII-600, 128MB RAM). It took between 25 and 34 hours -- I don't know the exact length of time. Do you know what is sad about this, though? Running oocalc takes 50% of my laptop's RAM, over 50MB. Running Excel 2002 in Windows (in VirtualBox) on my main computer uses just under 7MB. oocalc on my main PC uses well over 50MB of RAM. I don't understand this.. is there some sort of error in the memory calculation? Maybe MS Task Manager provides a very conservative estimate, or perhaps ksysguard and top are incorrect? If not, then oocalc 3.0.0 uses several times the memory of the older but fully-functional Excel 2002.

By the way, kspread uses about 20-30MB of RAM on either computer. Hm.. maybe I should reboot into Windows and test my Office 2008 applications (which I got for about $5 at work, and no, I'm not a professional software pirate :) ).
_________________
My Gentoo computers:
Home-built i7 2600K / 8GB RAM || Dell T6400/4GB RAM
Panasonic Toughbook CF-51 T2300/4GB RAM || Fujitsu Lifebook P4/1.6Ghz, 512MB RAM
Back to top
View user's profile Send private message
megaflow
n00b
n00b


Joined: 11 Mar 2005
Posts: 41
Location: Maasmechelen

PostPosted: Fri Dec 26, 2008 7:18 pm    Post subject: Reply with quote

Quote:

* app-office/openoffice


Total builds: 1
Global build time: 3 hours, 16 minutes and 11 seconds.

Info about currently installed ebuild:

* app-office/openoffice-3.0.0
Install date: Sat Dec 6 06:15:23 2008
USE="cups dbus eds gnome gstreamer gtk ldap mono nsplugin opengl pam templates -binfilter -debug -kde -odk"
CFLAGS="-march=native -mtune=core2 -pipe -msse4.1 -mcx16 -mno-push-args -DGL_GLEXT_PROTOTYPES"


Linux ASPIRE_6920G 2.6.28-gentoo #3 SMP PREEMPT Fri Dec 26 15:32:10 CET 2008 i686 Intel(R) Core(TM)2 Duo CPU T8300 @ 2.40GHz GenuineIntel GNU/Linux
Back to top
View user's profile Send private message
posey
n00b
n00b


Joined: 15 Dec 2007
Posts: 16

PostPosted: Tue Dec 30, 2008 3:10 am    Post subject: Reply with quote

I feel that the realisticness of building openoffice has just taken a step backward.

Code:
genlop -t openoffice
 * app-office/openoffice

     Wed Feb 20 12:23:51 2008 >>> app-office/openoffice-2.3.1
       merge time: 3 hours, 45 minutes and 52 seconds.

     Fri Dec 26 20:54:40 2008 >>> app-office/openoffice-3.0.0
       merge time: 4 hours, 54 minutes and 46 seconds.


Linux enceladus 2.6.25-gentoo-r7 #3 Sun Nov 9 18:28:34 EST 2008 x86_64 AMD Athlon(tm) 64 Processor 3200+ AuthenticAMD GNU/Linux
1gb DDR ram
Back to top
View user's profile Send private message
Kollin
l33t
l33t


Joined: 25 Feb 2006
Posts: 951
Location: Sofia/Bulgaria

PostPosted: Tue Dec 30, 2008 9:27 am    Post subject: Reply with quote

It`s improving here:

Quote:
Mon Dec 8 11:55:36 2008 >>> app-office/openoffice-3.0.0
merge time: 1 hour, 58 minutes and 40 seconds.

Wed Dec 10 03:38:52 2008 >>> app-office/openoffice-3.0.0
merge time: 1 hour, 57 minutes and 5 seconds.

Sat Dec 27 19:04:42 2008 >>> app-office/openoffice-3.0.0
merge time: 1 hour, 42 minutes and 34 seconds.



Linux felis 2.6.27-zen3 #7 SMP PREEMPT Thu Nov 6 10:28:12 EET 2008 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 6000+ AuthenticAMD GNU/Linux, compile in ram :wink:
_________________
"Dear Enemy: may the Lord hate you and all your kind, may you be turned orange in hue, and may your head fall off at an awkward moment."
"Linux is like a wigwam - no windows, no gates, apache inside..."
Back to top
View user's profile Send private message
outermeasure
Apprentice
Apprentice


Joined: 26 Nov 2008
Posts: 194
Location: ping6 ff02::1

PostPosted: Tue Dec 30, 2008 9:51 am    Post subject: Reply with quote

Kollin wrote:
Linux felis 2.6.27-zen3 #7 SMP PREEMPT Thu Nov 6 10:28:12 EET 2008 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 6000+ AuthenticAMD GNU/Linux, compile in ram :wink:


You must have helluva lot of RAM... you need something like 6G of space to compile the monster.
Back to top
View user's profile Send private message
Kollin
l33t
l33t


Joined: 25 Feb 2006
Posts: 951
Location: Sofia/Bulgaria

PostPosted: Tue Dec 30, 2008 3:20 pm    Post subject: Reply with quote

outermeasure wrote:
Kollin wrote:
Linux felis 2.6.27-zen3 #7 SMP PREEMPT Thu Nov 6 10:28:12 EET 2008 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 6000+ AuthenticAMD GNU/Linux, compile in ram :wink:


You must have helluva lot of RAM... you need something like 6G of space to compile the monster.


See my upper post on the same page :mrgreen:
_________________
"Dear Enemy: may the Lord hate you and all your kind, may you be turned orange in hue, and may your head fall off at an awkward moment."
"Linux is like a wigwam - no windows, no gates, apache inside..."
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo Chat All times are GMT
Goto page Previous  1, 2, 3, 4, 5
Page 5 of 5

 
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