[Yaffs] [Yaffs-archive] Re: yaffs is slower than jffs/jffs2

Nick Bane nick@cecomputing.co.uk
Thu, 2 Oct 2003 10:14:53 +0100


This is a multi-part message in MIME format.

------=_NextPart_000_0206_01C388CE.05709290
Content-Type: text/plain;
	charset="big5"
Content-Transfer-Encoding: quoted-printable

I find that booting is much faster than you describe but the nands are =
not full of data. This may be due to a number of things including the =
efficiceny of reading nand data, the clock speed of the cpu and how full =
the fs is.

Using an SA1110 at 206MHz on 64MB nand, booting takes around 10 seconds =
from bootldr soft reset to linux prompt. The fs is lightly loaded with =
around 5mb data.

Nick Bane
  ----- Original Message -----=20
  From: sjp=20
  To: yaffs@toby-churchill.org=20
  Sent: Monday, September 29, 2003 3:46 AM
  Subject: yaffs is slower than jffs/jffs2


  Deal All:

          I have ported YAFFS on our STB system. But
  we found it's too slow to be acceptable. For example,
  we have 2 NAND FLASHs, per size is 16MB. Whenever it=20
  is initialized and mounted on vmlinux, it take more=20
  than 5 mins to mount per fs.=20

          The result is so contrary to what I studied=20
  from "YAFFS -- Chaeles Manning, Dec 2001". Is there=20
  anything I can tune for this performance issue? Any=20
  suggestion is very much appreciated!


  JP =20

------=_NextPart_000_0206_01C388CE.05709290
Content-Type: text/html;
	charset="big5"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; charset=3Dbig5">
<META content=3D"MSHTML 6.00.2726.2500" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>I find that booting is much faster than =
you=20
describe but the nands are not full of data. This may be due to a number =
of=20
things including the efficiceny of reading nand data, the clock speed of =
the cpu=20
and how&nbsp;full&nbsp;the fs is.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Using an SA1110 at 206MHz on =
64MB&nbsp;nand,=20
booting</FONT>&nbsp;<FONT face=3DArial size=3D2>takes&nbsp;around 10 =
seconds from=20
bootldr soft reset to linux prompt. The fs is lightly loaded with around =
5mb=20
data.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Nick Bane</FONT></DIV>
<BLOCKQUOTE dir=3Dltr=20
style=3D"PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; =
BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
  <DIV style=3D"FONT: 10pt arial">----- Original Message ----- </DIV>
  <DIV=20
  style=3D"BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: =
black"><B>From:</B>=20
  <A title=3Djpshieh@protoncomm.com.tw=20
  href=3D"mailto:jpshieh@protoncomm.com.tw">sjp</A> </DIV>
  <DIV style=3D"FONT: 10pt arial"><B>To:</B> <A =
title=3Dyaffs@toby-churchill.org=20
  href=3D"mailto:yaffs@toby-churchill.org">yaffs@toby-churchill.org</A> =
</DIV>
  <DIV style=3D"FONT: 10pt arial"><B>Sent:</B> Monday, September 29, =
2003 3:46=20
  AM</DIV>
  <DIV style=3D"FONT: 10pt arial"><B>Subject:</B> yaffs is slower than=20
  jffs/jffs2</DIV>
  <DIV><BR></DIV>
  <DIV><FONT face=3DMingLiu size=3D2>Deal All:</FONT></DIV>
  <DIV>&nbsp;</DIV>
  <DIV><FONT face=3D=B2=D3=A9=FA=C5=E9 size=3D2>&nbsp;&nbsp;&nbsp; =
&nbsp;&nbsp;&nbsp; I=20
  have&nbsp;ported YAFFS on our STB system. But</FONT></DIV>
  <DIV><FONT face=3D=B2=D3=A9=FA=C5=E9 size=3D2>we found it's too slow =
to be acceptable. For=20
  example,</FONT></DIV>
  <DIV><FONT face=3D=B2=D3=A9=FA=C5=E9 size=3D2>we have 2 NAND FLASHs, =
per size is 16MB. Whenever=20
  it </FONT></DIV>
  <DIV><FONT face=3D=B2=D3=A9=FA=C5=E9 size=3D2>is initialized and =
mounted on vmlinux, it take=20
  </FONT><FONT face=3D=B2=D3=A9=FA=C5=E9 size=3D2>more </FONT></DIV>
  <DIV><FONT face=3D=B2=D3=A9=FA=C5=E9 size=3D2>than 5&nbsp;mins to =
mount per fs. </FONT></DIV>
  <DIV>&nbsp;</DIV>
  <DIV><FONT face=3D=B2=D3=A9=FA=C5=E9 =
size=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; The=20
  result is so contrary to what I studied </FONT></DIV>
  <DIV><FONT face=3D=B2=D3=A9=FA=C5=E9 size=3D2>from&nbsp;"YAFFS -- =
Chaeles Manning, Dec 2001". Is=20
  there </FONT></DIV>
  <DIV><FONT face=3D=B2=D3=A9=FA=C5=E9 size=3D2>anything </FONT><FONT =
face=3D=B2=D3=A9=FA=C5=E9 size=3D2>I can tune=20
  for this performance issue?&nbsp;</FONT><FONT =
face=3D=B2=D3=A9=FA=C5=E9 size=3D2>Any=20
</FONT></DIV>
  <DIV><FONT face=3D=B2=D3=A9=FA=C5=E9 size=3D2>suggestion is =
</FONT><FONT face=3D=B2=D3=A9=FA=C5=E9 size=3D2>very=20
  much appreciated!</FONT></DIV>
  <DIV><FONT face=3D=B2=D3=A9=FA=C5=E9 size=3D2></FONT>&nbsp;</DIV>
  <DIV><FONT face=3D=B2=D3=A9=FA=C5=E9 size=3D2></FONT>&nbsp;</DIV>
  <DIV><FONT face=3D=B2=D3=A9=FA=C5=E9=20
size=3D2>JP&nbsp;&nbsp;</FONT></DIV></BLOCKQUOTE></BODY></HTML>

------=_NextPart_000_0206_01C388CE.05709290--



---------------------------------------------------------------------------------------
This mailing list is hosted by Toby Churchill open software (www.toby-churchill.org).
If mailing list membership is no longer wanted you can remove yourself from the list by 
sending an email to yaffs-request@toby-churchill.org with the text "unsubscribe" 
(without the quotes) as the subject.