Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Slow downs/freeze
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
DarkGod
Guest





PostPosted: Sat May 18, 2002 1:20 am    Post subject: Slow downs/freeze Reply with quote

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
Guru


Joined: 15 May 2002
Posts: 358
Location: omnipresent

PostPosted: Sat May 18, 2002 3:02 am    Post subject: Reply with quote

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
View user's profile Send private message
TheWart
Guru
Guru


Joined: 10 May 2002
Posts: 432
Location: Nashville,TN - USA

PostPosted: Sat May 18, 2002 3:14 am    Post subject: Reply with quote

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
View user's profile Send private message
shakti
Guru
Guru


Joined: 15 May 2002
Posts: 358
Location: omnipresent

PostPosted: Sat May 18, 2002 3:21 am    Post subject: Reply with quote

thank you very much......
Back to top
View user's profile Send private message
FINITE
Guru
Guru


Joined: 10 May 2002
Posts: 449

PostPosted: Sat May 18, 2002 9:57 pm    Post subject: Reply with quote

What start up file would that be? Thanx :D
Back to top
View user's profile Send private message
TheWart
Guru
Guru


Joined: 10 May 2002
Posts: 432
Location: Nashville,TN - USA

PostPosted: Sun May 19, 2002 4:37 am    Post subject: Reply with quote

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
View user's profile Send private message
AutoBot
l33t
l33t


Joined: 22 Apr 2002
Posts: 968
Location: Usually Out

PostPosted: Sun May 19, 2002 7:52 am    Post subject: Reply with quote

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
View user's profile Send private message
FINITE
Guru
Guru


Joined: 10 May 2002
Posts: 449

PostPosted: Sun May 19, 2002 5:52 pm    Post subject: Reply with quote

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 :D

PS:And how do I know if ata100 is enabled or not? If its not then how do I enable it?
Back to top
View user's profile Send private message
EhobaX
n00b
n00b


Joined: 12 May 2002
Posts: 25
Location: DC

PostPosted: Mon May 20, 2002 1:32 am    Post subject: slowdowns w/ CD-Rom Reply with quote

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
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