LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 11-08-2012, 04:01 AM   #1
Joejm
LQ Newbie
 
Registered: May 2012
Posts: 4

Rep: Reputation: Disabled
Frequent Writes to NAND flash with UBIFS in sychronous mode


Hi,
I have the following observation when UBIFS is mounted as synchronous fs. (-o sync option from bootargs).

1. For every file read, there are writes to nand flash.
2. For the execution of every command, there are writes to nand flash.
For ex. On execution of any command, say 'cd' or 'ls' i observe quiet a few writes happening to NAND flash.

What could be the reason for this behaviour? Any other option to bring down the amount of writes but by retaining the synchronous behaviour?

With sync option enabled, we expect Flash writes to happen more frequently , how-ever we do not want writes to happen with the execution of every command.

This observation holds true for linux 2.6.28, 2.6.35 & 3.4.10 linux kernel versions.

Since, there is a limit on number of writes per block of nand flash, we are concerned if the above behaviour will trigger a faster nand corruption on the long run.

Regards,
Joe.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
NAND based flash memory sulekha Linux - Hardware 3 06-01-2011 04:54 AM
Nand flash boot Roger03 Programming 1 04-03-2010 05:19 AM
R/W from nand flash linux_newbie79 Linux - Newbie 3 08-19-2009 08:35 AM
linux on flash drive, is this possible and flash writes, where?? lizzie_jianne Linux - General 1 01-04-2007 12:12 PM
nand flash: need help jier Programming 0 05-03-2006 11:05 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:14 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration