public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
* Understanding page size in jffs2- and kernel-source
@ 2011-10-17  8:52 Freise, Bjoern-Achim
  2011-10-18  8:32 ` Ricard Wanderlof
  2011-10-19 14:37 ` Artem Bityutskiy
  0 siblings, 2 replies; 3+ messages in thread
From: Freise, Bjoern-Achim @ 2011-10-17  8:52 UTC (permalink / raw)
  To: linux-mtd

Hello,
 
we are using Kernel 2.6.28 with mtd-utils 1.0.1 on an ARM at91sam9260 with a NAND flash with 512 byte pages an 16k erase size. And now I'm trying to understand a few things:
 
1) In the kernel source it has PAGE_SIZE and PAGE_CACHE_SIZE with 4096. These defines are used in the jffs2 implementation. Is that correct when using 512 byte pages in a NAND device?
 
2) In our build-environment our image is created with "mkfs.jffs2 .... --page-size=512.... ". I guess this doesn't match with the above?
 
3) What should I use for a good performance (page_size and/or with/out compression) when using a large (~ 16MB) sqlite-file?
 
I'm really unsure with these things.
 
Regards,
Björn Freise


Energiesparen mit adapterm. Mehr Infos unter http://www.techem.de/adapterm
__________________________________________

Techem Energy Services GmbH
Sitz der Gesellschaft: Eschborn
Amtsgericht Frankfurt am Main: HRB 74732
Geschaeftsfuehrung: Hans-Lothar Schaefer (Vors.), Steffen Baetjer, Dr. Rolf Weber
Aufsichtsrat: Hilko Schomerus (Vors.)

This e-mail and any attachment thereto contains confidental and/or privileged information. If you are not the intended recipient or have received this e-mail in error, please notify the sender immediately and delete this e-mail and any attachment thereto from your system. Any unauthorized retention, copying, transmission, distribution, disclosure or use of the content of this e-mail and/or any attachment thereto is prohibited. Techem is not liable for any omission or error in this e-mail and/or any attachment thereto which may arise as a result of the e-mail-transmission or for damages resulting from any unauthorized change of the content of this e-mail and/or any attachment thereto.

Thank You
Techem Energy Services GmbH


Der Inhalt dieser E-Mail und ihrer Anhaenge ist vertraulich und kann rechtlich geschuetzte Informationen enthalten. Falls Sie nicht der richtige Adressat sind oder diese E-Mail irrtuemlich erhalten haben, informieren Sie bitte umgehend den Absender und vernichten Sie diese E-Mail und ihre Anhaenge. Jegliche Offenlegung, Vervielfaeltigung, Weitergabe oder Nutzung des Inhalts dieser Email oder ihrer Anhaenge ist untersagt. Techem haftet nicht fuer Unvollstaendigkeiten und Fehler in dieser E-Mail und /oder ihren Anhaengen, die als Folge der Uebersendung auftreten, oder  fuer Schaeden, die infolge unerlaubter Aenderungen des Inhalts dieser E-Mail und/oder ihrer Anhaenge entstehen.

Vielen Dank
Techem Energy Services GmbH

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

end of thread, other threads:[~2011-10-19 14:38 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-10-17  8:52 Understanding page size in jffs2- and kernel-source Freise, Bjoern-Achim
2011-10-18  8:32 ` Ricard Wanderlof
2011-10-19 14:37 ` Artem Bityutskiy

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