mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Andrew Morton <akpm@osdl.org>
To: "Chen, Kenneth W" <kenneth.w.chen@intel.com>
Cc: Holger.Kiehl@dwd.de, linux-kernel@vger.kernel.org,
	linux-scsi@vger.kernel.org, emoore@lsil.com
Subject: Re: Fusion-MPT much faster as module
Date: Tue, 22 Mar 2005 02:42:15 -0800	[thread overview]
Message-ID: <20050322024215.2896fb13.akpm@osdl.org> (raw)
In-Reply-To: <200503221029.j2MATNg12775@unix-os.sc.intel.com>

"Chen, Kenneth W" <kenneth.w.chen@intel.com> wrote:
>
> On Mon, 21 Mar 2005, Andrew Morton wrote:
> > Holger, this problem remains unresolved, does it not?  Have you done any
> > more experimentation?
> >
> > I must say that something funny seems to be happening here.  I have two
> > MPT-based Dell machines, neither of which is using a modular driver:
> >
> > akpm:/usr/src/25> 0 hdparm -t /dev/sda
> >
> > /dev/sda:
> > Timing buffered disk reads:  64 MB in  5.00 seconds = 12.80 MB/sec
> 
> 
> Holger Kiehl wrote on Tuesday, March 22, 2005 12:31 AM
> > Got the same result when compiled in, always between 12 and 13 MB/s. As
> > module it is approx. 75 MB/s.
> 
> 
> Half guess, half with data to prove: it must be the variable driver_setup
> initialization.  If compiled as built-in, driver_setup is initialized to
> zero for all of its member variables, which isn't the fastest setting. If
> compiled as module, it gets first class treatment with shinny performance
> setting.  Goofing around, this patch appears to be giving higher throughput.

ooh, you actually looked at the code ;)

> Before:
> /dev/sdc:
>  Timing buffered disk reads:   92 MB in  3.03 seconds =  30.32 MB/sec
> 
> After:
> /dev/sdc:
>  Timing buffered disk reads:  174 MB in  3.02 seconds =  57.61 MB/sec
> 

Yes, that's it.  Eric, you owe me about 10000 hours ;)


  reply	other threads:[~2005-03-22 10:43 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-03-08 13:38 Holger Kiehl
2005-03-21 23:27 ` Andrew Morton
2005-03-22  7:32   ` Janne Pikkarainen
2005-03-22  8:31   ` Holger Kiehl
2005-03-22 10:29     ` Chen, Kenneth W
2005-03-22 10:42       ` Andrew Morton [this message]
2005-03-22 10:52       ` Arjan van de Ven
2005-03-22 12:28         ` Adrian Bunk
2005-03-22 12:37           ` Arjan van de Ven
2005-03-22 13:46       ` Holger Kiehl

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=20050322024215.2896fb13.akpm@osdl.org \
    --to=akpm@osdl.org \
    --cc=Holger.Kiehl@dwd.de \
    --cc=emoore@lsil.com \
    --cc=kenneth.w.chen@intel.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-scsi@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

all inboxes | Powered by JetHome®