Gentoo Archives: gentoo-performance

From: Andrea Pretto <prettz_it@×××××.it>
To: gentoo-performance@l.g.o, hackeron@×××××××××.com
Subject: Re: [gentoo-performance] How is it possible ???
Date: Sun, 27 Jun 2004 08:48:44
Message-Id: 20040627084840.84012.qmail@web25107.mail.ukl.yahoo.com
In Reply to: Re: [gentoo-performance] How is it possible ??? by Roman Gaufman
1 I'm just rebuilting my system with that optimizations.
2
3 Thanks!
4 --- Roman Gaufman <hackeron@×××××××××.com> ha scritto:
5 > Well, higher optimization (-O) number, normally
6 > means more ram is used and the
7 > CPU cache is flooded more.
8 >
9 > I bet your Athlon's core is only 256Kb cache or
10 > less. Run
11 > cat /proc/cpuinfo ... -O3 seems good for 512Kb or
12 > more, but uses more ram. So
13 > try recompiling gnome with -O2 or -Os ... Dont be
14 > mis-leaded by the number 2,
15 > it has a lot of optimization. And -Os is like -O3
16 > but ensures that if
17 > optimization increases file size or ram usage, it
18 > isnt used, so you can lose
19 > some optimization but gain a few Mb in filesize.
20 >
21 > I find on low cache CPUs, with not much ram, -Os is
22 > the way to go, and I run
23 > -Os on my Epia Via 1ghz Nehemiah core, and it runs
24 > very noticeably snappier
25 > than with -O3.
26 >
27 > Anyway, hope that helps.
28 >
29 >
30 > On Saturday 26 June 2004 18:05, Andrea Pretto wrote:
31 > > Hi
32 > >
33 > > I have a gentoo installed and it works very well.
34 > > Without X it start from boot to login in 15
35 > seconds,
36 > > and it uses about 15 mb of ram.
37 > > Ok. It's very fast and "cheaper" than Slackware
38 > and
39 > > others......
40 > >
41 > > Now I have installed gnome ( 2.6.0 ) and it's very
42 > > strange..........
43 > > Only with GDM started (before to login) the system
44 > > uses about 85mb of ram, and (the gdm) start 3-4
45 > > seconds slower than slackware.........the
46 > situation is
47 > > worrisome......
48 > >
49 > > I insert the name and password so gnome
50 > > starts.................and even gnome starts 6-7
51 > > seconds slower than slackware and the ram used go
52 > up
53 > > to 140mb.
54 > > Now the situation is disastrous....
55 > >
56 > > How is it possible ???
57 > > Why this horrible performance ???
58 > > Is it a guilt of gnome 2.6 ???
59 > >
60 > > My emerge info as follow:
61 > >
62 > > Portage 2.0.50-r8 (default-x86-2004.0, gcc-3.3.3,
63 > > glibc-2.3.3.20040420-r0, 2.4.26)
64 > >
65 >
66 =================================================================
67 > > System uname: 2.4.26 i686 AMD Athlon(tm) XP 2600+
68 > > Gentoo Base System version 1.4.16
69 > > Autoconf: sys-devel/autoconf-2.59-r3
70 > > Automake: sys-devel/automake-1.8.3
71 > > ACCEPT_KEYWORDS="x86"
72 > > AUTOCLEAN="yes"
73 > > CFLAGS="-O3 -march=athlon-xp -pipe
74 > > -fprefetch-loop-arrays -funroll-loops -fPIC
75 > > -maccumulate-outgoing-args -minline-all-stringops
76 > > -mfpmath=sse "
77 > > CHOST="i686-pc-linux-gnu"
78 > > COMPILER="gcc3"
79 > > CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb
80 > > /usr/kde/2/share/config /usr/kde/3/share/config
81 > > /usr/lib/mozilla/defaults/pref /usr/share/config
82 > > /usr/share/texmf/dvipdfm/config/
83 > > /usr/share/texmf/dvips/config/
84 > > /usr/share/texmf/tex/generic/config/
85 > > /usr/share/texmf/tex/platex/config/
86 > > /usr/share/texmf/xdvi/ /var/qmail/control"
87 > > CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo
88 > > /etc/env.d"
89 > > CXXFLAGS="-O3 -march=athlon-xp -pipe
90 > > -fprefetch-loop-arrays -funroll-loops -fPIC
91 > > -maccumulate-outgoing-args -minline-all-stringops
92 > > -mfpmath=sse "
93 > > DISTDIR="/usr/portage/distfiles"
94 > > FEATURES="autoaddcvs ccache sandbox"
95 > > GENTOO_MIRRORS="http://gentoo.oregonstate.edu
96 > >
97 >
98 http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
99 > > MAKEOPTS="-j2"
100 > > PKGDIR="/usr/portage/packages"
101 > > PORTAGE_TMPDIR="/var/tmp"
102 > > PORTDIR="/usr/portage"
103 > > PORTDIR_OVERLAY=""
104 > > SYNC="rsync://rsync.gentoo.org/gentoo-portage"
105 > > USE="3dnow apm audiofile berkdb cdr cjk directfb
106 > doc
107 > > emacs encode esd foomaticdb gdbm gnome gpm gtk
108 > gtk2
109 > > guile imlib ipv6 java libg++ libwww mad memlimit
110 > > mikmod mmx mozilla mpeg ncurses oggvorbis opengl
111 > oss
112 > > python readline slang spell sse ssl svga tcpd
113 > tetex
114 > > truetype x86 xml2 zlib"
115 > >
116 > > thanks in advance.
117 > >
118 > >
119 > >
120 > >
121 > >
122 > >
123 > >
124 >
125 ____________________________________________________________
126 > > Yahoo! Companion - Scarica gratis la toolbar di
127 > Ricerca di Yahoo!
128 > > http://companion.yahoo.it
129 > >
130 > > --
131 > > gentoo-performance@g.o mailing list
132 >
133 > --
134 > gentoo-performance@g.o mailing list
135 >
136 >
137
138
139
140
141
142
143 ____________________________________________________________
144 Yahoo! Companion - Scarica gratis la toolbar di Ricerca di Yahoo!
145 http://companion.yahoo.it
146
147 --
148 gentoo-performance@g.o mailing list

Replies

Subject Author
Re: [gentoo-performance] How is it possible ??? Andrea Pretto <prettz_it@×××××.it>