Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Wow! It all works! but...
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
ColdPack
n00b
n00b


Joined: 19 Jun 2002
Posts: 60
Location: Madison, WI

PostPosted: Thu Jul 04, 2002 3:18 pm    Post subject: Wow! It all works! but... Reply with quote

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
View user's profile Send private message
Scandium
Retired Dev
Retired Dev


Joined: 22 Apr 2002
Posts: 340
Location: Germany

PostPosted: Thu Jul 04, 2002 3:41 pm    Post subject: Reply with quote

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
View user's profile Send private message
ColdPack
n00b
n00b


Joined: 19 Jun 2002
Posts: 60
Location: Madison, WI

PostPosted: Thu Jul 04, 2002 4:29 pm    Post subject: Reply with quote

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
View user's profile Send private message
Scandium
Retired Dev
Retired Dev


Joined: 22 Apr 2002
Posts: 340
Location: Germany

PostPosted: Thu Jul 04, 2002 4:38 pm    Post subject: Reply with quote

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
View user's profile Send private message
alec
Apprentice
Apprentice


Joined: 19 Apr 2002
Posts: 270
Location: Here

PostPosted: Thu Jul 04, 2002 5:56 pm    Post subject: Reply with quote

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
View user's profile Send private message
ChiaJesus
n00b
n00b


Joined: 08 Jun 2002
Posts: 51

PostPosted: Thu Jul 04, 2002 6:16 pm    Post subject: Obvious suggestion Reply with quote

Did you compile DMA into kernel? May need to tweak your disk speed with hdparm.

-Chia
Back to top
View user's profile Send private message
lx
Veteran
Veteran


Joined: 28 May 2002
Posts: 1012
Location: Netherlands

PostPosted: Thu Jul 04, 2002 8:52 pm    Post subject: Reply with quote

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
View user's profile Send private message
aardvark
Guru
Guru


Joined: 30 Jun 2002
Posts: 576

PostPosted: Thu Jul 04, 2002 9:45 pm    Post subject: Reply with quote

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
View user's profile Send private message
ColdPack
n00b
n00b


Joined: 19 Jun 2002
Posts: 60
Location: Madison, WI

PostPosted: Fri Jul 05, 2002 4:59 am    Post subject: Reply with quote

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
View user's profile Send private message
jimmybfan
Tux's lil' helper
Tux's lil' helper


Joined: 03 Jul 2002
Posts: 100
Location: P-town

PostPosted: Fri Jul 05, 2002 5:23 am    Post subject: Reply with quote

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
View user's profile Send private message
ColdPack
n00b
n00b


Joined: 19 Jun 2002
Posts: 60
Location: Madison, WI

PostPosted: Fri Jul 05, 2002 12:53 pm    Post subject: Reply with quote

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
View user's profile Send private message
rac
Bodhisattva
Bodhisattva


Joined: 30 May 2002
Posts: 6553
Location: Japanifornia

PostPosted: Mon Aug 19, 2002 1:13 am    Post subject: Reply with quote

GCC3 to OTG, thread all over the place.
_________________
For every higher wall, there is a taller ladder
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum