新手上路
四星級會員
- 舊站積分
- 6295
- 舊站發表文章數
- 1683
|
發表於 2012-12-18 13:41:12
|
顯示全部樓層
原發表者是 solo16
[B]Hi bchsieh,
great I was having same thought as you. but I'm juat so curious about it and found it quite challenging to me so I'll give it a try anyway.
wondering if it's possible to mount it on fstab?
if not how can i set the ram to noop as it went back to normal every time reboot?
thx so much for ur generous sharing!!!
cheers!!! [/B]
Hi solo16兄,
您如果所有的硬碟都要使用相同的schedule, 您可以在kernel boot parameter後面加入:
elevator=noop
noop可以換成其他的選擇.
如果開機後要改設定, 可以用
echo noop > /sys/block/ram0/queue/schedule
但是小弟剛剛才發現, 雖然上面的指令不會有任何錯誤訊息出現,
但是無論放入任何設定到ram0的schedule裡面,
它的設定皆是none.
也就是說ram0不接受任何的schedule設定.
這在當初小弟設定的時候, 一廂情願的認為使用xfs和ramdisk應該就是用noop會比較好,
所以就沒有進一步檢查ram0是否支援schedule.
很抱歉, 提供了一個沒有用的訊息給您... [:I] |
|