[EMAIL PROTECTED] wrote:
Hello,
I have 4 gentoo systems. Three are 1-3 years old, the fourth has just
been rebooted for the first time after installing gento 2005.1 on it.
When I reboot any of the older three computers and simply type
emerge
it takes 14 to 20 seconds before I get a message from emerge. On the
fourth computer this takes only 2 seconds or so.
A second emerge commands on all machines retunrs quickly.
Just to see if some kind of defragmentation might help, I made a full
copy of my root partition to a new one, altered grub.conf and restarted.
Emerge startup time improved from 20 to 14 seconds which is still rather
slow.
Programs like mplayer show simular initial startup times.
All computer are athlon 1600-2000 based, and have hard disks tat read
about 38 mb/s according to hdparm.
Is there a way to speed up initial program load times?
How much memory do these machines have? No matter what you answer, I
have seen improvement with using -Os in my CFLAGS. This makes the
executables optimized for size (-O2 without optimizations that increase
size IIRC). This means that binaries read from disk faster, as they are
smaller and that they also take less RAM, reducing the need for swap,
should the system be using it.
As always, YMMV.
Tom Veldhouse
--
gentoo-user@gentoo.org mailing list