You are not logged in.

#1 2012-10-18 23:19:45

solarwind
Member
From: Toronto
Registered: 2008-03-18
Posts: 546

How to use the noop scheduler on two SSDs in software RAID mode?

Hi all,

I have two SSDs in RAID0 via motherboard ("fake") raid. They're mapped using dm-raid. The root device is /dev/dm-3

According to: https://wiki.archlinux.org/index.php/Solid_State_Drives, you can do `echo noop >/sys/block/sdX/queue/scheduler`, but that doesn't seem to work for me.

On my system:

% cat /sys/block/dm-3/queue/scheduler                                                                                          [1]
none
% cat /sys/block/sda/queue/scheduler                                                                                           [1]
noop deadline [cfq]

How would I make this RAID0 partition use the noop scheduler?

Update, setting /dev/sda to use noop worked, but is there a way to apply it to the RAID0 partition only?

% cat /sys/block/sda/queue/scheduler                                                                                           [1]
noop deadline [cfq]
% echo noop | sudo tee /sys/block/sda/queue/scheduler                                                                          [1]
noop
% cat /sys/block/sda/queue/scheduler                                                                                           [0]
[noop] deadline cfq

Last edited by solarwind (2012-10-18 23:33:22)

Offline

Board footer

Powered by FluxBB