View previous topic :: View next topic |
Author |
Message |
mael4 n00b
Joined: 31 Jul 2002 Posts: 16
|
Posted: Tue Aug 13, 2002 1:09 am Post subject: Resource problems, Linux lag |
|
|
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 |
|
|
Naan Yaar Bodhisattva
Joined: 27 Jun 2002 Posts: 1549
|
Posted: Tue Aug 13, 2002 1:14 am Post subject: |
|
|
Have you tweaked your hard drive parameters? This thread may help:
https://forums.gentoo.org/viewtopic.php?t=51
Doing:
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 |
|
|
trolley Apprentice
Joined: 12 Jun 2002 Posts: 292 Location: Canada
|
Posted: Tue Aug 13, 2002 1:35 am Post subject: |
|
|
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 |
|
|
mael4 n00b
Joined: 31 Jul 2002 Posts: 16
|
Posted: Tue Aug 13, 2002 2:42 am Post subject: |
|
|
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 |
|
|
xorbe n00b
Joined: 19 Jul 2002 Posts: 46 Location: near San Jose, CA
|
Posted: Tue Aug 13, 2002 5:52 am Post subject: |
|
|
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. |
|
Back to top |
|
|
dcstimm Guru
Joined: 19 Jun 2002 Posts: 321
|
Posted: Tue Aug 13, 2002 6:01 am Post subject: |
|
|
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 |
|
|
|