RoBoard魔人的機器人日誌

2012/2/2

[翻譯] MicroSD建議使用說明(繁中化)

如同大家知道的,RoBoard的儲存裝置是採用MicroSD卡。但是很多人忽視了MicroSD卡的速度對RoBoard性能劇烈的影響;因此,他們可能會因為使用緩慢的MicroSD卡,然而在安裝或操作WinXP/Linux時十分緩慢。


以下在RoBoard上對MicroSD卡的使用建議。


[一般]


1. 使用class 6或者class 10的MicroSD卡,而非class 2的MicroSD


2. 選擇值得信賴的MicroSD卡供應商;例如,我們已經測試過許多MicroSD卡的供應商,並發現SanDisk class 4的MicroSD卡 甚至比一些陌生供應商的class 10的MicroSD卡還要快。


3.使用磁碟基準測試軟體(在您的電腦或RoBoard上)檢查您MicroSD卡的真實速度;例如, FDBench可能是一個選擇http://www.hdbench.net/ja/fdbench/index.html 


4. 在RoBoard的BIOS "Advanced->IDE Configuration" 菜單,選擇 "OnBoard IDE Operate Mode -> Native Mode" 與 "ATA(PI) 80Pin Cable Detection -> Device"。(註:兩者都只是微調,可能沒有明顯的效果。) 


[WinXP]


1. 使用FAT32而非NTFS以減少磁碟寫入。


2. 設置一個固定大小的記憶體空間,(與/或)編輯表以禁用分頁:運行 regedit.exe -> 
HKEY_LOCAL_MACHINE -> SYSTEM -> CurrentControlSet -> Control -> Session Manager -> Memory Management -> DisablePagingExecutive,設置為1。




3.微調表。 運行regedit.exe ->
HKEY_LOCAL_MACHINE -> SYSTEM -> CurrentControlSet -> Control -> Session Manager -> Memory Management -> LargeSystemCache,設置為1。 

HKEY_LOCAL_MACHINE -> SYSTEM -> CurrentControlSet -> Control -> Session Manager -> Memory Management -> SecondLevelDataCache,設置為 256 (10進位). 


4. 如果您還是認為磁碟速度仍然不理想 (去 http://www.roboard.com/download_ml.htm 看應用說明)。 註: 在使用EWF之前,您應該禁用虛擬記憶體。 


[Linux]


1. 不要使用Ubuntu桌面,因為它消耗了大量的掛載記憶體(256MB);一台機器上只有256MB的記憶體,如RoBoard,它會頻繁的使用SWAP,使RoBoard速度變得十分緩慢。在一般情況下,您不應該用需要大於256MB記憶體的Linux於RoBoard上。


2. 在RoBoard使用記憶體較少的Linux版本;例如,Ubuntu或Lubuntu可能是好的選擇。


3. 選擇一個適合SSD的文件系統(例如,有些人說ext2可以盡量減少磁碟寫入至SD卡)。
如果您使用ext3或ext4,你可以掛載文件系統 "noatime" 和 "nodiratime" 選項以減少不必要的磁碟寫入。


4. 設定對I/O的合適調度;我們建議您設置"elevator=noop"。






















原文:


As everyone knows, RoBoard employs MicroSD as its storage. But many people overlook the dramatic influence of MicroSD's speed on RoBoard's performance; consequently, they may plug a slow MicroSD into RoBoard and then suffer from slow installation and operation of WinXP/Linux. 

The following are some suggestions for using MicroSD on RoBoard. 

[General] 

1. Use class 6 or 10 MicroSD cards rather than class 2 cards. 

2. Select MicroSD from trustworthy vendors; for example, we have tested many MicroSD from various vendors, and found that even class 4 MicroSD from SanDisk is faster than some class 10 MicroSD from unfamiliar vendors. 

3. Use a disk benchmark software (on your PC or on RoBoard) to check the real speed of your MicroSD; for example, FDBench may be a candidate: http://www.hdbench.net/ja/fdbench/index.html 

4. In RoBoard BIOS "Advanced->IDE Configuration" menu, select "OnBoard IDE Operate Mode -> Native Mode" and "ATA(PI) 80Pin Cable Detection -> Device". (Note: the two settings are just fine tuning and may has no obvious effect.) 

[WinXP] 

1. Use FAT32 rather than NTFS to reduce disk writes. 

2. Set the virtual memory to a fixed size. And/or edit the registry to disable paging: run regedit.exe -> 

HKEY_LOCAL_MACHINE -> SYSTEM -> CurrentControlSet -> Control -> Session Manager -> Memory Management -> DisablePagingExecutive, set as 1. 

3. Fine tune the registry: run regedit.exe -> 

HKEY_LOCAL_MACHINE -> SYSTEM -> CurrentControlSet -> Control -> Session Manager -> Memory Management -> LargeSystemCache, set as 1; 

HKEY_LOCAL_MACHINE -> SYSTEM -> CurrentControlSet -> Control -> Session Manager -> Memory Management -> SecondLevelDataCache, set as 256 (Decimal). 

4. If you feel that the disk speed is still unsatisfactory, you may try EWF (go to http://www.roboard.com/download_ml.htm to see the application note). Note: you should disable the virtual memory before enabling EWF. 

[Linux] 

1. Don't use Ubuntu Desktop because it consumes a large mount memory (> 256MB); on a machine with only 256MB RAM such as RoBoard, it will access SWAP frequently, which can slowdown the speed very much. In general, you shouldn't use on RoBoard any Linux distribution that requires > 256MB RAM. 

2. On RoBoard, use a Linux distribution that require less memory; for example, Ubuntu Server or Lubuntu may be your selection. 

3. Select a filesystem that is suitable for SSD (for example, some people say that ext2 can minimize disk writes to a SD card). 

If you use ext3 or ext4, you may mount the file systems with "noatime" & "nodiratime" options to reduce unnecessary disk writes. 

4. Set the I/O scheduler suitable for SSD; we suggest that you set "elevator=noop". 
Share:

0 留言:

張貼留言

技術提供:Blogger.

追蹤者