Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Discussion & Documentation Gentoo Chat
  • Search

Building OpenOffice Now Realistic!

Opinions, ideas and thoughts about Gentoo. Anything and everything about Gentoo except support questions.
Post Reply
  • Print view
Advanced search
118 posts
  • Previous
  • 1
  • 2
  • 3
  • 4
  • 5
  • Next
Author
Message
erik258
Advocate
Advocate
User avatar
Posts: 2650
Joined: Tue Apr 12, 2005 8:39 pm
Location: Twin Cities, Minnesota, USA
Contact:
Contact erik258
Website

  • Quote

Post by erik258 » Mon Feb 05, 2007 6:01 am

vaio ~ # splat openoffice-2.0.4; cat /proc/cpuinfo; hdparm -tT /dev/hda; distcc-
config --get-hosts;

* app-office/openoffice-2.0.4

Emerged at: Sat Feb 3 14:24:23 2007
Build time: 13 hours, 26 minutes, and 23 seconds

processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 8
model name : Pentium III (Coppermine)
stepping : 1
cpu MHz : 451.042
cache size : 256 KB
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 2
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 sep mtrr pge mca cmov pat p
se36 mmx fxsr sse
bogomips : 902.82


/dev/hda:
Timing cached reads: 584 MB in 2.01 seconds = 290.61 MB/sec
Timing buffered disk reads: 44 MB in 3.04 seconds = 14.45 MB/sec
pascal plato slim zeus matty artemis.pantheon apollo.pantheon hermes.pantheon ap
hrodite.pantheon


well, does that surprise anyone?
Configuring a Firewall? Try my iptables configuration
LinuxCommando.com is my blog for linux-related scraps and tidbits. Stop by for a visit!
Top
amar_
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 118
Joined: Mon Sep 18, 2006 6:29 pm
Contact:
Contact amar_
Website

  • Quote

Post by amar_ » Mon Feb 05, 2007 3:41 pm

What's up with openoffice-bin? I am about to install that one but I see it's almost 1GB :o .Why that much?And how much time takes to setup -bin one?
My blog is here
Top
erik258
Advocate
Advocate
User avatar
Posts: 2650
Joined: Tue Apr 12, 2005 8:39 pm
Location: Twin Cities, Minnesota, USA
Contact:
Contact erik258
Website

  • Quote

Post by erik258 » Tue Feb 06, 2007 6:24 am

a few minutes. splat on some binary installs gave me 6 or 9 minutes, and those systems weren't impressive. Openoffice is a pretty big package. In fact, it's by far the biggest I know of. come on, it's office!!
Configuring a Firewall? Try my iptables configuration
LinuxCommando.com is my blog for linux-related scraps and tidbits. Stop by for a visit!
Top
CodAv
Apprentice
Apprentice
Posts: 171
Joined: Sun May 09, 2004 2:52 pm
Location: Essen, Germany
Contact:
Contact CodAv
Website

  • Quote

Post by CodAv » Tue Feb 06, 2007 10:12 am

AidanJT wrote:
natros wrote:Core2Duo E6400 2.13MHz 64bit 2GB :)
-march=nocona -msse3 -mfpmath=sse -O2 -pipe -fomit-frame-pointer
are you not bothering with the sse1/2 registers as well?.. what about -O3?.. your CPU has heaps of cache.
I had some bad experiences with -O3 in the past, specifically with kde-print. Using this optimization level to compile kde-print results in not being able to load any printer drivers, as the XML parser gets broken. As OOo is already a very fragile build, I'd rather be safe with -O2 and pass on the 0.x% speed improvement.
Debian is available in three different versions: rusty, stale and broken.
Top
baigsabeeh
Guru
Guru
User avatar
Posts: 520
Joined: Wed Sep 28, 2005 7:51 pm
Location: North Brunswick, NJ

  • Quote

Post by baigsabeeh » Fri Feb 09, 2007 12:42 am

I'm compiling 2.1 right now as the binary version is a heap of garbage. Yes, my CPU is overclocked to 2.6 GHz. How would I check for compile times anyway.

Code: Select all

saboo@manchester ~ $ emerge --info
Portage 2.1.2-r9 (default-linux/amd64/2006.1, gcc-4.1.1, glibc-2.5-r0, 2.6.19-gentoo-r4 x86_64)
=================================================================
System uname: 2.6.19-gentoo-r4 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 3800+
Gentoo Base System release 1.12.9
Timestamp of tree: Thu, 08 Feb 2007 19:30:01 +0000
dev-java/java-config: 1.3.7, 2.0.31-r3
dev-lang/python:     2.4.4
dev-python/pycrypto: 2.0.1-r5
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17.50.0.12
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.20
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O3 -march=athlon64 -msse3 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O3 -march=athlon64 -msse3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LDFLAGS="-Wl,-O1 -Wl,--hash-style=both -Wl,--sort-common -s"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/sunrise /usr/portage/local/layman/vmware /usr/local/portage /usr/local/overlays/pok3d"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aac alsa amd64 aoss berkdb bitmap-fonts cairo cdr cli cracklib crypt cups dbus directfb divx dlloader dri dvd dvdr dvdread exif firefox foomaticdb fortran gdbm gif glitz gpm gtk gtk2 hal iconv ieee1394 ipv6 isdnlog java javascript jpeg jpeg2k libg++ matroska midi mime mp3 mpeg mpeg2 mplayer ncurses nls nptl nptlonly nsplugin nvidia ogg opengl oss pam pcre pdf perl png ppds pppd python quicktime readline reflection session spl ssl tcpd tiff truetype-fonts type1-fonts udev unicode usb vorbis xorg zlib" ALSA_CARDS="intel8x0" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" FOO2ZJS_DEVICES="hp1020" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="nv vesa"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS

saboo@manchester ~ $ 
BSD > SysV > Linux
BSD FTW!
Top
tkf
n00b
n00b
User avatar
Posts: 18
Joined: Tue May 23, 2006 1:03 am
Location: Cochabamba, Bolivia

Re: Building OpenOffice Now Realistic!

  • Quote

Post by tkf » Fri Feb 09, 2007 3:21 am

SteveBallmersChair wrote:I wasn't aware that the Core 2 Duos were *that* much better at compiling. My socket 939 Athlon 64 X2 4200+ takes about 5 hours 20 minutes to compile OpenOffice...the E6400 somebody had above that's a very similar clock speed is *twice* as fast. Ouch!
You still have to consider the amount of RAM the machine has and the speed of the hard drive, even more so with openoffice since it is a very large build.
Top
baigsabeeh
Guru
Guru
User avatar
Posts: 520
Joined: Wed Sep 28, 2005 7:51 pm
Location: North Brunswick, NJ

  • Quote

Post by baigsabeeh » Fri Feb 09, 2007 12:00 pm

I compiled it yesterday. Keep in mind that I used the "-java" USE flag.

Code: Select all

saboo@manchester ~ $ splat -v openoffice
*** No log file specified.
*** Using '/var/log/emerge.log' as log file.
*** Skipped 0 line(s) due to invalid format.
 * app-office/openoffice-2.1.0

        Emerged at: Thu Feb  8 20:01:40 2007
        Build time: 3 hours, 36 minutes, and 7 seconds
It runs alot faster now, BTW. The binary was just horrible compared to this.
BSD > SysV > Linux
BSD FTW!
Top
albright
Advocate
Advocate
User avatar
Posts: 2588
Joined: Sun Nov 16, 2003 6:36 pm
Location: Near Toronto

  • Quote

Post by albright » Fri Feb 09, 2007 9:03 pm

I hope this is a good place to ask this question.

I compiled openoffice 2.1 (amd64) and it worked. It is *far* better
than the binary version. But there is one problem (so far). The new
openoffice does not get along very well with beryl. What I mean is
that when I open a document the window comes out usually larger
than my screen. I have a dual monitor system with twinview (so
nvidia). Also presentations appear in only half of one of the visible
screens. There are other similar problems.

The short of it is that window management under beryl with my
new openoffice is terrible. Maybe this is beryl's fault, but other
apps work fine. However, in a non-beryl kde session openoffice
behaves normally.

I'm wondering if anyone has any advice about how to fix this. For
example, is the xinerama flag relevant to building openoffice?

TIA
Top
Khan
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 96
Joined: Wed Feb 19, 2003 4:49 am

The Obvious OpenOffice Question

  • Quote

Post by Khan » Wed Feb 21, 2007 2:06 pm

So, why can't we compile this in components? I honestly only need Writer and Impress. Like Word and Excel, they are the only real apps that I use in MS Office. Thoughts?
Top
SteveBallmersChair
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 84
Joined: Wed Jul 12, 2006 3:18 am
Location: Being thrown around in Redmond

Re: The Obvious OpenOffice Question

  • Quote

Post by SteveBallmersChair » Wed Feb 21, 2007 2:09 pm

Khan wrote:So, why can't we compile this in components? I honestly only need Writer and Impress. Like Word and Excel, they are the only real apps that I use in MS Office. Thoughts?
OpenOffice is an old-school monolithic application as far as I can tell, so removing parts of it would likely kill it.
Unix is user friendly- it is just picky who its friends are.
Top
Khan
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 96
Joined: Wed Feb 19, 2003 4:49 am

Re: The Obvious OpenOffice Question

  • Quote

Post by Khan » Wed Feb 21, 2007 2:20 pm

SteveBallmersChair wrote:OpenOffice is an old-school monolithic application as far as I can tell, so removing parts of it would likely kill it.
In this day and age, that's just plain silly. Considering that it's been put up as the MS Office alternative, they should know better than to require the installation of ALL of the components. Not very smart.
Top
Khan
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 96
Joined: Wed Feb 19, 2003 4:49 am

Fyi

  • Quote

Post by Khan » Wed Feb 21, 2007 5:40 pm

Code: Select all

type40 ~ # splat app-office/openoffice-2.1.0
 * app-office/openoffice-2.1.0

        Emerged at: Wed Feb 21 06:50:45 2007
        Build time: 3 hours, 59 minutes, and 23 seconds
System:
IBM T60
2GB RAM
System uname: 2.6.19-gentoo-r5 i686 Genuine Intel(R) CPU T2500 @ 2.00GHz
Gentoo Base System release 1.12.9

It might have taken less time to compile if I wasn't running those 2 VMware instances of Windows XP :twisted:
Top
gkmac
Guru
Guru
Posts: 336
Joined: Sun Jan 19, 2003 3:13 pm
Location: West Sussex, UK

  • Quote

Post by gkmac » Wed Feb 21, 2007 9:46 pm

baigsabeeh wrote:I compiled it yesterday. Keep in mind that I used the "-java" USE flag.
Pardon me for threadjacking, but do you lose any significant features if you leave java out? Is there a list somewhere?
If ~amd64 ebuilds are cutting edge, then git-9999 ebuilds are chainsaws.
"Not everyone can ride a unicycle, does that mean we should put another wheel on it?" - Lokheed
Top
baigsabeeh
Guru
Guru
User avatar
Posts: 520
Joined: Wed Sep 28, 2005 7:51 pm
Location: North Brunswick, NJ

  • Quote

Post by baigsabeeh » Fri Feb 23, 2007 4:14 am

gkmac wrote:
baigsabeeh wrote:I compiled it yesterday. Keep in mind that I used the "-java" USE flag.
Pardon me for threadjacking, but do you lose any significant features if you leave java out? Is there a list somewhere?
No, because Openoffice isn't dependent on Java or so I've been told by several people on Gentoo IRC. However, from as much as I've used the compiled version, it has all the features.
BSD > SysV > Linux
BSD FTW!
Top
Interimo
n00b
n00b
User avatar
Posts: 40
Joined: Sat Nov 18, 2006 4:19 pm

  • Quote

Post by Interimo » Fri Feb 23, 2007 11:38 am

Man, this seems like a fun little competition! I wish I could participate, but I don't have Gentoo installed on this machine, though I'm starting to wonder if I should either get rid of Ubuntu or just clear up some space for Gentoo (I know what you'll say.. :wink:). But in case you want to know what my specs are, here you go.

C2D E6600 @ 3.10Ghz
2Gb Corsair DDR2-800

I wonder what I could do with that... :twisted:
Top
neysx
Retired Dev
Retired Dev
User avatar
Posts: 795
Joined: Mon Jan 27, 2003 10:16 am
Contact:
Contact neysx
Website

  • Quote

Post by neysx » Fri Feb 23, 2007 1:38 pm

Code: Select all

neysx@basil ~ $ splat openoffice-2.1.0
 * app-office/openoffice-2.1.0

        Emerged at: Sat Jan 13 00:28:39 2007
        Build time: 3 hours, 34 minutes, and 9 seconds

neysx@basil ~ $ emerge -vp openoffice

These are the packages that would be merged, in order:

Calculating dependencies  ..... ..... ..... ..... ....... done!
[ebuild   R   ] app-office/openoffice-2.1.0  USE="-binfilter branding cairo cups dbus -debug -
eds firefox gnome gstreamer gtk -java -kde -ldap -odk -pam -seamonkey -sound webdav" LINGUAS="
-af -ar -as_IN -be_BY -bg -bn -bs -ca -cs -cy -da -de -el en en_GB en_US -en_ZA -es -et -fa -f
i fr -gu_IN -he -hi_IN -hr -hu -it -ja -km -ko -lt -lv -mk -nb nl -nn -nr -ns -or_IN -pa_IN -p
l -pt -pt_BR -ru -rw -sh_YU -sk -sl -sr_CS -st -sv -sw_TZ -ta_IN -te_IN -tg -th -ti_ER -tn -tr
 -ts -ur_IN -ve -vi -xh -zh_CN -zh_TW -zu" 5,106 kB 

Total: 1 package (1 reinstall), Size of downloads: 5,106 kB

neysx@basil ~ $ equery s openoffice
[ Searching for packages matching openoffice... ]
* size of app-office/openoffice-2.1.0
           Total files : 3664
    Inaccessible files : 21
           Total size  : 199642.55 KiB

neysx@basil ~ $ cat /proc/cpuinfo 
processor       : 0
vendor_id       : AuthenticAMD
cpu family      : 6
model           : 8
model name      : AMD Athlon(tm) Processor
stepping        : 1
cpu MHz         : 1991.224
cache size      : 256 KB
fdiv_bug        : no
hlt_bug         : no
f00f_bug        : no
coma_bug        : no
fpu             : yes
fpu_exception   : yes
cpuid level     : 1
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 mmx fxsr sse syscall mp mmxext 3dnowext 3dnow ts
bogomips        : 3985.04
clflush size    : 32

processor       : 1
vendor_id       : AuthenticAMD
cpu family      : 6
model           : 8
model name      : AMD Athlon(tm) Processor
stepping        : 1
cpu MHz         : 1991.224
cache size      : 256 KB
fdiv_bug        : no
hlt_bug         : no
f00f_bug        : no
coma_bug        : no
fpu             : yes
fpu_exception   : yes
cpuid level     : 1
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 mmx fxsr sse syscall mp mmxext 3dnowext 3dnow ts
bogomips        : 3982.61
clflush size    : 32
Compiled with -Os instead of -O2 and -j3 (no distcc), 1GB of RAM, 4+ year old x86 box :)
Top
Bloodsurfer
Guru
Guru
User avatar
Posts: 361
Joined: Wed Dec 07, 2005 1:33 pm
Location: Wolfstein, Germany (Rhineland-Palatinate)

  • Quote

Post by Bloodsurfer » Fri Feb 23, 2007 1:58 pm

OK, I have to participate here too... ;)

Running gentoo on my new Core2Duo E6600 with 2,4 GHz and two gigs of DDR2-667 Corsair RAM.

Code: Select all

root @ fangthane - it is Fri Feb 23, time is 14:53:40
you are in /home/bloodsurfer
#> splat openoffice
 * app-office/openoffice-2.1.0

        Emerged at: Sun Feb  4 13:14:39 2007
        Build time: 3 hours, 34 minutes, and 35 seconds

        Emerged at: Sat Feb 17 13:21:07 2007
        Build time: 3 hours, 18 minutes, and 41 seconds

root @ fangthane - it is Fri Feb 23, time is 14:53:44
you are in /home/bloodsurfer
#> cat /proc/cpuinfo
processor       : 0
vendor_id       : GenuineIntel
cpu family      : 6
model           : 15
model name      : Intel(R) Core(TM)2 CPU          6600  @ 2.40GHz
stepping        : 6
cpu MHz         : 2400.091
cache size      : 4096 KB
physical id     : 0
siblings        : 2
core id         : 0
cpu cores       : 2
fpu             : yes
fpu_exception   : yes
cpuid level     : 10
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm syscall nx lm constant_tsc pni monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr lahf_lm
bogomips        : 4801.93
clflush size    : 64
cache_alignment : 64
address sizes   : 36 bits physical, 48 bits virtual
power management:

processor       : 1
vendor_id       : GenuineIntel
cpu family      : 6
model           : 15
model name      : Intel(R) Core(TM)2 CPU          6600  @ 2.40GHz
stepping        : 6
cpu MHz         : 2400.091
cache size      : 4096 KB
physical id     : 0
siblings        : 2
core id         : 1
cpu cores       : 2
fpu             : yes
fpu_exception   : yes
cpuid level     : 10
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm syscall nx lm constant_tsc pni monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr lahf_lm
bogomips        : 4799.33
clflush size    : 64
cache_alignment : 64
address sizes   : 36 bits physical, 48 bits virtual
power management:

root @ fangthane - it is Fri Feb 23, time is 14:54:00
you are in /home/bloodsurfer
#> emerge --info
Portage 2.1.2-r10 (default-linux/amd64/2006.1/desktop, gcc-4.1.2, glibc-2.5-r0, 2.6.20-gentoo x86_64)
=================================================================
System uname: 2.6.20-gentoo x86_64 Intel(R) Core(TM)2 CPU          6600  @ 2.40GHz
Gentoo Base System release 1.12.9
Timestamp of tree: Wed, 21 Feb 2007 12:20:01 +0000
dev-java/java-config: 1.3.7, 2.0.31-r3
dev-lang/python:     2.4.4
dev-python/pycrypto: 2.0.1-r5
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.23b
virtual/os-headers:  2.6.20
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=nocona -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -pipe -march=nocona -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer parallel-fetch sandbox sfperms strict"
GENTOO_MIRRORS="http://ftp.uni-erlangen.de/pub/mirrors/gentoo ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ "
LINGUAS="de"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/usr/portage/tmp"
PORTDIR="/usr/portage/tree"
PORTDIR_OVERLAY="/usr/portage/local/layman/xeffects /usr/portage/local/layman/berkano /usr/portage/local/mixed"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X aac aalib alsa amd64 berkdb bitmap-fonts branding cairo cdr cli color-console cracklib crypt css cups dbus divx dri dv dvd dvdnav dvdr emboss encode esd fam filepicker filter_default firefox flac fortran gdbm gif glitz gpm gtk2 h264 hal iconv imagemagick isdnlog java jpeg kde kdehiddenvisibility kqemu lame ldap libcaca libg++ mad midi mikmod mozbranding moznopango mp3 mp4 mpeg musepack ncurses newspr nls nptl nptlonly nvidia offensive ogg opengl oss pam pcre perl png ppds pppd python qt3 qt4 quicktime readline realmedia reflection sdl session smp spell spl ssl svg tcpd theora truetype truetype-fonts type1-fonts unicode utf8 vcd vorbis wmp x264 xml xorg xscreensaver xv xvid zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de" USERLAND="GNU" VIDEO_CARDS="nvidia vesa fbdev nv"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS

root @ fangthane - it is Fri Feb 23, time is 14:54:36
you are in /home/bloodsurfer
#>     
To be honest, I am not pleased with that build times (second time was faster because it didn't have to download the sources). We know that the openoffice ebuild only uses one core to compile, it could be so much faster if it did use all both cores...
Tried WANT_DISTCC="true", but that didn't help, it only used one core... That sucks.

There was one with a notebook and a compiletime of around two hours - how did you manage that? Some trick with niceness or such a thing? I didn't try something like that yet...
SiberianSniper: my girlfriend's name ends with .c
Clete2: Uber geek! W00t! I'd rather have it end in .cpp... <insert name>.cpp
Dralnu: ...why not <name>.o? Then she's ready for linking...
SiberianSniper: or <name>.ko, so she's ready for insertion?
Top
neysx
Retired Dev
Retired Dev
User avatar
Posts: 795
Joined: Mon Jan 27, 2003 10:16 am
Contact:
Contact neysx
Website

  • Quote

Post by neysx » Fri Feb 23, 2007 2:06 pm

Bloodsurfer wrote:OK, I have to participate here too... ;)

Running gentoo on my new Core2Duo E6600 with 2,4 GHz and two gigs of DDR2-667 Corsair RAM.

Code: Select all

root @ fangthane - it is Fri Feb 23, time is 14:53:40
you are in /home/bloodsurfer
#> splat openoffice
 * app-office/openoffice-2.1.0

        Emerged at: Sun Feb  4 13:14:39 2007
        Build time: 3 hours, 34 minutes, and 35 seconds
Wow! Same as my 4 year old x86! TBH, it did compile with -j3 :)
Top
Bloodsurfer
Guru
Guru
User avatar
Posts: 361
Joined: Wed Dec 07, 2005 1:33 pm
Location: Wolfstein, Germany (Rhineland-Palatinate)

  • Quote

Post by Bloodsurfer » Fri Feb 23, 2007 2:10 pm

neysx wrote:TBH, it did compile with -j3 :)
I have the same in my make.conf, but how did you manage to actually get it to build with three jobs?? Whatever I do it just ignores it.
SiberianSniper: my girlfriend's name ends with .c
Clete2: Uber geek! W00t! I'd rather have it end in .cpp... <insert name>.cpp
Dralnu: ...why not <name>.o? Then she's ready for linking...
SiberianSniper: or <name>.ko, so she's ready for insertion?
Top
neysx
Retired Dev
Retired Dev
User avatar
Posts: 795
Joined: Mon Jan 27, 2003 10:16 am
Contact:
Contact neysx
Website

  • Quote

Post by neysx » Fri Feb 23, 2007 2:16 pm

Bloodsurfer wrote:
neysx wrote:TBH, it did compile with -j3 :)
I have the same in my make.conf, but how did you manage to actually get it to build with three jobs?? Whatever I do it just ignores it.
I edited the ebuild, I had to do it to allow -Os anyway :)
Top
Bloodsurfer
Guru
Guru
User avatar
Posts: 361
Joined: Wed Dec 07, 2005 1:33 pm
Location: Wolfstein, Germany (Rhineland-Palatinate)

  • Quote

Post by Bloodsurfer » Sat Feb 24, 2007 7:05 pm

Yeehaw... I did the same, forced the ebuild to use three jobs, and look what happened...

Code: Select all

root @ fangthane - it is Sat Feb 24, time is 19:51:49
you are in /home/bloodsurfer
#> splat openoffice
 * app-office/openoffice-2.1.0

        Emerged at: Sun Feb  4 13:14:39 2007
        Build time: 3 hours, 34 minutes, and 35 seconds

        Emerged at: Sat Feb 17 13:21:07 2007
        Build time: 3 hours, 18 minutes, and 41 seconds

        Emerged at: Sat Feb 24 17:37:35 2007
        Build time: 1 hour, 53 minutes, and 34 seconds
Now we're talking! :D 8) That's the way it has to be. And now we can start playing with such things as niceness or doing it without full KDE running... There are a few minutes left to optimize!
SiberianSniper: my girlfriend's name ends with .c
Clete2: Uber geek! W00t! I'd rather have it end in .cpp... <insert name>.cpp
Dralnu: ...why not <name>.o? Then she's ready for linking...
SiberianSniper: or <name>.ko, so she's ready for insertion?
Top
Khan
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 96
Joined: Wed Feb 19, 2003 4:49 am

  • Quote

Post by Khan » Sat Feb 24, 2007 8:50 pm

neysx wrote:
Bloodsurfer wrote:
neysx wrote:TBH, it did compile with -j3 :)
I have the same in my make.conf, but how did you manage to actually get it to build with three jobs?? Whatever I do it just ignores it.
I edited the ebuild, I had to do it to allow -Os anyway :)

What part of the ebuild did you edit with which parameters? Seeing the difference in Bloodsurfer's compile time makes me want to try and push my Centrino Duo as hard as possible. Almost 4 hrs for an application compile is ridiculous. Hence why I'd love for OpenOffice to become a meta build like KDE. Thanks.
Top
Bloodsurfer
Guru
Guru
User avatar
Posts: 361
Joined: Wed Dec 07, 2005 1:33 pm
Location: Wolfstein, Germany (Rhineland-Palatinate)

  • Quote

Post by Bloodsurfer » Sat Feb 24, 2007 11:56 pm

Khan wrote:What part of the ebuild did you edit with which parameters? Seeing the difference in Bloodsurfer's compile time makes me want to try and push my Centrino Duo as hard as possible. Almost 4 hrs for an application compile is ridiculous. Hence why I'd love for OpenOffice to become a meta build like KDE. Thanks.
This is the important part in the ebuild:

Code: Select all

export JOBS="1"
	if [ "${WANT_MP}" == "true" ]; then
		export JOBS=`echo "${MAKEOPTS}" | sed -e "s/.*-j\([0-9]\+\).*/\1/"`
	fi
Starting at line 268. You have two choices:
Either edit this in the ebuild and replace the 1 in the first line with a 3, or try using that variable WANT_MP, so it should use the -j option from your make.conf (did not try that, I chose the first way to be sure ;) ). Both ways should work.
SiberianSniper: my girlfriend's name ends with .c
Clete2: Uber geek! W00t! I'd rather have it end in .cpp... <insert name>.cpp
Dralnu: ...why not <name>.o? Then she's ready for linking...
SiberianSniper: or <name>.ko, so she's ready for insertion?
Top
hiziki_gard
n00b
n00b
Posts: 50
Joined: Thu Jan 05, 2006 7:41 pm
Location: dark side of the moon

  • Quote

Post by hiziki_gard » Sun Feb 25, 2007 2:33 am

Bloodsurfer wrote:Yeehaw... I did the same, forced the ebuild to use three jobs, and look what happened...

Code: Select all

root @ fangthane - it is Sat Feb 24, time is 19:51:49
you are in /home/bloodsurfer
#> splat openoffice
 * app-office/openoffice-2.1.0

        Emerged at: Sun Feb  4 13:14:39 2007
        Build time: 3 hours, 34 minutes, and 35 seconds

        Emerged at: Sat Feb 17 13:21:07 2007
        Build time: 3 hours, 18 minutes, and 41 seconds

        Emerged at: Sat Feb 24 17:37:35 2007
        Build time: 1 hour, 53 minutes, and 34 seconds
Now we're talking! :D 8) That's the way it has to be. And now we can start playing with such things as niceness or doing it without full KDE running... There are a few minutes left to optimize!

Quite honestly I don't think KDE has that much effect on the openoffice compile time.

Here are my compile times for openoffice in the last 5 months or so. Some of them were done in fluxbox. Some in KDE. Others without X running.

Code: Select all

# genlop -t openoffice

* app-office/openoffice

     Mon Oct 23 01:31:13 2006 >>> app-office/openoffice-2.0.4
       merge time: 2 hours, 16 minutes and 33 seconds.

     Sat Nov 11 14:56:22 2006 >>> app-office/openoffice-2.0.4
       merge time: 2 hours, 12 minutes and 31 seconds.

     Wed Nov 29 03:37:18 2006 >>> app-office/openoffice-2.0.4
       merge time: 2 hours, 17 minutes and 40 seconds.

     Fri Jan 12 19:39:57 2007 >>> app-office/openoffice-2.1.0
       merge time: 2 hours, 20 minutes and 21 seconds.

     Thu Jan 18 19:43:30 2007 >>> app-office/openoffice-2.1.0
       merge time: 2 hours, 22 minutes and 15 seconds.

# genlop -i openoffice
 * app-office/openoffice


   Total builds: 5
   Global build time: 11 hours, 29 minutes and 20 seconds.
   Average merge time: 2 hours, 17 minutes and 52 seconds.

   Info about currently installed ebuild:

   * app-office/openoffice-2.1.0
   Install date: Thu Jan 18 19:43:30 2007
   USE="branding cairo cups dbus gstreamer gtk kde pam -binfilter -debug -eds -firefox -gnome -ldap -sound -odk -seamonkey -webdav"
   CFLAGS="-O2 -march=k8 -pipe"

default-linux/amd64/2007.0, gcc-4.2.3, glibc-2.7-r2, 2.6.25-hh5 x86_64
Top
nowhereman
n00b
n00b
User avatar
Posts: 38
Joined: Fri Sep 01, 2006 8:06 am

  • Quote

Post by nowhereman » Sun Feb 25, 2007 10:43 am

well, I think I beat you all :D
nowhereland ~ # genlop -i openoffice
* app-office/openoffice


Total builds: 1
Global build time: 1 hour, 35 minutes and 50 seconds.

Info about currently installed ebuild:

* app-office/openoffice-2.1.0
Install date: Sun Feb 25 10:49:49 2007
USE="cairo cups dbus eds firefox gtk kde pam -binfilter -branding -debug -gnome -gstreamer -ldap -sound -odk -seamonkey -webdav"
CFLAGS="-march=athlon64 -O2 -pipe"
I used "WANT_MP" and:
nowhereland ~ # emerge --info
Portage 2.1.2-r9 (default-linux/amd64/2006.1, gcc-4.1.1, glibc-2.5-r0, 2.6.19-gentoo-r5 x86_64)
=================================================================
System uname: 2.6.19-gentoo-r5 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 3800+
Gentoo Base System release 1.12.9
Timestamp of tree: Sat, 24 Feb 2007 16:20:01 +0000
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
ccache version 2.4 [enabled]
dev-java/java-config: 1.3.7, 2.0.31
dev-lang/python: 2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache: 2.4-r6
sys-apps/sandbox: 1.2.17
sys-devel/autoconf: 2.13, 2.61
sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils: 2.16.1-r3
sys-devel/gcc-config: 1.3.14
sys-devel/libtool: 1.5.22
virtual/os-headers: 2.6.17-r1
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-march=athlon64 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distcc distlocks elog metadata-transfer parallel-fetch sandbox sfperms strict"
GENTOO_MIRRORS="http://linux.rz.ruhr-uni-bochum.de/down ... oo-mirror/ http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://pandemonium.tiscali.de/pub/gentoo/ http://www.gtlib.gatech.edu/pub/gentoo/ http://mirror.usu.edu/mirrors/gentoo/"
LINGUAS="de en en_GB"
MAKEOPTS="-j8"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /usr/portage/local/layman/xeffects"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X aac aalib acpi aim alsa amd64 apache2 apm avi bash-completion bcmath berkdb binary-drivers bitmap-fonts bzip2 cairo ccache cdr cli cracklib crypt cups dbus dlloader dri dvd dvdr eds emboss encode fam fat firefox fortran gd gdbm gif glib gpm gtk gtk2 hal hash haskell iconv icq ipv6 jack java javascript jpeg jpeg2k kde latin1 libcaca libg++ logitech-mouse logrotate mad midi mikmod mime mp3 mpeg mysql mysqli ncurses nls nptl nptlonly nsplugin ntfs nvidia ogg openal opengl oss pam pcre pdf pdflib perl php png ppds python qt3 qt4 quicktime readline reflection reiser4 reiserfs sdl session sockets spell spl sql ssl startup-notification tcpd tetex themes tk truetype truetype-fonts type1-fonts udev unicode usb v4l vcd visualization vorbis wifi xcomposite xine xml xorg xscreensaver xv xvid yahoo zlib" ALSA_CARDS="snd-intel-hda" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de en en_GB" USERLAND="GNU" VIDEO_CARDS="nv nvidia vesa vga"
Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Yes, you're right, distcc was also used
this one was my little helper:
nowhereland_old ~ # cat /proc/cpuinfo
processor : 0
vendor_id : AuthenticAMD
cpu family : 6
model : 8
model name : AMD Athlon(tm) XP 2400+
stepping : 1
cpu MHz : 1994.893
cache size : 256 KB
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 1
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 mmx fxsr sse syscall mmxext 3dnowext 3dnow ts
bogomips : 3992.00
NOTHING IS REAL
Top
Post Reply
  • Print view

118 posts
  • Previous
  • 1
  • 2
  • 3
  • 4
  • 5
  • Next

Return to “Gentoo Chat”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic