Chinaunix首页 | 论坛 | 博客
  • 博客访问: 900885
  • 博文数量: 453
  • 博客积分: 7865
  • 博客等级: 少将
  • 技术积分: 5673
  • 用 户 组: 普通用户
  • 注册时间: 2011-06-29 16:21
个人简介

时光荏苒..

文章分类
文章存档

2015年(46)

2014年(22)

2013年(68)

2012年(218)

2011年(99)

分类: LINUX

2012-01-14 11:41:01

 
Hi,
It gives me great pleasure in sharing UBIL: ubi with log.  We have
added logging functionality to ubi for reducing mount time.
UBIL uses the "same source base of UBI". The logging functionality can
be added or removed at compile time using "make menuconfig option".

We have seen mount time reduction of 50% in 1GB NAND. We are expecting
even better results for larger flash memories.

The source code of UBIL can be found in the following git tree:


We have tested ubil for samsung nand and onenand. The test results can
be found in the following git tree:


We are working on utilities and design document of UBIL. I will share
those as soon as possible.

If someone wants to try, please follow the instructions:
make menuconfig
         select ubi as module
         select ubil feature.
compile ubi module.

1) First mount of ubil is little different than ubi.

insmod ubi mtd=1,ubinize.
(Second parameter "ubinize" is introduced to avoid accidental loss of data.)
insmod ubifs
mount ubifs

2)For next mounts:
insmod ubi mtd=1
insmod ubifs
mount ubifs

Though UBIL is functionally complete,there is a lot of scope for
optimizations. All the help is very much appreciated.


Thanks and Regards,
Brijesh
 
==============================================================================
 
 
 
Add checkpointing or logging to UBIFS
From eLinux.org
Jump to: ,
Summary Add checkpointing or logging to UBIFS Proposer Tim Bird
Contents[]
if (window.showTocToggle) { var tocShowText = "show"; var tocHideText = "hide"; showTocToggle(); } Description

Currently, the UBI file system takes a long time to be ready for use, due to a badblock scan that takes place during initialization of UBI (the UBI attach operation). The scan takes a time that is linearly proportional to the size of flash. As flash sizes grow, the delay caused by this scan becomes a problem.

It would be beneficial to eliminate the scan, or make it more scalable, using some kind of checkpointing or logging.

Related work
  • This proposal was suggested last year, but the project was not done
    • See
UBI logging feature submitted by Samsung

A developer with Samsung (in India) proposed UBIL - UBI logging - to solve this problem, in April 2010.

  • Initial announcement:
    • performance improvement:
    • 98bcb6b4329ba7e8c770:/nand_mount_time.pdf
    • patches in April, 2010:

I seem to recall someone at the kernel summit (maybe Thomas) telling me that these patches improved the speed, but still had scalability proportional to the flash size.

Scope

A rough estimate would be 3 months of development and test work, followed by some work to mainline the changes upstream.

Contractor Candidates
  • Thomas Gleixner
  • Artem Bityutskiy
  • Free Electrons
Comments
Retrieved from ""
 
 
 
阅读(619) | 评论(0) | 转发(0) |
0

上一篇:UBI fs

下一篇:Nor/Nand/OneNand Flash

给主人留下些什么吧!~~