2011-03-14 10:49:15

by Amirali Shambayati

[permalink] [raw]
Subject: Switch between IO schedulers at runtime

Dear all,

I'm using Qemu + GDB to debug my new IO scheduler code. I need to be
able to switch between IO schedulers at runtime. As much as I know and
I've tested it in my system, I should echo 'IO-sched name'>
/sys/block/sda/queue/scheduler but the linux image I use(linux-0.2.img
Small Linux disk image containing a 2.6.20 Linux kernel, X11 and
various utilities to test QEMU ) doesn't have "sys folder". Anybody
knows another way to switch IO schedulers runtime?

Any help is appreciated.

Regards,

--
Amirali Shambayati
Bachelor Student
Computer Engineering Department
Sharif University of Technology
Tehran, Iran