linux-ide.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Sergei Shtylyov <sshtylyov@ru.mvista.com>
To: Karl Auerbach <karl@iwl.com>
Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>,
	linux-ide@vger.kernel.org, karl@cavebear.com
Subject: Re: Some IDE issues with 2.6.28 on PC-Engines ALIX2
Date: Tue, 06 Jan 2009 15:58:37 +0300	[thread overview]
Message-ID: <4963557D.1020504@ru.mvista.com> (raw)
In-Reply-To: <49629664.9050604@iwl.com>

Hello.

Karl Auerbach wrote:

>>> 2. The cs5535 ide driver doesn't seem to be able to recognize the
>>> newer CS5536 controller for IDE.
>>
>> Switch to libata as most distributions have already done and enable the
>> pata_cs5536 driver, which is designed for this hardware.
>
> Thanks for the suggestion - It made a *big* difference.
>
> Here's a couple of timings (sequential reads from the CF) that show 
> the difference in performance.  I didn't do writes because I'm never 
> sure what various CF's do inside and don't have confidence that 
> seemingly similar CF writes have consistent times.
>
> Using the generic IDE driver:

   It was a total mistake from the very start that you used ide-generic 
driver and you should really have used ide-pci-generic.

> [root@board-1 /root]# time dd if=/dev/hda2 of=/dev/null bs=512
> 3572352+0 records in
> 3572352+0 records out
> real      16m 18.64s
> user      0m 0.76s
> sys       1m 28.08s
>
> Using the PATA CS5536 driver:
>
> [root@board-1 /root]# time dd if=/dev/sda2 of=/dev/null bs=512
> 3572352+0 records in
> 3572352+0 records out
> real    1m 11.41s
> user    0m 0.47s
> sys     0m 3.56s

   Hm, looks like your CF drive is rather advanced and might be 
supporting UltraDMA (and your CF slot supports DMA). Care to post the 
output of 'hdparm -i /dev/hda'?

> Do folks still want me to try that patch?  (Now that the problem I've 
> been having seems fixed, and being lazy by nature, I'll do it if it is 
> helpful but otherwise I'd prefer to skip it.)

   Of course, it'll be helpful.

> As for the question of why I have the SD driver - The ALIX2 boards 
> (which, by the way are Geode LX, not the older Geode)

   I didn't doubt it. CS5536 isn't used with LX it seems...

> has USB and I want to sometimes plug external USB drives into 'em.  I 
> thought that the SD driver is needed for that, am I in error?

   No. That explained it.

> By-the-way, I'm happy (modulo my previously mentioned lazy nature) to 
> run tests on ALIX2 and ALIX3 boards should anyone need it.

   Judging on what you have posted, IDE driver would not probably give 
any speed improvement, only soewhat lesser memory footprint...

MBR, Sergei



  parent reply	other threads:[~2009-01-06 12:58 UTC|newest]

Thread overview: 32+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-01-05  0:37 Some IDE issues with 2.6.28 on PC-Engines ALIX2 Karl Auerbach
2009-01-05  3:01 ` Martin K. Petersen
2009-01-05 12:44   ` Sergei Shtylyov
2009-01-05 13:33     ` Alan Cox
2009-01-05 17:47       ` Sergei Shtylyov
2009-01-05 18:04         ` Alan Cox
2009-01-05 18:44     ` Martin K. Petersen
2009-01-05 11:36 ` Alan Cox
2009-01-05 23:23   ` Karl Auerbach
2009-01-05 23:27     ` Alan Cox
2009-01-06 12:58     ` Sergei Shtylyov [this message]
2009-01-06 19:21       ` Alan Cox
2009-01-06 19:54         ` Bartlomiej Zolnierkiewicz
2009-01-05 12:08 ` Sergei Shtylyov
2009-01-05 16:36   ` Bartlomiej Zolnierkiewicz
2009-01-05 16:52     ` Alan Cox
2009-01-05 17:15       ` Bartlomiej Zolnierkiewicz
2009-01-05 17:19         ` Alan Cox
2009-01-05 17:38           ` Bartlomiej Zolnierkiewicz
2009-01-05 18:00             ` Alan Cox
2009-01-05 18:10               ` Bartlomiej Zolnierkiewicz
2009-01-05 22:41     ` Sergei Shtylyov
2009-01-11 17:47       ` Bartlomiej Zolnierkiewicz
2009-01-31 21:03         ` Sergei Shtylyov
2009-02-01 16:16           ` Bartlomiej Zolnierkiewicz
  -- strict thread matches above, loose matches on Subject: below --
2009-01-31 11:25 Christoph .J Thompson
2009-01-31 12:53 ` Martin K. Petersen
2009-01-31 14:15   ` Sergei Shtylyov
2009-01-31 14:58     ` Martin K. Petersen
2009-01-31 14:42 ` Sergei Shtylyov
2009-01-31 16:27   ` Christoph .J Thompson
2009-01-31 16:35     ` Mark Lord

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=4963557D.1020504@ru.mvista.com \
    --to=sshtylyov@ru.mvista.com \
    --cc=alan@lxorguk.ukuu.org.uk \
    --cc=karl@cavebear.com \
    --cc=karl@iwl.com \
    --cc=linux-ide@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;
as well as URLs for NNTP newsgroup(s).