View previous topic :: View next topic |
Author |
Message |
DarkGod Guest
|
Posted: Sat May 18, 2002 1:20 am Post subject: Slow downs/freeze |
|
|
Hullo,
I just installed gentoo(look great so far:) and Im experiencing a very annoying problem:
Sometimes, usualy when I do disk access it seems, everything freezes for a few seconds.
It is quite annoying as you migth guess
I'm using the gentoo-sources sources and reiserfs. Is there a special option in the kernel config or somesuch ?
I activated the preemptive patch too, that cant be it .. can it ?
Thanks |
|
Back to top |
|
|
shakti Guru
Joined: 15 May 2002 Posts: 358 Location: omnipresent
|
Posted: Sat May 18, 2002 3:02 am Post subject: |
|
|
Same Problem here, while copying large files i get 100% cpu use and very slow (1.5mb/s) data thruw put. I guess there must be a way to tweak hd access.... |
|
Back to top |
|
|
TheWart Guru
Joined: 10 May 2002 Posts: 432 Location: Nashville,TN - USA
|
Posted: Sat May 18, 2002 3:14 am Post subject: |
|
|
Have you guys done the hdparm tweaks? Here is a quick overview
hdparm -t -T /dev/XXX will give you some quick benchmarks
hdparm -c 1 -d 1 -k 1 /dev/hda
the 'c' turns on 32bit access, and the 'd' turns on DMA, the 'k' tells it to keep these settings (you need to put this command in the startup file)
Also, you can enable ATA 33/66/100 depending on your drive. _________________ Face it, we are all noobs.
On the box it said it was designed for Win XP or better, so why won't it work with Linux? |
|
Back to top |
|
|
shakti Guru
Joined: 15 May 2002 Posts: 358 Location: omnipresent
|
Posted: Sat May 18, 2002 3:21 am Post subject: |
|
|
thank you very much...... |
|
Back to top |
|
|
FINITE Guru
Joined: 10 May 2002 Posts: 449
|
Posted: Sat May 18, 2002 9:57 pm Post subject: |
|
|
What start up file would that be? Thanx |
|
Back to top |
|
|
TheWart Guru
Joined: 10 May 2002 Posts: 432 Location: Nashville,TN - USA
|
Posted: Sun May 19, 2002 4:37 am Post subject: |
|
|
No problem, I think the hdparm stuff should be put on the Gentoo FAQ/install guide. Anyway, IIRC, the startup file is start.local, and it is in /etc/rc.local I think. _________________ Face it, we are all noobs.
On the box it said it was designed for Win XP or better, so why won't it work with Linux? |
|
Back to top |
|
|
AutoBot l33t
Joined: 22 Apr 2002 Posts: 968 Location: Usually Out
|
Posted: Sun May 19, 2002 7:52 am Post subject: |
|
|
TheWart wrote: | No problem, I think the hdparm stuff should be put on the Gentoo FAQ/install guide. Anyway, IIRC, the startup file is start.local, and it is in /etc/rc.local I think. |
Naa not really as hdparm is general linux knowledge and not specifically related to gentoo, well on second thought it wouldn't hurt for it to be there _________________ This message self destructed a long time ago. |
|
Back to top |
|
|
FINITE Guru
Joined: 10 May 2002 Posts: 449
|
Posted: Sun May 19, 2002 5:52 pm Post subject: |
|
|
I ran the benchmark command in xterm before messing with the 32bit access and the dma stuff and this is what I got:
Timing buffer cache reads:128mb in .50sec=258.16mb/sec
Timing buffered disk reads: 64mb in 9.80sec= 6.53 mb/sec
Ran the same thing after exe the command to enable 32bit access and dma in xterm and these are the results:
Timing bufferd cache reads: 128 mb in .52 seconds=244.22 mb.sec
Timing buffered disk reads: 64mb in 2.02 seconds= 31.71 mb/sec
Deffinate improvment in the bufferd disk reads area but the cache reads went up a little bit. Is thee a place where I can find detailed information on this hdparm stuff? Is there an hdpam man page? Thanx
PS:And how do I know if ata100 is enabled or not? If its not then how do I enable it? |
|
Back to top |
|
|
EhobaX n00b
Joined: 12 May 2002 Posts: 25 Location: DC
|
Posted: Mon May 20, 2002 1:32 am Post subject: slowdowns w/ CD-Rom |
|
|
Hi,
I've got gentoo installed how I want, but when I access my CD-Rom for games i get the serious slow-down.
It's like WineX will work fine for about 5 seconds. Then it gets choppy. It's a 40-48x CD drive. Is there some hardparm technique that I can use for this?
Thanks in advance. |
|
Back to top |
|
|
|