public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Mark Knecht <markknecht@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Slow HD
Date: Wed, 17 Aug 2005 18:15:54 -0700	[thread overview]
Message-ID: <5bdc1c8b050817181534c38cd9@mail.gmail.com> (raw)
In-Reply-To: <200508172156.39946.pupeno@pupeno.com>

On 8/17/05, Pupeno <pupeno@pupeno.com> wrote:
> On Wednesday 17 August 2005 18:44, Mark Knecht wrote:
> > A quick test would be
> >
> > hdparm -tT /dev/hda
> I got this:
> /dev/hda:
>  Timing cached reads:   1344 MB in  2.00 seconds = 672.10 MB/sec
>  Timing buffered disk reads:    8 MB in  3.51 seconds =   2.28 MB/sec
> 
> > (or whatever drive you are concerned about.) Greater than 15MB/S is
> > almost certainly DMA but good DMA from newer drives should be
> > 25-50MB/S
> The second speed is evidently wrong.

Not wrong, just not DMA. BTW - as has been pointed out here before -
do not take these numbers as a serious test of real disk speeds. This
is a just a quick way of looking.

> 
> > You can look at the drives parameters using hdparm and reading through
> > the man page to understand what all the values mean.
> I tried to enable dma, but this happened:
> # hdparm -d1 /dev/hda
> 
> /dev/hda:
>  setting using_dma to 1 (on)
>  HDIO_SET_DMA failed: Operation not permitted
>  using_dma    =  0 (off)
> 
> What am I doing wrong ? some kernel option ?

Possibly. Many of the ATAPI DMA drivers are supplied when you enable
the proper chipset support in make menuconfig under Device Drivers ->
ATA support.

What chipset is your machine using? (lspci)

>From my laptop:

flash linux #  hdparm /dev/hda

/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    = 256 (on)
 geometry     = 65535/16/63, sectors = 80026361856, start = 0
flash linux #

flash linux #  hdparm -tT /dev/hda

/dev/hda:
 Timing cached reads:   1788 MB in  2.00 seconds = 891.91 MB/sec
 Timing buffered disk reads:   82 MB in  3.04 seconds =  26.93 MB/sec
flash linux #

Cheers,
Mark

-- 
gentoo-user@gentoo.org mailing list



  reply	other threads:[~2005-08-18  1:23 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-08-17 21:13 [gentoo-user] Slow HD José Pable Ezequiel Fernández
2005-08-17 21:44 ` Mark Knecht
2005-08-18  0:56   ` Pupeno
2005-08-18  1:15     ` Mark Knecht [this message]
2005-08-18  2:04       ` Pupeno
2005-08-18  2:30         ` Mark Knecht
2005-08-18  2:52           ` Pupeno
2005-08-18  3:16             ` Pupeno
2005-08-18  3:56               ` Mark Knecht
2005-08-18  2:04       ` Volker Armin Hemmann
2005-08-18  3:13         ` Pupeno
2005-08-18 10:21           ` Volker Armin Hemmann
2005-08-18  1:17     ` Joe Menola
2005-08-18  2:02       ` Pupeno
2005-08-18  2:38         ` Joe Menola

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5bdc1c8b050817181534c38cd9@mail.gmail.com \
    --to=markknecht@gmail.com \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox