Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Resource problems, Linux lag
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
mael4
n00b
n00b


Joined: 31 Jul 2002
Posts: 16

PostPosted: Tue Aug 13, 2002 1:09 am    Post subject: Resource problems, Linux lag Reply with quote

I've been using Gentoo for a couple weeks now, and I have noticed some pretty bad lag. When I mean lag, I mean that my mouse skips across the page while doing simple things such as downloading files, or my system in general just seems to crawl. I've run Red Hat for over 9 months before this and really never had this problem. Then again, when I ran Red Hat I had a precompiled kernel, and this is my first attempt of using my own compiled kernel.

So my question is this: could my system be crawling due to having too many things compiled into my kernel, and if so what are some recommendations that I remove from my .config. If that might not be an issue, what else can I do to make my system more proficient and less 'slow'.

Thanks for your time in reading this.
_________________
Windows [n.]

A thirty-two bit extension and GUI shell to a sixteen bit patch to an eight bit operating system originally coded for a four bit microprocessor and sold by a two-bit company that can't stand one bit of competition.
Back to top
View user's profile Send private message
Naan Yaar
Bodhisattva
Bodhisattva


Joined: 27 Jun 2002
Posts: 1549

PostPosted: Tue Aug 13, 2002 1:14 am    Post subject: Reply with quote

Have you tweaked your hard drive parameters? This thread may help:
https://forums.gentoo.org/viewtopic.php?t=51

Doing:
Code:

hdparm /dev/hdX

where X is a or b or ... will give you dma settings etc. If you see something like:
Code:

  using_dma    =  0 (off)

the hard drive perf. could be a factor.
Back to top
View user's profile Send private message
trolley
Apprentice
Apprentice


Joined: 12 Jun 2002
Posts: 292
Location: Canada

PostPosted: Tue Aug 13, 2002 1:35 am    Post subject: Reply with quote

I had the same problem when doing anything CPU intensive, like compiling. The DMA thing, as stated above, fixed it all up for me.
Back to top
View user's profile Send private message
mael4
n00b
n00b


Joined: 31 Jul 2002
Posts: 16

PostPosted: Tue Aug 13, 2002 2:42 am    Post subject: Reply with quote

Wow, what a difference! Gentoo is awesome, keep up the good work all!
_________________
Windows [n.]

A thirty-two bit extension and GUI shell to a sixteen bit patch to an eight bit operating system originally coded for a four bit microprocessor and sold by a two-bit company that can't stand one bit of competition.
Back to top
View user's profile Send private message
xorbe
n00b
n00b


Joined: 19 Jul 2002
Posts: 46
Location: near San Jose, CA

PostPosted: Tue Aug 13, 2002 5:52 am    Post subject: Reply with quote

Naan Yaar wrote:
Have you tweaked your hard drive parameters?

Thank you! I noticed this same jerkiness in Gentoo that's not present in mdk,
but I hadn't thought to look at what hdparm says. :oops:
Back to top
View user's profile Send private message
dcstimm
Guru
Guru


Joined: 19 Jun 2002
Posts: 321

PostPosted: Tue Aug 13, 2002 6:01 am    Post subject: Reply with quote

i find the best way to use hdparm is to do

hdparm -t /dev/hda

that will test it, higher MB/s the better.

hdparm -d1 -c1 -X69 /dev/hda

this will turn on DMA 32bit transfer and ATA100 operations.

here is the output of the above command

/dev/hda:
setting 32-bit IO_support flag to 1
setting using_dma to 1 (on)
setting xfermode to 69 (UltraDMA mode5)
IO_support = 1 (32-bit)
using_dma = 1 (on)

this really speeds up my drive!


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