1 |
henkg@××××××××××××××.nl wrote: |
2 |
|
3 |
>Hello, |
4 |
> |
5 |
>I have 4 gentoo systems. Three are 1-3 years old, the fourth has just |
6 |
>been rebooted for the first time after installing gento 2005.1 on it. |
7 |
> |
8 |
>When I reboot any of the older three computers and simply type |
9 |
>emerge |
10 |
> |
11 |
>it takes 14 to 20 seconds before I get a message from emerge. On the |
12 |
>fourth computer this takes only 2 seconds or so. |
13 |
> |
14 |
>A second emerge commands on all machines retunrs quickly. |
15 |
> |
16 |
>Just to see if some kind of defragmentation might help, I made a full |
17 |
>copy of my root partition to a new one, altered grub.conf and restarted. |
18 |
>Emerge startup time improved from 20 to 14 seconds which is still rather |
19 |
>slow. |
20 |
> |
21 |
>Programs like mplayer show simular initial startup times. |
22 |
> |
23 |
>All computer are athlon 1600-2000 based, and have hard disks tat read |
24 |
>about 38 mb/s according to hdparm. |
25 |
> |
26 |
>Is there a way to speed up initial program load times? |
27 |
> |
28 |
> |
29 |
How much memory do these machines have? No matter what you answer, I |
30 |
have seen improvement with using -Os in my CFLAGS. This makes the |
31 |
executables optimized for size (-O2 without optimizations that increase |
32 |
size IIRC). This means that binaries read from disk faster, as they are |
33 |
smaller and that they also take less RAM, reducing the need for swap, |
34 |
should the system be using it. |
35 |
|
36 |
As always, YMMV. |
37 |
|
38 |
Tom Veldhouse |
39 |
|
40 |
-- |
41 |
gentoo-user@g.o mailing list |