Hi Jon/Gabriele,
JFFS stores files compressed to save space and compresses/decompresses
'on the fly'. The 38M referred to will represent a 'du -hs' on the
'tarball' of root filesystem files prior to turning into a JFFS image.
The 8M will refer to the size of the final JFFS2 image.
I am pretty sure the time taken to do the mount is related to the size
of the partition as well as the files used. To speed things up Gabriele
needs to put the root filesystem in a 32M (or 64M) partition instead.
My understanding was that JFFS was particularly suited to NOR FLASH and
YAFFS to NAND although JFFS does work on NAND FLASH (not sure about
YAFFS on NOR though). My simple experiments seemed to show that YAFFS
was quicker at mounting on NAND on a DM355.
There seems to be two 'delays', the mount delay and the 'first access'
delay. As previously mentioned it gets worse with larger partitions...
Regards
Phil Q
Jon Povey wrote:
Sorry I have no experience of JFFS2. A large (512M) YAFFS2 partition
can take maybe 10s to mount.
I don't understand about the compressed/uncompressed thing..
--
Jon Povey, Design Engineer
[email protected] | +44(0)1280 825983
------------------------------------------------------------------------
*From:* Gabriele Filosofi [mailto:[email protected]]
*Sent:* 23 December 2008 15:26
*To:* Jon Povey
*Subject:* R: dm644x - I experiment a significative delay during
boot from flash
Jon,
This delay is about 11 sec. Do you think it is physiological? My
rootfs.jffs2 filesystem file is about 8 MB, 38.4 MB uncompressed
Gabriele
*Da:* Jon Povey [mailto:[email protected]]
*Inviato:* martedì 23 dicembre 2008 16.11
*A:* Gabriele Filosofi; [email protected]
*Oggetto:* RE: dm644x - I experiment a significative delay during
boot from flash
Is this the time taken to scan the filesystem and mount it?
I think you get a noticable delay here with YAFFS2 filesystem as
well, the bigger the filesystem and more files in it, the longer
the delay.
--
Jon Povey, Design Engineer
[email protected] | +44(0)1280 825983
------------------------------------------------------------------------
*From:* [email protected]
[mailto:[email protected]]
*On Behalf Of *Gabriele Filosofi
*Sent:* 23 December 2008 15:05
*To:* [email protected]
*Subject:* dm644x - I experiment a significative delay during
boot from flash
During the boot process with Flash resident kernel and
filesytem I experiment a significative delay
among the following log lines
/" bootserver=192.168.0.243, rootserver=192.168.0.243,
rootpath="/
and
/"VFS: Mounted root (jffs2 filesystem)."/
The same doesn't occur using NFS.
Any suggestions?
Happy Xmas
Gabriele
Racelogic is a limited company registered in England. Registered
number 2743719 .
Registered Office Unit 10, Swan Business Centre, Osier Way,
Buckingham, Bucks, MK18 1TB .
The information contained in this electronic mail transmission is
intended by Racelogic Ltd for the use of the named individual or
entity to which it is directed and may contain information that is
confidential or privileged. If you have received this electronic
mail transmission in error, please delete it from your system
without copying or forwarding it, and notify the sender of the
error by reply email so that the sender's address records can be
corrected. The views expressed by the sender of this communication
do not necessarily represent those of Racelogic Ltd. Please note
that Racelogic reserves the right to monitor e-mail communications
passing through its network
Racelogic is a limited company registered in England. Registered
number 2743719 .
Registered Office Unit 10, Swan Business Centre, Osier Way,
Buckingham, Bucks, MK18 1TB .
The information contained in this electronic mail transmission is
intended by Racelogic Ltd for the use of the named individual or
entity to which it is directed and may contain information that is
confidential or privileged. If you have received this electronic mail
transmission in error, please delete it from your system without
copying or forwarding it, and notify the sender of the error by reply
email so that the sender's address records can be corrected. The views
expressed by the sender of this communication do not necessarily
represent those of Racelogic Ltd. Please note that Racelogic reserves
the right to monitor e-mail communications passing through its network
------------------------------------------------------------------------
_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source