View previous topic :: View next topic |
Author |
Message |
bladebreak n00b
Joined: 13 May 2004 Posts: 12
|
Posted: Thu May 13, 2004 1:31 pm Post subject: Performance sluggish after install [solved] |
|
|
Edit: Solved, it was bad RAM. Strangely enough the offending stick passed memtest86, but once i pulled it i saw a marked performance improvement - livecd bootup went from 15 minutes to about 30 seconds!
After installing gentoo from stage1 on a PII 400 with 544 MB ram, I noticed the system seemed slow at boot. I thought it was my imagination until I tried to emerge mysql last night - after three hours I went to bed only to find out this morning it's still compiling. I've compiled mySQL before on a slower machine with Slackware, so I know it definitely shouldn't take that long - I just don't know where to begin looking. Multiple searches of the forum have produced tips and hints that haven't had any effect on my system.
The purpose of the system is to be a lightweight web/mail/database server, so I'm just looking to make it run at a usable speed. Any help you guys can give would be appreciated - I'm sure I've bogged something up in the config and I'd hate to go back to Slack.
There is only one HD on the system, /dev/hda which is an old Maxtor:
hdparm shows
Quote: |
/dev/hda:
multcount = 1 (on)
IO_support = 1 (32-bit)
unmaskirq = 1 (on)
using_dma = 1 (on)
keepsettings = 0 (off)
readonly = 0 (off)
readahead = 256 (on)
geometry = 29777/16/63, sectors = 30015216, start = 0
Timing buffer-cache reads: 168 MB in 2.22 seconds = 75.62 MB/sec
Timing buffered disk reads: 52 MB in 3.03 seconds = 17.18 MB/sec
|
All file systems are ReiserFS except for /boot, which is ext2
Memory usage hasn't maxed once, and the swap hasn't been touched. CPU usage has been near 100% during the compile and earlier emerge searches. free shows (while mysql is still compiling in the background)
Quote: |
total used free shared buffers cached
Mem: 547972 427668 120304 0 167208 151248
-/+ buffers/cache: 109212 438760
Swap: 498004 0 498004
|
CFLAGS:
Quote: |
CFLAGS="-O2 -mcpu=i686 -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
|
The kernel is from the gentoo-dev-sources tree. uname -r spits out: 2.6.5-gentoo-r1. I can post the config if needed.
If it makes a difference, the hostname and full name of the system have been added to /etc/hosts:
Quote: |
127.0.0.1 localhost cassandra cassandra.bladebreak-perpetua.ca
|
Again, any help, suggestions, ideas, thoughts would be greatly appreciated, and I'm happy to post more information/rebuild the system from scratch if it can get my performance up to something acceptable.
TIA,
Scott
Last edited by bladebreak on Sun May 16, 2004 1:26 pm; edited 1 time in total |
|
Back to top |
|
|
zaanpenguin Apprentice
Joined: 01 Jul 2003 Posts: 203
|
Posted: Thu May 13, 2004 1:49 pm Post subject: |
|
|
I have similar completely unexplainable slowness problems with a P4 2.8GHz and have no errors/warnings of any kind in my logs. Have you tried looking in the files in /var/log to see if there might be some problem? _________________ Staying crunchy even in milk! |
|
Back to top |
|
|
bladebreak n00b
Joined: 13 May 2004 Posts: 12
|
Posted: Thu May 13, 2004 1:54 pm Post subject: |
|
|
Yes - I forgot to mention, absolutely no errors whatsoever in the log files and on system bootup. Just dragging... |
|
Back to top |
|
|
|
|
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
|
|