Re: [RFC][PATCH 00/11] blkiocg async support

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Daniel P. Berrange
Date: Friday, July 16, 2010 - 7:53 am

On Fri, Jul 16, 2010 at 10:35:36AM -0400, Vivek Goyal wrote:

That is true, but that 'use_hierarchy' at least provides admins
the mechanism required to implement the neccessary policy


In the simple / normal case I imagine all guests VMs will be running
unrestricted I/O initially. Thus instead of creating the cgroup at time
of VM startup, we could create the cgroup only when the admin actually
sets an I/O limit. IIUC, this should maintain the one cgroup per guest
model, while avoiding the performance penalty in normal use. The caveat
of course is that this would require blkio controller to have a dedicated
mount point, not shared with other controller.  I think we might also
want this kind of model for net I/O, since we probably don't want to 
creating TC classes + net_cls groups for every VM the moment it starts
unless the admin has actually set a net I/O limit.

Daniel
-- 
|: Red Hat, Engineering, London    -o-   http://people.redhat.com/berrange/ :|
|: http://libvirt.org -o- http://virt-manager.org -o- http://deltacloud.org :|
|: http://autobuild.org        -o-         http://search.cpan.org/~danberr/ :|
|: GnuPG: 7D3B9505  -o-   F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 :|
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[RFC][PATCH 00/11] blkiocg async support, Munehiro Ikeda, (Thu Jul 8, 7:57 pm)
[RFC][PATCH 03/11] blkiocg async: Hooks for iotrack, Munehiro Ikeda, (Thu Jul 8, 8:16 pm)
Re: [RFC][PATCH 02/11] blkiocg async: The main part of iotrack, KAMEZAWA Hiroyuki, (Fri Jul 9, 12:35 am)
Re: [RFC][PATCH 02/11] blkiocg async: The main part of iotrack, KAMEZAWA Hiroyuki, (Fri Jul 9, 12:38 am)
Re: [RFC][PATCH 00/11] blkiocg async support, Andrea Righi, (Fri Jul 9, 3:04 am)
Re: [RFC][PATCH 00/11] blkiocg async support, Vivek Goyal, (Fri Jul 9, 6:45 am)
Re: [RFC][PATCH 03/11] blkiocg async: Hooks for iotrack, Munehiro Ikeda, (Fri Jul 9, 4:43 pm)
Re: [RFC][PATCH 00/11] blkiocg async support, Munehiro Ikeda, (Fri Jul 9, 5:17 pm)
Re: [RFC][PATCH 00/11] blkiocg async support, Nauman Rafique, (Fri Jul 9, 5:55 pm)
Re: [RFC][PATCH 00/11] blkiocg async support, Vivek Goyal, (Sat Jul 10, 6:24 am)
Re: [RFC][PATCH 02/11] blkiocg async: The main part of iotrack, KAMEZAWA Hiroyuki, (Sun Jul 11, 5:11 pm)
Re: [RFC][PATCH 00/11] blkiocg async support, KAMEZAWA Hiroyuki, (Sun Jul 11, 5:20 pm)
Re: [RFC][PATCH 00/11] blkiocg async support, Vivek Goyal, (Mon Jul 12, 6:18 am)
Re: [RFC][PATCH 00/11] blkiocg async support, KAMEZAWA Hiroyuki, (Mon Jul 12, 9:36 pm)
Re: [RFC][PATCH 00/11] blkiocg async support, Vivek Goyal, (Wed Jul 14, 7:29 am)
Re: [RFC][PATCH 00/11] blkiocg async support, KAMEZAWA Hiroyuki, (Wed Jul 14, 5:00 pm)
Re: [RFC][PATCH 00/11] blkiocg async support, Vivek Goyal, (Fri Jul 16, 6:43 am)
Re: [RFC][PATCH 00/11] blkiocg async support, Daniel P. Berrange, (Fri Jul 16, 7:15 am)
Re: [RFC][PATCH 00/11] blkiocg async support, Vivek Goyal, (Fri Jul 16, 7:35 am)
Re: [RFC][PATCH 00/11] blkiocg async support, Daniel P. Berrange, (Fri Jul 16, 7:53 am)
Re: [RFC][PATCH 00/11] blkiocg async support, Vivek Goyal, (Fri Jul 16, 8:12 am)
Re: [RFC][PATCH 00/11] blkiocg async support, Greg Thelen, (Thu Jul 22, 12:28 pm)
Re: [RFC][PATCH 00/11] blkiocg async support, KAMEZAWA Hiroyuki, (Thu Jul 22, 4:59 pm)
Re: [RFC][PATCH 00/11] blkiocg async support, Balbir Singh, (Sun Jul 25, 11:41 pm)
Re: [RFC][PATCH 00/11] blkiocg async support, KAMEZAWA Hiroyuki, (Mon Jul 26, 11:39 pm)
Re: [RFC][PATCH 00/11] blkiocg async support, Greg Thelen, (Mon Jul 26, 11:40 pm)
Re: [RFC][PATCH 00/11] blkiocg async support, Daniel P. Berrange, (Tue Jul 27, 3:40 am)
Re: [RFC][PATCH 00/11] blkiocg async support, Vivek Goyal, (Tue Jul 27, 7:03 am)
Re: [RFC][PATCH 00/11] blkiocg async support, Vivek Goyal, (Mon Aug 2, 1:58 pm)
Re: [RFC][PATCH 00/11] blkiocg async support, Munehiro Ikeda, (Tue Aug 3, 7:31 am)
Re: [RFC][PATCH 00/11] blkiocg async support, Nauman Rafique, (Tue Aug 3, 12:24 pm)
Re: [RFC][PATCH 00/11] blkiocg async support, Vivek Goyal, (Tue Aug 3, 1:15 pm)
Re: [RFC][PATCH 00/11] blkiocg async support, Munehiro Ikeda, (Wed Aug 4, 7:32 am)