login
Header Space

 
 

RE: [RFC][patch 3/11][CFQ-cgroup] Introduce cgroup subsystem

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: 'Paul Menage' <menage@...>, <linux-kernel@...>, <containers@...>
Cc: <axboe@...>, <tom-sugawara@...>, <m-takahashi@...>
Date: Wednesday, April 2, 2008 - 10:31 pm

Thank you for reply.


This code was referred one of io-throttle.
Is it not necessary these checks?
IF not necessary, remove this code.


Ok, I change name.
I hesitated whether using "_cgroup".
The cpuset and the cpuacct does not use it,
but cpu and memory uses it(cpu_cgroup and mem_cgroup).
In this patchset, I select the latter case.



I want to allow to control any devices. (Now, any devices using CFQ)
However, I think the main target of above device is disk devices.

I think so that a different groups have different guarantees on different disks.
And, It would be more better to be able to allow different hierarchies for different disks.
 
Now, I consider two solutions.

One is that a new resource manager(subsystem) is created when new device is plugged.
But, The current cgroup framework would not be resisted dynamically.

The another is that a new file entry is resisted when new device is plugged.
But, when a new cgroup is created, there are only information that request_queue and cgroup structure.
So, I seem that device name cannot be referred.
Namely, a name of entry cannot be defined.
And, this means cannot have different hierarchies.

I try to this mechanism in future.


I missed.
This patchset is not all.
There is not a patch for adding the "ioprio" entry.
I resend this patchset after fixing name and checking.


Thanks,
Satoshi UCHIDA
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[RFC][patch 8/11][CFQ-cgroup] Control cfq_data per cgroup, Satoshi UCHIDA, (Tue Apr 1, 5:38 am)
[RFC][patch 7/11][CFQ-cgroup] Control cfq_data per driver, Satoshi UCHIDA, (Tue Apr 1, 5:37 am)
[RFC][patch 3/11][CFQ-cgroup] Introduce cgroup subsystem, Satoshi UCHIDA, (Tue Apr 1, 5:32 am)
[RFC][patch 9/12][CFQ-cgroup] Control cfq_data per cgroup, Satoshi UCHIDA, (Thu Apr 3, 3:16 am)
[RFC][patch 8/12][CFQ-cgroup] Control cfq_data per driver, Satoshi UCHIDA, (Thu Apr 3, 3:15 am)
[PATCH] [RFC][patch 4/12][CFQ-cgroup] Add ioprio entry, Satoshi UCHIDA, (Thu Apr 3, 3:13 am)
[RFC][patch 3/12][CFQ-cgroup] Introduce cgroup subsystem, Satoshi UCHIDA, (Thu Apr 3, 3:12 am)
[RFC][patch 2/11][CFQ-cgroup] Move header file, Satoshi UCHIDA, (Thu Apr 3, 3:12 am)
[PATCH] [RFC][patch 1/12][CFQ-cgroup] Add Configuration, Satoshi UCHIDA, (Thu Apr 3, 3:11 am)
RE: [RFC][patch 3/11][CFQ-cgroup] Introduce cgroup subsystem, Satoshi UCHIDA, (Wed Apr 2, 10:31 pm)
[RFC][patch 2/11][CFQ-cgroup] Move header file, Satoshi UCHIDA, (Tue Apr 1, 5:30 am)
[RFC][patch 1/11][CFQ-cgroup] Add Configuration, Satoshi UCHIDA, (Tue Apr 1, 5:27 am)
speck-geostationary