Re: Drive access very slow

From: Robert M. Riches Jr. (spamtrap42_at_verizon.net)
Date: 05/19/04

  • Next message: Robert M. Riches Jr.: "Re: Retore superuser privileges?"
    Date: Wed, 19 May 2004 17:13:49 GMT
    
    

    In article <slrncamstn.44r.mgass@localhost.localdomain>, Michael Gass wrote:
    > Installed Red Hat 9 on a Pentium III (733 Mhz) with 256 ram.
    > Dual boot set up with Windows 98 on hda1. The linux boot up is
    > very slow - around 20 mins. (Windows 98 boots up and runs normally).
    > Once linux is up it is very slow - just bringing up vi takes
    > around 40 seconds - even at the console and without X running.
    >
    > I think that hdparm might indicate the problem. ...
    >
    > hdparm
    >
    > /dev/hda:
    > multcount = 16 (on)
    > IO_support = 0 (default 16-bit)
    > unmaskirq = 0 (off)
    > using_dma = 1 (on)
    > keepsettings = 0 (off)
    > readonly = 0 (off)
    > readahead = 8 (on)
    > geometry = 1292/240/63, sectors = 19541088, start = 0

    First, back up any important data, just in case. (Of
    course, you're already regularly backing up any important
    data, anyway. Right?)

    Next, use 'man hdparm' to find the syntax for the options.
    Use the hdparm command to enable DMA (-d 1, IIRC). If the
    system is still slower than it should be (how to judge
    that?) you might want to increase the multcount and/or the
    readahead.

    If you find the system time-of-day clock slows down
    excessively when doing heavy disk access, you might want to
    _try_ unmaskirq. However, if I understand correctly, there
    is some risk of system instability and/or crashes if the
    hardware and/or firmware can't handle it.

    Finally, edit file /etc/sysconfig/harddisks to make those
    changes permanent. Unfortunately, I don't know the syntax
    for the file other than the obvious entries self-documented
    in the file. You might find syntax in how-to documents
    and/or on Google.

    Good luck.

    Robert Riches
    spamtrap42@verizon.net
    (Yes, that is one of my email addresses.)


  • Next message: Robert M. Riches Jr.: "Re: Retore superuser privileges?"

    Relevant Pages

    • Re: [SLE] Setting hdparm permanently
      ... Hash: SHA1 ... You can also include other options for hdparm here by using the format: ... My 9.3 doesn't mention that syntax, ...
      (SuSE)
    • Re: Turning off your hard drive
      ... > computer's hard drive in Linux? ... In Windows, you can set the ... If you have hdparm on your machine you can put something like:- ... Email is spam trap try baskitcaise at gmx dot co dot uk ...
      (comp.os.linux.hardware)
    • Re: New laptop - problems with linux
      ... hardware was well supported by linux - but I am having major problems. ... 850 duron the rate was 12-14 mb/sec. ... Attached are the output of lspci -vvv, dmesg and hdparm ...
      (Linux-Kernel)
    • Re: 32Bit mode on by default
      ... I knew the syntax of hdparm, but I'm not that firm with the boot process of ... Linux. ...
      (comp.os.linux.development.system)
    • Re: haparm ?
      ... vertigo writes: ... In linux it works like this: ... # hdparm -tT /dev/sda1 ... you care about. ...
      (comp.unix.solaris)