public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Timothy Miller <miller@techsource.com>
To: Ken Moffat <ken@kenmoffat.uklinux.net>
Cc: linux-kernel@vger.kernel.org
Subject: Re: IDE throughput in 2.6 - it's good!
Date: Tue, 27 Apr 2004 16:43:55 -0400	[thread overview]
Message-ID: <408EC60B.50507@techsource.com> (raw)
In-Reply-To: <Pine.LNX.4.58.0404272016000.1170@ppg_penguin>



Ken Moffat wrote:
> On Tue, 27 Apr 2004, Timothy Miller wrote:
> 
> 
>>
>>Ken Moffat wrote:
>>
>>
>>>So, despite the numbers shown by hdparm looking worse, when only one
>>>user is doing anything the performance is actually improved.  I've no
>>>idea which changes have achieved this, but thanks to whoever were
>>>involved.
>>
>>
>>I've done tests using dd to and from the raw block device under 2.4 and
>>2.6.  Memory size (kernel boot param mem=) doesn't seem to affect
>>performance, so I assume that means that dd to and from the raw block
>>device is unbuffered.  When I compare read and write speeds between 2.4
>>and 2.6, 2.6 is definately slower.  The last 2.6 kernel I tried this
>>with is 2.6.5.
>>
> 
> 
>  Well, my original test used cp, sync, rm, sync.  I've no statistics
> from running 2.4 on this box to compare against.
> 


Based on my experience, cp and anything else that uses the filesystem 
gets buffered.  I can tell this because, without sync, the throughput 
varies with memory size.  Furthermore, I wanted to know raw throughput, 
so I used a block device so I could eliminate filesystem overhead.

Reading and writing the block device does not seem to be buffered 
because the run time is not affected by memory (host RAM) size.  That 
is, unless dd does an implicit sync.

The numbers I get when using dd to and from one of my drives under a 2.4 
kernel with the drive connected to the on-board IDE controller are 
roughly the same as published benchmarks.


  reply	other threads:[~2004-04-27 20:40 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-04-23 21:56 IDE throughput in 2.6 - it's good! Ken Moffat
2004-04-27 15:38 ` Timothy Miller
2004-04-27 19:17   ` Ken Moffat
2004-04-27 20:43     ` Timothy Miller [this message]
  -- strict thread matches above, loose matches on Subject: below --
2004-04-24 15:29 FabF
2004-04-24 23:58 ` IDE " Nick Piggin

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=408EC60B.50507@techsource.com \
    --to=miller@techsource.com \
    --cc=ken@kenmoffat.uklinux.net \
    --cc=linux-kernel@vger.kernel.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