|
|
|
|
|
|
|
|
|
|
xen-devel
[Xen-devel] Re: Too many I/O controller patches
To: |
kamezawa.hiroyu@xxxxxxxxxxxxxx |
Subject: |
[Xen-devel] Re: Too many I/O controller patches |
From: |
Hirokazu Takahashi <taka@xxxxxxxxxxxxx> |
Date: |
Wed, 06 Aug 2008 15:48:21 +0900 (JST) |
Cc: |
xen-devel@xxxxxxxxxxxxxxxxxxx, containers@xxxxxxxxxxxxxxxxxxxxxxxxxx, linux-kernel@xxxxxxxxxxxxxxx, dave@xxxxxxxxxxxxxxxxxx, vtaras@xxxxxxxxxx, dm-devel@xxxxxxxxxx, agk@xxxxxxxxxxxxxx, s-uchida@xxxxxxxxxxxxx, virtualization@xxxxxxxxxxxxxxxxxxxxxxxxxx, ngupta@xxxxxxxxxx, righi.andrea@xxxxxxxxx |
Delivery-date: |
Tue, 05 Aug 2008 23:48:46 -0700 |
Envelope-to: |
www-data@xxxxxxxxxxxxxxxxxxx |
In-reply-to: |
<20080806114425.c0e9b24f.kamezawa.hiroyu@xxxxxxxxxxxxxx> |
List-help: |
<mailto:xen-devel-request@lists.xensource.com?subject=help> |
List-id: |
Xen developer discussion <xen-devel.lists.xensource.com> |
List-post: |
<mailto:xen-devel@lists.xensource.com> |
List-subscribe: |
<http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe> |
List-unsubscribe: |
<http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe> |
References: |
<48981D3B.2020701@xxxxxxxxx> <1217953218.10907.25.camel@nimitz> <20080806114425.c0e9b24f.kamezawa.hiroyu@xxxxxxxxxxxxxx> |
Sender: |
xen-devel-bounces@xxxxxxxxxxxxxxxxxxx |
Hi,
> > > > Buffered write I/O is also related with cache system.
> > > > We must consider this problem as I/O control.
> > >
> > > Agree. At least, maybe we should consider if an IO controller could be
> > > a valid solution also for these problems.
> >
> > Isn't this one of the core points that we keep going back and forth
> > over? It seems like people are arguing in circles over this:
> >
> > Do we:
> > 1. control potential memory usage by throttling I/O
> > or
> > 2. Throttle I/O when memory is full
> >
> > I might lean toward (1) if we didn't already have a memory controller.
> > But, we have one, and it works. Also, we *already* do (2) in the
> > kernel, so it would seem to graft well onto existing mechanisms that we
> > have.
> >
> > I/O controllers should not worry about memory.
> I agree here ;)
>
> >They're going to have a hard enough time getting the I/O part right. :)
> >
> memcg have more problems now ;(
>
> Only a difficult thing to limit dirty-ratio in memcg is how-to-count dirty
> pages. If I/O controller's hook helps, it's good.
>
> My small concern is "What happens if we throttole I/O bandwidth too small
> under some memcg." In such cgroup, we may see more OOMs because I/O will
> not finish in time.
I/O controllers are just supposed to emulate slow device from the point
of view of the processes in a certain cgroup or something. I think
the memory management layer and the memory controller are the ones
which should be able to handle these, which might be as slow as
floppy disks though.
> A system admin have to find some way to avoid this.
>
> But please do I/O control first. Dirty-page control is related but different
> layer's problem, I think.
Yup.
Thanks,
Hirokazu Takahashi.
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
|
|
|
|