Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
performance
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
cootetom
n00b
n00b


Joined: 24 Mar 2004
Posts: 21

PostPosted: Wed Apr 07, 2004 4:39 pm    Post subject: performance Reply with quote

Hi, i'm having very poor performance in gentoo. It takes about 25 seconds to start applications such as firefox or thunderbird in KDE.

I have DMA enabled on my dirves and have my chipset support compiled into the kernel.

Quote:

/dev/hdb:
multcount = 8 (on)
IO_support = 1 (32-bit)
unmaskirq = 1 (on)
using_dma = 1 (on)
keepsettings = 0 (off)
readonly = 0 (off)
readahead = 8 (on)
geometry = 2482/255/63, sectors = 39876480, start = 0


This is what i get from running hdparm -t /dev/hdb
Quote:

/dev/hdb:
Timing buffered disk reads: 62 MB in 3.09 seconds = 20.06 MB/sec


I have nothing to compare it to but this looks slow to me.

I have also heard that the /etc/hosts file will make a difference with performance. My file looks like this.
Quote:

127.0.0.1 localhost
# IPV6 versions of localhost and co
::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts


Can anyone help me out with this because i'm fed up with having to wait 25+ seconds for apps to load.

Thanks
- Tom


Last edited by cootetom on Thu Apr 08, 2004 4:28 pm; edited 1 time in total
Back to top
View user's profile Send private message
klarnox
Guru
Guru


Joined: 28 Jan 2003
Posts: 350
Location: Wisconsin, USA

PostPosted: Wed Apr 07, 2004 9:20 pm    Post subject: Reply with quote

How about telling us what kind of hardware you're running on, so we have some idea of what sort of performance to expect.

Have you looked at Prelink? That should help speed things up.

You may want to put the system name on the same line as localhost in your /etc/hosts file if you're ever planning to boot without a network connection.
Back to top
View user's profile Send private message
odessit
Apprentice
Apprentice


Joined: 01 Feb 2004
Posts: 180
Location: Current Residency - Server Room - Caution - Frostbite Imminent!

PostPosted: Thu Apr 08, 2004 12:43 am    Post subject: Reply with quote

also you can safely delete the following lines (unless you are using IPv6)

Code:
# IPV6 versions of localhost and co
::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts
Back to top
View user's profile Send private message
cootetom
n00b
n00b


Joined: 24 Mar 2004
Posts: 21

PostPosted: Thu Apr 08, 2004 2:49 pm    Post subject: Reply with quote

Ok i have the following system

AMD Athlon 1.4Ghz
512MB DDR Ram
64MB nvidia Geforce2 MX graphics
Plenty of hard drive space!!

I am using the gentoo-sources 2.4.25 kernel.

I haven't tried prelink, i'll look into it because i don't know anything about it at the moment. Maybe that'll speed things up!!
Back to top
View user's profile Send private message
Halcy0n
Developer
Developer


Joined: 17 Sep 2003
Posts: 1682
Location: Freehold, NJ

PostPosted: Thu Apr 08, 2004 3:04 pm    Post subject: Reply with quote

Looks like you should add a few things to /etc/hosts, https://forums.gentoo.org/viewtopic.php?t=111847

Try that out and see if it helps.

There's a related thread from the other day on this same topic here, https://forums.gentoo.org/viewtopic.php?t=158182 and that other post fixed his problem as well.
_________________
Mark Loeser
http://www.halcy0n.com
Back to top
View user's profile Send private message
cootetom
n00b
n00b


Joined: 24 Mar 2004
Posts: 21

PostPosted: Thu Apr 08, 2004 4:27 pm    Post subject: Reply with quote

Ok my etc/hosts file now looks like this,

Quote:

127.0.0.1 coote.unknown_domain coote localhost
# IPV6 versions of localhost and co
#::1 ip6-localhost ip6-loopback
#fe00::0 ip6-localnet
#ff00::0 ip6-mcastprefix
#ff02::1 ip6-allnodes
#ff02::2 ip6-allrouters
#ff02::3 ip6-allhosts


It has made things faster because i can now open firefox in about 10 seconds, but this is still a long time.

I emerged prelink added '-l /usr/share' to the prelink.conf file and ran 'prelink -a --all' but it comes up with a load of different errors of which i don't understand. This is the exact output,

Quote:

bash-2.05b# prelink -a --all
prelink: /sbin/insmod.static: Using /usr/lib/libc.so.1, not /lib/ld-linux.so.2 a s dynamic linker
prelink: /usr/lib/wine/bin/wmc: Could not parse `/usr/lib/wine/bin/wmc: error while loading shared libraries: libwine_unicode.so.1: cannot open shared object file: No such file or directory'
prelink: /usr/lib/wine/bin/wrc: Could not parse `/usr/lib/wine/bin/wrc: error while loading shared libraries: libwine_unicode.so.1: cannot open shared object file: No such file or directory'
prelink: /usr/lib/wine/bin/wine: Could not parse `/usr/lib/wine/bin/wine: error while loading shared libraries: libwine.so.1: cannot open shared object file: No such file or directory'
prelink: /usr/lib/wine/bin/wine-kthread: Could not parse `/usr/lib/wine/bin/wine-kthread: error while loading shared libraries: libwine.so.1: cannot open shared object file: No such file or directory'
prelink: /usr/lib/wine/bin/wine-pthread: Could not parse `/usr/lib/wine/bin/wine-pthread: error while loading shared libraries: libwine.so.1: cannot open shared object file: No such file or directory'
prelink: /usr/lib/wine/bin/wineclipsrv: Could not parse `/usr/lib/wine/bin/wineclipsrv: error while loading shared libraries: libwine_unicode.so.1: cannot open shared object file: No such file or directory'
prelink: /usr/lib/wine/bin/wineserver: Could not parse `/usr/lib/wine/bin/wineserver: error while loading shared libraries: libwine.so.1: cannot open shared object file: No such file or directory'
prelink: /usr/qt/3/lib/libqt-mt.so.3.3.0 is not present in any config file directories, nor was specified on command line
prelink: /usr/share/j2re1.4.2_04/bin/servertool: Not enough room to add .dynamic entry
prelink: /usr/bin/yuvcorrect_tune: Cannot prelink against non-PIC shared library /usr/lib/liblavfile-1.6.so.
Segmentation fault


I'm still thinking it might be my hard drive setup because if you look at my first post those hard drive speeds don't look right. Tell me if i'm wrong?

- Tom
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware 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