| View previous topic :: View next topic |
| Author |
Message |
liquiz n00b

Joined: 08 Oct 2004 Posts: 38
|
Posted: Tue Oct 12, 2004 1:18 pm Post subject: Optimized programs - bang for the buck? |
|
|
Hello Everyone
Im about partway through a stage 3 install, actaully Im done and Im emerging in my extra packages. I have a speedy ultra 5 with a 9g hd in it.
I set up the system with the -O3 -pipe and ultrasparc gcc CFLAGS and now Im drudging through the emerge process.
The question is this:
What packages or types of package benifit the most from being recompiled with the new gcc settings?
Ultimately the system is just supposed to be a web/mysql/mail/ftp server with a side order of samba thrown in. The system is behind a work firewall so its not going to be seen by the outside world.
Peace,
Liquiz |
|
| Back to top |
|
 |
GenTimJS Guru


Joined: 03 May 2003 Posts: 401 Location: NH, USA
|
Posted: Wed Oct 13, 2004 2:08 pm Post subject: |
|
|
If you have something that is going to be doing a lot of number crunching (like gcc or sendmail) rebuild it ...
on a system like an U5 the differance may only be in seconds/minuts but on larger systems it can be significant .. its a good habit to optimise yoru stuff when you have the oppertunity.
I use a U1 170 for web/mail/dns and had average 45% load, but after some compiler flag tweaking and recompiling (same versions) got it down to about 30% _________________ -Tim Smith
gentimjs@gmail.com
aim: gentimjs
Sun Blade 1000 2xUltrasparcIII, 2GBram, FC-AL, DVD-R, X3dL
AMD Athlon64 X2 Toledo (It doesnt get any faster..), 2GB DC PC3200 Ram,K8N-U9,SATA |
|
| Back to top |
|
 |
liquiz n00b

Joined: 08 Oct 2004 Posts: 38
|
Posted: Wed Oct 13, 2004 8:25 pm Post subject: |
|
|
I hadnt thought about gcc being cpu intensive but your right.
I went for the following first
bzip2
gzip
tar
gcc
sshd
That was enough to get the system up and running and so far things have been "Stable?" |
|
| Back to top |
|
 |
|