PDA

View Full Version : serious slowness problem


MechCD
20th July 2001, 00:21
Ok, it boots up fine. I get to the checkin' filesystems. Everythings botched, run fsck and it fixes everything. Now when I log in, its "laggy", it takes a 20 second "break" and then loads Gnome. When I open a console, it takes another "break" of 20 seconds. Seems like it needs deragged or something. It does the same when i logout. Everything else is fine, gimp, gedit, netscrape all load instantly. Could my 4gb Quantum Bigfoot be dyin'? Its where I keep my /usr, /var, and /temp. That one bootup fudged up all the partitions and made the autocheck fail. / is on my 20gb. I don't remebr if it was shutdown properly :( I think somethin may have locked it up cuz I was overclocked to 1466mhz (multiplier ONLY, fsb was 133, PCI 33) So, will I need to reinstall? Or is there somethin' I can do to fix this lagginess?

dnar
20th July 2001, 08:13
DO NOT RUN FSCk or E2FSCK WITH THE SYSTEM UP!

You could furk it big time, best to restart Linux and let it sort it before the filesystem is mounted.....

Slow? Gnome may be slowed if the Gnome name service is not running. Do this to check:

ps -ax | grep gnome-name-service

Do you get a task returned? Also, check you have localhost defined correctly in /etc/hosts.
This is from my /etc/hosts, note localhost is listed with the machine in question, Criten:
192.168.0.1 Criten.RedDwarf Criten localhost

Or, maybe your using lots of swap?

MechCD
20th July 2001, 11:21
I don't think the system was up, it bombed me into "filesystem rescue mode"

I don't think my localhos is properly defined :(

192.168.0.2 penguin.a penguin localhost

Is that right?

I did get 2 item listed for that above command too

MechCD
20th July 2001, 11:24
Ok, now its not doing it, and i didn't change anything! Argh! I really think my 4gb Big(crap)foot is dyin' . It might not like being on 24/7, it gets kinda hot even though I have a fan on it.

dnar
20th July 2001, 11:40
Yep, your localhost is cool.

Is it a UDMA drive?

If so, try this as root:

/sbin/hdparm -tT /dev/hda

Substitute hda with whatever drive. Post the results dude.

MechCD
20th July 2001, 13:03
From the console of root@penguin
/dev/hdd:
Timing buffer-cache reads: 128 MB in 0.72 seconds =177.78MB/sec

Timing buffered disk reads: 64 MB in 6.04 seconds = 10.60 MB/sec

Its not a UDMA drive

and for HDA (which is where / is located)

128mb in 0.65 seconds = 196.92mb/sec
64mb in 2.95 seconds = 21.69mb /sec

HDA is UDMA, i don't know if its enabled in linux, but it is in windows

dnar
20th July 2001, 13:12
hdd is pretty good considering its a PIO drive.


hda looks like it is not running UDMA.



Try this: (you should backup the drive 1st!!!):



/sbin/hdparm -c3 -d1 -m16 -A1 -X69 -k1 /dev/hda



then repeat the transfer tests:



/sbin/hdparm -tT /deb/hda



Post the results, if all is good, I will show you how to make them permanent. What distro / kernel version again?