View previous topic :: View next topic |
Author |
Message |
ColdPack n00b
Joined: 19 Jun 2002 Posts: 60 Location: Madison, WI
|
Posted: Thu Jul 04, 2002 3:18 pm Post subject: Wow! It all works! but... |
|
|
Is it ever slooooowww!
I used these flags for my athlon-tbird system.
CFLAGS="-march=athlon-tbird -O3 -pipe"
CXXFLAGS="-march=athlon-tbird -O3 -pipe"
After the initial installation of Gentoo 1.3b, I ran "emerge rsync" then emerged KDE3, the needed Nvidia driver, Alsa, Galeon and Mozilla".
Everything is incredibly slow. It takes as much as 30 seconds (sometimes more) for a simple terminal to pop up. I ran Galeon after I emerged it and it took 30 seconds for the setup window to pop up. And when I type in a web adress... it takes about 15 seconds before it even tries to access the net to obtain the site.
Is there something I should change in my /etc/make.conf?
Perhaps re-emerge kde and whatever else with the "new" flags, etc?
Just curious. I just figured that by optimizing to my cpu, it would make things snappier. I guess not.
Any thoughts?
Thanks in advance!
CP |
|
Back to top |
|
|
Scandium Retired Dev
Joined: 22 Apr 2002 Posts: 340 Location: Germany
|
Posted: Thu Jul 04, 2002 3:41 pm Post subject: |
|
|
try using -O2 or there's something wrong with your kernel - does this all happen only in X or also when using console apps ? |
|
Back to top |
|
|
ColdPack n00b
Joined: 19 Jun 2002 Posts: 60 Location: Madison, WI
|
Posted: Thu Jul 04, 2002 4:29 pm Post subject: |
|
|
Essentially, it's X apps that are having the issues.
Things in a console seem to be fine... but anything in X is incredibly slow.
It just took Galeon 22 seconds to show up. I have an athlon tbird 1.33 GHz computer. That doesn't seem right at all.
It all snaps right up when I use my Gentoo 1.2 system compiled with gcc-2.95 or whatever.
CP
Should I re-emerge using the -O2 flag? |
|
Back to top |
|
|
Scandium Retired Dev
Joined: 22 Apr 2002 Posts: 340 Location: Germany
|
Posted: Thu Jul 04, 2002 4:38 pm Post subject: |
|
|
so, if it only happens in X, I would try using another windowmanager...emerge something which is really small (*box, or even twm or so) and if it happens there, too I don't know what you can do....
recompiling with -O2 might be useless if it doesn't happen in the console |
|
Back to top |
|
|
alec Apprentice
Joined: 19 Apr 2002 Posts: 270 Location: Here
|
Posted: Thu Jul 04, 2002 5:56 pm Post subject: |
|
|
Doubt it has anything to do with the windowmanager. To make sure, try the default X one - change you /etc/rc.conf to "X" and comment out your ~/.xinitrc and try that. If so, it's your windowmanager. Check out the Tips & Tricks topic on Optimizing KDE.
Still slow?
Try adding "-mmmx" to your C(XX)FLAGS and recompile. The added flag probably won't do much, but it's worth a shot.
Also, see this (https://forums.gentoo.org/viewtopic.php?t=5666&highlight=nano+slow) similar post. |
|
Back to top |
|
|
ChiaJesus n00b
Joined: 08 Jun 2002 Posts: 51
|
Posted: Thu Jul 04, 2002 6:16 pm Post subject: Obvious suggestion |
|
|
Did you compile DMA into kernel? May need to tweak your disk speed with hdparm.
-Chia |
|
Back to top |
|
|
lx Veteran
Joined: 28 May 2002 Posts: 1012 Location: Netherlands
|
Posted: Thu Jul 04, 2002 8:52 pm Post subject: |
|
|
Hi
Compiled gentoo 1.3b with same march (O3 march=athlon-tbird) and it works just fine on my athlon-tbird 1.2Ghz(133Mhz), probably some configuration / kernel problem (btw. I'm using Gnome 2).
Cya lX. _________________ "Remember there's a big difference between kneeling down and bending over.", Frank Zappa |
|
Back to top |
|
|
aardvark Guru
Joined: 30 Jun 2002 Posts: 576
|
Posted: Thu Jul 04, 2002 9:45 pm Post subject: |
|
|
are you using fam-oss?
it screws things up here,.... at random times though...
can you see any strange cpu usage when running top in a terminal or console?
have you tried typing hdparm -Tt /dev/hdYOURHDHER and found that the numbers are around 25 and 200 (or vice versa)
have you set your hostname+ ipnumber up in the /etc/hosts file?
for the rest gentoo blazes on my duron 850 and thus your tbird should do very well. |
|
Back to top |
|
|
ColdPack n00b
Joined: 19 Jun 2002 Posts: 60 Location: Madison, WI
|
Posted: Fri Jul 05, 2002 4:59 am Post subject: |
|
|
Sure looks as if there are lots of things to look at to figure out what's happening. Thanks for your guidance everyone. If I find something that improves the performance, I will surely get back to you.
Thanks, again.
CP |
|
Back to top |
|
|
jimmybfan Tux's lil' helper
Joined: 03 Jul 2002 Posts: 100 Location: P-town
|
Posted: Fri Jul 05, 2002 5:23 am Post subject: |
|
|
the problem most likely is that your hostname is not in your /etc/hosts file. I had the same problem and added it there and everything works beautifully now
just add a line like
127.0.0.1 your_hostname |
|
Back to top |
|
|
ColdPack n00b
Joined: 19 Jun 2002 Posts: 60 Location: Madison, WI
|
Posted: Fri Jul 05, 2002 12:53 pm Post subject: |
|
|
Okay, well it seems a little faster since changing my /etc/hosts files.
It initially read:
127.0.0.1 localhost
So, since my computer is actually named Gentoo, I added the line:
127.0.0.1 Gentoo.localdomain.com Gentoo
Now things appear to be a little faster. I will need to play with it a little to really determine it. You know, you just get used to how things are after a while so I can't quite tell. Thanks for all the replies!
CP |
|
Back to top |
|
|
rac Bodhisattva
Joined: 30 May 2002 Posts: 6553 Location: Japanifornia
|
Posted: Mon Aug 19, 2002 1:13 am Post subject: |
|
|
GCC3 to OTG, thread all over the place. _________________ For every higher wall, there is a taller ladder |
|
Back to top |
|
|
|