Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Gentoo used to be faster on my system :-(
View unanswered posts
View posts from last 24 hours

Goto page 1, 2  Next  
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
senectus
Guru
Guru


Joined: 17 Jul 2003
Posts: 534

PostPosted: Thu Jul 08, 2004 9:32 pm    Post subject: Gentoo used to be faster on my system :-( Reply with quote

I've had Gentoo installed twice on my PC at home.
The first time I had help installing it, and when I had it up and running it was damn quick and very nice...

Since then I've rebuilt it (don't ask :-( ), and this time I built it totally myself.. but its not as quick as it used to be... can anyone make a suggestion as to how I might speed it up? or at least get it back to similiar performance that I had before?
_________________
2800+XP A7N8X FX6600GT
www.modmeup.net |
Belief is 9/10 of YOUR reality.
Wise man say: A skilled troll is a master baiter.
Back to top
View user's profile Send private message
beandog
Bodhisattva
Bodhisattva


Joined: 04 May 2003
Posts: 2072
Location: /usa/utah

PostPosted: Thu Jul 08, 2004 9:45 pm    Post subject: Reply with quote

What's your use flags, rc-update -s, worldfile and architecture / setup?
_________________
If it ain't broke, tweak it. dvds | blurays | blog | wiki
Back to top
View user's profile Send private message
senectus
Guru
Guru


Joined: 17 Jul 2003
Posts: 534

PostPosted: Thu Jul 08, 2004 10:47 pm    Post subject: Reply with quote

Well this is a copy and paste from the /etc/make.conf file:
Code:
CFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
USE="mmx 3dnow gtk2 gnome qt kde dvd alsa cdr avi jpeg java mpeg mozilla opengl" CXXFLAGS="${CFLAGS}"


its the 2.6.6 kernel.

Its an Athlon XP2800+ (barton core processor)
Asus A7N8X
GeForce 5600 FX (128mb)
512mb ram

1 drive (I'm not sure how to get the info for that...)
Is there any other info you need?

** edit**
oh and :
Code:

Last login: Fri Jul  9 06:22:53 2004 from croaker
one-eye root # rc-update -s
           alsasound | boot
                apmd |
            bootmisc | boot
             checkfs | boot
           checkroot | boot
               clock | boot
         consolefont | boot
         crypto-loop |
               cupsd |
          domainname |      default
              esound |
                famd |      default
                 gdm |      default
            gkrellmd |
                 gpm |
              hdparm |
            hostname | boot
             keymaps | boot
                lisa |
          lm_sensors |
               local |      default nonetwork
          localmount | boot
             metalog |      default
             modules | boot
               mondo |
            net.eth0 |      default
              net.lo | boot
            net.ppp0 |
            netmount |      default
                nscd |
             numlock |
             portmap |
             reslisa |
           rmnologin | boot
              rsyncd |
               samba |
              serial | boot
                sshd |      default
             urandom | boot
          vixie-cron |      default
              wasabi |
              webmin |      default
             winbind |
                 xdm |
                 xfs |
one-eye root #

_________________
2800+XP A7N8X FX6600GT
www.modmeup.net |
Belief is 9/10 of YOUR reality.
Wise man say: A skilled troll is a master baiter.
Back to top
View user's profile Send private message
megadonkey
Apprentice
Apprentice


Joined: 24 Apr 2004
Posts: 224
Location: Bohuslän, Sweden

PostPosted: Thu Jul 08, 2004 10:51 pm    Post subject: Reply with quote

Check the output of:
Code:
hdparm /dev/hda
and see if you have dma enabled.
_________________
Life, loathe it or ignore it, you can't like it.
Back to top
View user's profile Send private message
senectus
Guru
Guru


Joined: 17 Jul 2003
Posts: 534

PostPosted: Thu Jul 08, 2004 11:06 pm    Post subject: Reply with quote

thanks.
Code:
/dev/hda:
 multcount    = 16 (on)
 IO_support   =  1 (32-bit)
 unmaskirq    =  1 (on)
 using_dma    =  1 (on)
 keepsettings =  0 (off)
 readonly     =  0 (off)
 readahead    = 256 (on)
 geometry     = 65535/16/63, sectors = 156301488, start = 0


DMA looks to be on?
_________________
2800+XP A7N8X FX6600GT
www.modmeup.net |
Belief is 9/10 of YOUR reality.
Wise man say: A skilled troll is a master baiter.
Back to top
View user's profile Send private message
DarrenM
l33t
l33t


Joined: 25 Apr 2002
Posts: 653
Location: Sydney, Australia

PostPosted: Fri Jul 09, 2004 12:05 am    Post subject: Reply with quote

DMA is on.

In what way is it slower though? Slower disk speed/app load times, slower booting, lower frame rates in games, less responsive desktop?

Maybe you have pre-emptive kernel support before but not now or something like that?
Back to top
View user's profile Send private message
senectus
Guru
Guru


Joined: 17 Jul 2003
Posts: 534

PostPosted: Fri Jul 09, 2004 12:15 am    Post subject: Reply with quote

Well, some apps seem slower to kick in.
Games seem to take AGES to load (both native and Cedega 4.0 ).
I seem to get really REALLY crap disk/internet performance when I have downloads going (even when I'm only using 10% of my total ADSL bandwidth.

It performs like a dog when I'm un/zipping.

Just general "feel" is poor...

I used the 2.4 kernel last time, and this time I'm on the 2.6.

I tried enabling pre-linking... but noticed ZERO change in performance...

one thing i noticed is that when it boots it says something about the hard drives running at 33mhz ???
Shouldn't this be at least 66 if not 100?
_________________
2800+XP A7N8X FX6600GT
www.modmeup.net |
Belief is 9/10 of YOUR reality.
Wise man say: A skilled troll is a master baiter.
Back to top
View user's profile Send private message
megadonkey
Apprentice
Apprentice


Joined: 24 Apr 2004
Posts: 224
Location: Bohuslän, Sweden

PostPosted: Fri Jul 09, 2004 12:26 am    Post subject: Reply with quote

Quote:
one thing i noticed is that when it boots it says something about the hard drives running at 33mhz ???
Shouldn't this be at least 66 if not 100?

If I'm not completely mistaken that is the speed of the pci bus. It probably should be 33 mhz. Unless you've got 66 mhz pci-slots in your comp.
_________________
Life, loathe it or ignore it, you can't like it.
Back to top
View user's profile Send private message
beandog
Bodhisattva
Bodhisattva


Joined: 04 May 2003
Posts: 2072
Location: /usa/utah

PostPosted: Fri Jul 09, 2004 1:12 am    Post subject: Reply with quote

senectus wrote:

Its an Athlon XP2800+ (barton core processor)
Asus A7N8X
GeForce 5600 FX (128mb)
512mb ram


Man, with that kind of system, I dont know how you could even find a slowdown. Only a few things I can think of -- make sure hdparm is enabled on boot (rc-update add hdparm default), use reiserfs for your filesystem, and try ck-sources. :)

Steve
_________________
If it ain't broke, tweak it. dvds | blurays | blog | wiki
Back to top
View user's profile Send private message
senectus
Guru
Guru


Joined: 17 Jul 2003
Posts: 534

PostPosted: Fri Jul 09, 2004 1:30 am    Post subject: Reply with quote

Ok will try that thanks.. :-)

Should I have noticed a decent speed increade with the pre-linking?

Would I get better peformance If I had a Raid array (SATA) using the onboard raid support?
_________________
2800+XP A7N8X FX6600GT
www.modmeup.net |
Belief is 9/10 of YOUR reality.
Wise man say: A skilled troll is a master baiter.
Back to top
View user's profile Send private message
beandog
Bodhisattva
Bodhisattva


Joined: 04 May 2003
Posts: 2072
Location: /usa/utah

PostPosted: Fri Jul 09, 2004 4:01 am    Post subject: Reply with quote

senectus wrote:
Should I have noticed a decent speed increade with the pre-linking?

No clue.
senectus wrote:
Would I get better peformance If I had a Raid array (SATA) using the onboard raid support?

Even using an SATA drive you'll notice speed improvements. :)
_________________
If it ain't broke, tweak it. dvds | blurays | blog | wiki
Back to top
View user's profile Send private message
hardcore
l33t
l33t


Joined: 01 Nov 2003
Posts: 626
Location: MSU, MI

PostPosted: Fri Jul 09, 2004 6:44 am    Post subject: Reply with quote

It's more than likely the difference in kernel's. The 2.4 and 2.6 mainline schedulers are vastly different. You may want to try out love-sources with nick's scheduler.
Back to top
View user's profile Send private message
senectus
Guru
Guru


Joined: 17 Jul 2003
Posts: 534

PostPosted: Fri Jul 09, 2004 7:28 am    Post subject: Reply with quote

hardcore wrote:
It's more than likely the difference in kernel's. The 2.4 and 2.6 mainline schedulers are vastly different. You may want to try out love-sources with nick's scheduler.


heh.. Don't tempt me :-)

I'd love to try love sources... but don't want the bleeding edge issue's associated with them..
_________________
2800+XP A7N8X FX6600GT
www.modmeup.net |
Belief is 9/10 of YOUR reality.
Wise man say: A skilled troll is a master baiter.
Back to top
View user's profile Send private message
neuron
Advocate
Advocate


Joined: 28 May 2002
Posts: 2371

PostPosted: Fri Jul 09, 2004 10:39 am    Post subject: Reply with quote

I'd emerge ck-sources, should be damn stable, and has staircase scheduler and cfq per default.

another thing, is your hostname set up correctly? Kde can have huge slowdowns if that's not set up right.
Back to top
View user's profile Send private message
petrjanda
Veteran
Veteran


Joined: 05 Sep 2003
Posts: 1557
Location: Brno, Czech Republic

PostPosted: Fri Jul 09, 2004 12:24 pm    Post subject: Reply with quote

try differnt CFLAGS, try -pipe , -funroll-loops etc.
_________________
There is, a not-born, a not-become, a not-made, a not-compounded. If that unborn, not-become, not-made, not-compounded were not, there would be no escape from this here that is born, become, made and compounded. - Gautama Siddharta
Back to top
View user's profile Send private message
senectus
Guru
Guru


Joined: 17 Jul 2003
Posts: 534

PostPosted: Fri Jul 09, 2004 12:42 pm    Post subject: Reply with quote

petrjanda wrote:
-funroll-loops
?!?

Isn't that the website that proclaims gentoo to be for ricer's??
_________________
2800+XP A7N8X FX6600GT
www.modmeup.net |
Belief is 9/10 of YOUR reality.
Wise man say: A skilled troll is a master baiter.
Back to top
View user's profile Send private message
dyqik
Tux's lil' helper
Tux's lil' helper


Joined: 08 May 2003
Posts: 120
Location: Oxford, UK

PostPosted: Fri Jul 09, 2004 12:54 pm    Post subject: Reply with quote

-pipe doesn't affect the speed of compiled programs at all, it just speeds up compilation by piping data between different aspects of the build process. So you should use it, but it won't make things feel faster.

I think you need "pic" in your use flags to make prelink really work well, but I could be wrong on that. Use the prelinking guide in the user docs.

Have you made any major changes to the disk partition layout?
Back to top
View user's profile Send private message
petrjanda
Veteran
Veteran


Joined: 05 Sep 2003
Posts: 1557
Location: Brno, Czech Republic

PostPosted: Fri Jul 09, 2004 1:01 pm    Post subject: Reply with quote

senectus wrote:
petrjanda wrote:
-funroll-loops
?!?

Isn't that the website that proclaims gentoo to be for ricer's??

no :lol:
_________________
There is, a not-born, a not-become, a not-made, a not-compounded. If that unborn, not-become, not-made, not-compounded were not, there would be no escape from this here that is born, become, made and compounded. - Gautama Siddharta
Back to top
View user's profile Send private message
petrjanda
Veteran
Veteran


Joined: 05 Sep 2003
Posts: 1557
Location: Brno, Czech Republic

PostPosted: Fri Jul 09, 2004 1:02 pm    Post subject: Reply with quote

dyqik wrote:
-pipe doesn't affect the speed of compiled programs at all, it just speeds up compilation by piping data between different aspects of the build process. So you should use it, but it won't make things feel faster.

I think you need "pic" in your use flags to make prelink really work well, but I could be wrong on that. Use the prelinking guide in the user docs.

Have you made any major changes to the disk partition layout?

thanx, whats ftracer for? cuz I have it in my cflags and i dont know what it does..
_________________
There is, a not-born, a not-become, a not-made, a not-compounded. If that unborn, not-become, not-made, not-compounded were not, there would be no escape from this here that is born, become, made and compounded. - Gautama Siddharta
Back to top
View user's profile Send private message
count_zero
Guru
Guru


Joined: 17 May 2004
Posts: 460
Location: Little Rock, Arkansas, USA

PostPosted: Fri Jul 09, 2004 2:48 pm    Post subject: Reply with quote

I enabled it on my machine. I'm not sure what it does, but it seems to be useful for some good speed increases. Check out this site for more on cflags and optimization: http://www.coyotegulch.com/acovea/
ftracer was an option that seemed to increase performance across the benchmarks.
_________________
"We must all hang together, or assuredly we shall all hang separately."
-Ben Franklin
Back to top
View user's profile Send private message
luqas
Guru
Guru


Joined: 02 Jan 2004
Posts: 588
Location: /US/Texas/Beaumont

PostPosted: Fri Jul 09, 2004 2:56 pm    Post subject: Reply with quote

dyqik wrote:
I think you need "pic" in your use flags to make prelink really work well, but I could be wrong on that. Use the prelinking guide in the user docs.


So I guess I need to add pic to my USE and then emerge -e world? Can anyone verify that pic makes prelink work better (I don't feel like waiting through a full recompile :D)? The prelink documentation does not specify anything about the pic USE flag. It does mention the during a compile programs should use the gcc -fpic option. I am trying to find something that specifies that. Thanks dyqik for the tip.


Last edited by luqas on Fri Jul 09, 2004 3:07 pm; edited 1 time in total
Back to top
View user's profile Send private message
senectus
Guru
Guru


Joined: 17 Jul 2003
Posts: 534

PostPosted: Fri Jul 09, 2004 3:04 pm    Post subject: Reply with quote

petrjanda wrote:
senectus wrote:
petrjanda wrote:
-funroll-loops
?!?

Isn't that the website that proclaims gentoo to be for ricer's??

no :lol:


yes it is :-)
http://funroll-loops.org/
I knew I'd seen it before...

(note I don't want this link to turn this thread into a flame fest.. )
_________________
2800+XP A7N8X FX6600GT
www.modmeup.net |
Belief is 9/10 of YOUR reality.
Wise man say: A skilled troll is a master baiter.
Back to top
View user's profile Send private message
petrjanda
Veteran
Veteran


Joined: 05 Sep 2003
Posts: 1557
Location: Brno, Czech Republic

PostPosted: Sat Jul 10, 2004 1:26 am    Post subject: Reply with quote

senectus wrote:
petrjanda wrote:
senectus wrote:
petrjanda wrote:
-funroll-loops
?!?

Isn't that the website that proclaims gentoo to be for ricer's??

no :lol:


yes it is :-)
http://funroll-loops.org/
I knew I'd seen it before...

(note I don't want this link to turn this thread into a flame fest.. )

funroll-loops is a CFLAG... :P
_________________
There is, a not-born, a not-become, a not-made, a not-compounded. If that unborn, not-become, not-made, not-compounded were not, there would be no escape from this here that is born, become, made and compounded. - Gautama Siddharta
Back to top
View user's profile Send private message
Abraxas
l33t
l33t


Joined: 25 May 2003
Posts: 814

PostPosted: Sun Jul 11, 2004 3:57 pm    Post subject: Reply with quote

senectus wrote:
Well, some apps seem slower to kick in.
Games seem to take AGES to load (both native and Cedega 4.0 ).
I seem to get really REALLY crap disk/internet performance when I have downloads going (even when I'm only using 10% of my total ADSL bandwidth.

It performs like a dog when I'm un/zipping.

Just general "feel" is poor...

I used the 2.4 kernel last time, and this time I'm on the 2.6.

I tried enabling pre-linking... but noticed ZERO change in performance...

one thing i noticed is that when it boots it says something about the hard drives running at 33mhz ???
Shouldn't this be at least 66 if not 100?


That is the idebus. If you have a faster bus then you can override this by adding "idebus=xx" (where xx is the speed) to your grub options.
_________________
Time makes more converts than reason. - Thomas Paine
Travel is fatal to prejudice, bigotry, and narrow-mindedness, and many of our people need it sorely on these accounts. - Mark Twain
Back to top
View user's profile Send private message
senectus
Guru
Guru


Joined: 17 Jul 2003
Posts: 534

PostPosted: Wed Jul 21, 2004 12:23 pm    Post subject: Reply with quote

I bought a new drive (needed more space anyhow) Its a seagate 200gig 7200rpm IDE PATA drive..

I ghosted my Gentoo install over to it and now it FLIES!

Its amazing the diff a good fast drive will make.. :-)
_________________
2800+XP A7N8X FX6600GT
www.modmeup.net |
Belief is 9/10 of YOUR reality.
Wise man say: A skilled troll is a master baiter.
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
Goto page 1, 2  Next
Page 1 of 2

 
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