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

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Vivek Goyal
Date: Friday, July 16, 2010 - 7:35 am

On Fri, Jul 16, 2010 at 03:15:49PM +0100, Daniel P. Berrange wrote:

[..]

I understand that not having hierarchical support is a huge limitation
and in future I would like to be there. Just that at the moment provinding
that support is hard as I am struggling with more basic issues which are
more important.

Secondly, just because some controller allows creation of hierarchy does
not mean that hierarchy is being enforced. For example, memory controller.
IIUC, one needs to explicitly set "use_hierarchy" to enforce hierarchy
otherwise effectively it is flat. So if libvirt is creating groups and
putting machines in child groups thinking that we are not interfering
with admin's policy, is not entirely correct.

So how do we make progress here. I really want to see blkio controller
integrated with libvirt.

About the issue of hierarchy, I can probably travel down the path of allowing
creation of hierarchy but CFQ will treat it as flat. Though I don't like it
because it will force me to introduce variables like "use_hierarchy" once
real hierarchical support comes in but I guess I can live with that.
(Anyway memory controller is already doing it.).

There is another issue though and that is by default every virtual
machine going into a group of its own. As of today, it can have
severe performance penalties (depending on workload) if group is not
driving doing enough IO. (Especially with group_isolation=1).

I was thinking of a model where an admin moves out the bad virtual
machines in separate group and limit their IO.

Vivek
--
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)