search for: cfq_cgroup

Displaying 5 results from an estimated 5 matches for "cfq_cgroup".

2008 Oct 29
0
[PATCH][cfq-cgroups] Introduce cgroups structure with ioprio entry.
This patch introcude cfq_cgroup structure which is type for group control within expanded CFQ scheduler. In addition, the cfq_cgroup structure has "ioprio" entry which is preference of group for I/O. Signed-off-by: Satoshi UCHIDA <s-uchida at ap.jp.nec.com> --- block/cfq-cgroup.c | 148 +...
2008 Nov 07
0
[PATCH][cfq-cgroups] Introduce ioprio class for top layer.
...+++++++++++++++------------------ include/linux/cfq-iosched.h | 1 + 2 files changed, 203 insertions(+), 142 deletions(-) diff --git a/block/cfq-cgroup.c b/block/cfq-cgroup.c index bb8cb6f..993a3b6 100644 --- a/block/cfq-cgroup.c +++ b/block/cfq-cgroup.c @@ -20,11 +20,24 @@ static const int cfq_cgroup_slice = HZ / 10; +/* + * offset from end of service tree + */ +#define CFQ_CGROUP_IDLE_DELAY (HZ / 5) + +#define cfq_data_class_idle(cfqd) \ + ((cfqd)->ioprio_class == IOPRIO_CLASS_IDLE) +#define cfq_data_class_rt(cfqd) \ + ((cfqd)->ioprio_class == IOPRIO_CLASS_RT) + + + static s...
2008 Nov 07
0
[PATCH][cfq-cgroups] Introduce ioprio class for top layer.
...+++++++++++++++------------------ include/linux/cfq-iosched.h | 1 + 2 files changed, 203 insertions(+), 142 deletions(-) diff --git a/block/cfq-cgroup.c b/block/cfq-cgroup.c index bb8cb6f..993a3b6 100644 --- a/block/cfq-cgroup.c +++ b/block/cfq-cgroup.c @@ -20,11 +20,24 @@ static const int cfq_cgroup_slice = HZ / 10; +/* + * offset from end of service tree + */ +#define CFQ_CGROUP_IDLE_DELAY (HZ / 5) + +#define cfq_data_class_idle(cfqd) \ + ((cfqd)->ioprio_class == IOPRIO_CLASS_IDLE) +#define cfq_data_class_rt(cfqd) \ + ((cfqd)->ioprio_class == IOPRIO_CLASS_RT) + + + static s...
2008 Nov 12
15
[PATCH][RFC][12+2][v3] A expanded CFQ scheduler for cgroups
...^ | conventional control. This patchset is against 2.6.28-rc2 2. Build i. Apply this patchset (series 01 - 12) to kernel 2.6.28-rc2. If you want to use optional functions, apply opt-1/opt-2 patches to kernel 2.6.28-rc2. ii. Build kernel with IOSCHED_CFQ_CGROUP=y option. iii. Restart new kernel. 3. Usage of 2 layer CFQ * Preparation for using 2 layer CFQ i. Mount cfq_cgroup special device to device directory. ex. mkdir /dev/cgroup mount -t cgroup -o cfq cfq /dev/cgroup ii. Change elevator scheduler for device to "cfq-cgroups&...
2008 Nov 12
15
[PATCH][RFC][12+2][v3] A expanded CFQ scheduler for cgroups
...^ | conventional control. This patchset is against 2.6.28-rc2 2. Build i. Apply this patchset (series 01 - 12) to kernel 2.6.28-rc2. If you want to use optional functions, apply opt-1/opt-2 patches to kernel 2.6.28-rc2. ii. Build kernel with IOSCHED_CFQ_CGROUP=y option. iii. Restart new kernel. 3. Usage of 2 layer CFQ * Preparation for using 2 layer CFQ i. Mount cfq_cgroup special device to device directory. ex. mkdir /dev/cgroup mount -t cgroup -o cfq cfq /dev/cgroup ii. Change elevator scheduler for device to "cfq-cgroups&...