public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
* Transfer rates with NAND
@ 2006-12-21 11:44 Indrek Kruusa
  2006-12-21 16:30 ` Enrico Migliore
  2006-12-22  2:26 ` David Woodhouse
  0 siblings, 2 replies; 3+ messages in thread
From: Indrek Kruusa @ 2006-12-21 11:44 UTC (permalink / raw)
  To: linux-mtd

Hi,

I am wondering which NAND transfer rates are seen in embedded Linux 
projects. What to expect from the whole hardware/software subsystem?
I have one Geode LX design with CS5536 companion chip which by using 
built-in 8-bit Flash controller on PCI bus gives me slightly over 2MB/s. 
It's almost the same with Linux MTD driver and with a self-made basic 
driver. Is the speed here the matter of flash controller only? Which is 
the fastest flash controller out there? :)

thanks in advance,
Indrek

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Transfer rates with NAND
  2006-12-21 11:44 Transfer rates with NAND Indrek Kruusa
@ 2006-12-21 16:30 ` Enrico Migliore
  2006-12-22  2:26 ` David Woodhouse
  1 sibling, 0 replies; 3+ messages in thread
From: Enrico Migliore @ 2006-12-21 16:30 UTC (permalink / raw)
  To: Indrek Kruusa; +Cc: linux-mtd

Indrek Kruusa wrote:
> Hi,
>
> I am wondering which NAND transfer rates are seen in embedded Linux 
> projects. What to expect from the whole hardware/software subsystem?
> I have one Geode LX design with CS5536 companion chip which by using 
> built-in 8-bit Flash controller on PCI bus gives me slightly over 2MB/s. 
> It's almost the same with Linux MTD driver and with a self-made basic 
> driver. Is the speed here the matter of flash controller only? Which is 
> the fastest flash controller out there? :)
>
> thanks in advance,
> Indrek
>
>   
Hi Indrek,
 
 the data transfer from the NAND to the CPU and viceversa depends on:

 1. NAND bus maximum speed
 2. CPU's bus controller speed (*) and its configuration
 3. Read or Write operarations

The overhead added by the MTD layer or any other well written driver is 
irrelevant.

(*) I mean the bus that access the NAND which might not be the same bus 
that access the RAM

Enrico

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Transfer rates with NAND
  2006-12-21 11:44 Transfer rates with NAND Indrek Kruusa
  2006-12-21 16:30 ` Enrico Migliore
@ 2006-12-22  2:26 ` David Woodhouse
  1 sibling, 0 replies; 3+ messages in thread
From: David Woodhouse @ 2006-12-22  2:26 UTC (permalink / raw)
  To: Indrek Kruusa; +Cc: linux-mtd

On Thu, 2006-12-21 at 13:44 +0200, Indrek Kruusa wrote:
> I am wondering which NAND transfer rates are seen in embedded Linux 
> projects. What to expect from the whole hardware/software subsystem?
> I have one Geode LX design with CS5536 companion chip which by using 
> built-in 8-bit Flash controller on PCI bus gives me slightly over 2MB/s. 
> It's almost the same with Linux MTD driver and with a self-made basic 
> driver. Is the speed here the matter of flash controller only? Which is 
> the fastest flash controller out there? :)

The CS5536 NAND flash controller is fairly crap in terms of performance
-- you don't get burst read/write transactions over PCI with it, so it
goes very slowly as it has to do the whole PCI setup thing for every 4
bytes.

You'll get a maximum of something like 3 MiB/s from it IIRC. From a
better controller and a decent chip you might get close to ten times
that; at least in theory.

-- 
dwmw2

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2006-12-22  2:26 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-12-21 11:44 Transfer rates with NAND Indrek Kruusa
2006-12-21 16:30 ` Enrico Migliore
2006-12-22  2:26 ` David Woodhouse

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox