Speed of NAND flash vs. SD card (Was: Ain't it funny..)

2009-05-07 Thread Rask Ingemann Lambertsen
On Tue, May 05, 2009 at 07:12:25AM -0600, Angus Ainslie wrote:

 You could always use the .tar.gz on an sd card ( It boots way faster
 that way anyway :)

   NAND flash ought to be a lot faster than Glamo's MMC interface. Where is
the bug? FWIW, I tried a simple hdparm run on NOR flash, NAND flash and SD
card:

r...@debian-gta02:~# hdparm --direct -t /dev/mtdblock0  # NOR flash

/dev/mtdblock0:
 Timing O_DIRECT disk reads:2 MB in  1.24 seconds =   1.61 MB/sec

r...@debian-gta02:~# hdparm --direct -t /dev/mtdblock3  # NAND flash

/dev/mtdblock3:
 Timing O_DIRECT disk reads:8 MB in  2.89 seconds =   2.77 MB/sec

r...@debian-gta02:~# hdparm --direct -t /dev/mmcblk0# Glamo MMC

/dev/mmcblk0:
 Timing O_DIRECT disk reads:8 MB in  3.46 seconds =   2.31 MB/sec

-- 
Rask Ingemann Lambertsen
Danish law requires addresses in e-mail to be logged and stored for a year

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Speed of NAND flash vs. SD card (Was: Ain't it funny..)

2009-05-07 Thread Daniel.Li
As a matter of fact, it's really slow to tar -xf .tar file, compared
with my 2440 demo board.

I takes me half a day to unzip the file system to sd card with fso
image.

If it's with my demo board to unzip, very quick, about 10min or so.


What's wrong with fso image to unzip the tar package?

On Thu, 2009-05-07 at 17:39 +0200, Rask Ingemann Lambertsen wrote:
 On Tue, May 05, 2009 at 07:12:25AM -0600, Angus Ainslie wrote:
 
  You could always use the .tar.gz on an sd card ( It boots way faster
  that way anyway :)
 
NAND flash ought to be a lot faster than Glamo's MMC interface. Where is
 the bug? FWIW, I tried a simple hdparm run on NOR flash, NAND flash and SD
 card:
 
 r...@debian-gta02:~# hdparm --direct -t /dev/mtdblock0# NOR flash
 
 /dev/mtdblock0:
  Timing O_DIRECT disk reads:2 MB in  1.24 seconds =   1.61 MB/sec
 
 r...@debian-gta02:~# hdparm --direct -t /dev/mtdblock3# NAND flash
 
 /dev/mtdblock3:
  Timing O_DIRECT disk reads:8 MB in  2.89 seconds =   2.77 MB/sec
 
 r...@debian-gta02:~# hdparm --direct -t /dev/mmcblk0  # Glamo MMC
 
 /dev/mmcblk0:
  Timing O_DIRECT disk reads:8 MB in  3.46 seconds =   2.31 MB/sec
 
-- 
Daniel.Li lida_m...@163.com
PALFocus (http://palfocus.oicp.net)



___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community