Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-performance
Navigation:
Lists: gentoo-performance: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-performance@g.o
From: Roman Gaufman <hackeron@...>
Subject: Re: How is it possible ???
Date: Sat, 26 Jun 2004 21:29:32 +0000
Well, higher optimization (-O) number, normally means more ram is used and the 
CPU cache is flooded more.

I bet your Athlon's core is only 256Kb cache or less. Run 
cat /proc/cpuinfo ... -O3 seems good for 512Kb or more, but uses more ram. So 
try recompiling gnome with -O2 or -Os ... Dont be mis-leaded by the number 2, 
it has a lot of optimization. And -Os is like -O3 but ensures that if 
optimization increases file size or ram usage, it isnt used, so you can lose 
some optimization but gain a few Mb in filesize.

I find on low cache CPUs, with not much ram, -Os is the way to go, and I run 
-Os on my Epia Via 1ghz Nehemiah core, and it runs very noticeably snappier 
than with -O3.

Anyway, hope that helps.


On Saturday 26 June 2004 18:05, Andrea Pretto wrote:
> Hi
>
> I have a gentoo installed and it works very well.
> Without X it start from boot to login in 15 seconds,
> and it uses about 15 mb of ram.
> Ok. It's very fast and "cheaper" than Slackware and
> others......
>
> Now I have installed gnome ( 2.6.0 ) and it's very
> strange..........
> Only with GDM started (before to login) the system
> uses about 85mb of ram, and (the gdm) start 3-4
> seconds slower than slackware.........the situation is
> worrisome......
>
> I insert the name and password so gnome
> starts.................and even gnome starts 6-7
> seconds slower than slackware and the ram used go up
> to 140mb.
> Now the situation is disastrous....
>
> How is it possible ???
> Why this horrible performance ???
> Is it a guilt of gnome 2.6 ???
>
> My emerge info as follow:
>
> Portage 2.0.50-r8 (default-x86-2004.0, gcc-3.3.3,
> glibc-2.3.3.20040420-r0, 2.4.26)
> =================================================================
> System uname: 2.4.26 i686 AMD Athlon(tm) XP 2600+
> Gentoo Base System version 1.4.16
> Autoconf: sys-devel/autoconf-2.59-r3
> Automake: sys-devel/automake-1.8.3
> ACCEPT_KEYWORDS="x86"
> AUTOCLEAN="yes"
> CFLAGS="-O3 -march=athlon-xp -pipe
> -fprefetch-loop-arrays -funroll-loops -fPIC
> -maccumulate-outgoing-args -minline-all-stringops
> -mfpmath=sse "
> CHOST="i686-pc-linux-gnu"
> COMPILER="gcc3"
> CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb
> /usr/kde/2/share/config /usr/kde/3/share/config
> /usr/lib/mozilla/defaults/pref /usr/share/config
> /usr/share/texmf/dvipdfm/config/
> /usr/share/texmf/dvips/config/
> /usr/share/texmf/tex/generic/config/
> /usr/share/texmf/tex/platex/config/
> /usr/share/texmf/xdvi/ /var/qmail/control"
> CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo
> /etc/env.d"
> CXXFLAGS="-O3 -march=athlon-xp -pipe
> -fprefetch-loop-arrays -funroll-loops -fPIC
> -maccumulate-outgoing-args -minline-all-stringops
> -mfpmath=sse "
> DISTDIR="/usr/portage/distfiles"
> FEATURES="autoaddcvs ccache sandbox"
> GENTOO_MIRRORS="http://gentoo.oregonstate.edu
> http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
> MAKEOPTS="-j2"
> PKGDIR="/usr/portage/packages"
> PORTAGE_TMPDIR="/var/tmp"
> PORTDIR="/usr/portage"
> PORTDIR_OVERLAY=""
> SYNC="rsync://rsync.gentoo.org/gentoo-portage"
> USE="3dnow apm audiofile berkdb cdr cjk directfb doc
> emacs encode esd foomaticdb gdbm gnome gpm gtk gtk2
> guile imlib ipv6 java libg++ libwww mad memlimit
> mikmod mmx mozilla mpeg ncurses oggvorbis opengl oss
> python readline slang spell sse ssl svga tcpd tetex
> truetype x86 xml2 zlib"
>
> thanks in advance.
>
>
>
>
>
>
> ____________________________________________________________
> Yahoo! Companion - Scarica gratis la toolbar di Ricerca di Yahoo!
> http://companion.yahoo.it
>
> --
> gentoo-performance@g.o mailing list

--
gentoo-performance@g.o mailing list

Replies:
Re: How is it possible ???
-- Andrea Pretto
References:
How is it possible ???
-- Andrea Pretto
Navigation:
Lists: gentoo-performance: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
How is it possible ???
Next by thread:
Re: How is it possible ???
Previous by date:
How is it possible ???
Next by date:
Re: Re: portage performance


Updated Jun 17, 2009

Summary: Archive of the gentoo-performance mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.