2013年11月25日 星期一

heating can cause worn-out NAND flash cells to become reusable

"heating can cause worn-out NAND flash cells to become reusable
and greatly prolong the lifetime of flash memory cells"


nand flash的cell居然可以經由加熱來提高 life time ,還可以起死回生勒


rather than evenly distributing writes and erases over a time period,
write and erase operations are concentrated on a small portion of
flash memory cells, so that these cells can be worn-out and healed
by heating first. In this way, we can disperse healing to avoid the
problem of concentrated power usage caused by heating


以前 Wear-leveling 重點都在 "分散"  write 和 erase
但因為 heating (加熱) 需要秏額外的 power ,所以此篇 將 write 和 erase 給 "集中起來"
~~ 一起加熱


原網址:
http://ieeexplore.ieee.org/stamp/stamp.jsp?arnumber=06658994

2013年11月13日 星期三

shell script更新

為了自動印出disksim實驗的config設定
更新了一下執行模擬的shell script檔。

基本上就是用grep去查是否存在   #define某個功能

短短的幾行,也寫很久,因為regular expression不熟…
心得: 基礎不穩,萬事卡

2013年10月21日 星期一

過了一晚,還是梗梗於愧
就因一場球
該怎麼改啊  我的天啊
不只球場啊,還有其他戰場呢
這樣下去可不行

2013年9月30日 星期一

如何把word最後頁的兩欄弄平

为了在文末实现两栏的对齐,在结尾执行菜单“插入-分隔符-连续”或把分栏段最后一个字后面的回车符号选中,接着执行分栏命令(分栏数目与前面一致),则可以发现两边段落对齐了

 總之就是: 選最後一個 enter 符號 ,然後『版面設定』 → 兩欄

謝謝

2013年9月24日 星期二

file open, private_data

linux device driver中實作 "open" function ,一開始都要做一件事情 : assign  file object的private data欄位。


 eg: 
              static int devone_open(struct inode *inode, struct file * file)
              {
struct devone_data *p;
                       ...
                p=kmalloc(sizeof(struct devone_data), GFP_KERNEL);
                    
                     ...
                file-->private_data=p;
              }


如此一來,未來若有process A 要access此device (read , write , ioctrl...  etc)
第一件事就是將當初open時assign的private data 抓出來 

     ssize_t devone_write(.........)
           {
struct devone_data *p = filp->private_data;
                 ....
           }  


so , 多個process對同一device的access就不會衝突了。

2013年9月23日 星期一

出遊前 整理行理的心情 真的不錯~

有時還更勝目的地 ^^

2013年9月19日 星期四

外面有煙火…
我心中有怒火 但被壓了下去