You are not logged in.

#1 2011-02-08 18:23:54

rspadim
Member
Registered: 2011-02-02
Posts: 11

raid1 read balance

hi guys i made some new read balance for raid1, if anyone want to test, please send me benchmarks
it's kernel 2.6.37 based
www.spadim.com.br/raid1

get raid1.new.c and raid1.new.h
copy it to linux kernel source code at
drivers/md/raid1.c
drivers/md/raid1.h

compile it (as a module)
make drivers/md/raid1.o
make drivers/md/raid1.ko

remove old raid1
rmmod raid1
install it
insmod drivers/md/raid1.ko

test it
mdadm --create/assemble
cd /sys/block/mdxxx/md/
use round_balance_mode (like scheduler for disks, have near_head (today read balance), time based, round robin and stripe (like raid0))
round_balance_stripe_shift (for stripe mode)
round_balance_config (to change round robin counter, and time based parameters)

any problem please tell me

Offline

Board footer

Powered by FluxBB