xen-devel
Re: [Xen-devel] Re: [PATCH 7/9] blkio-cgroup-v9: Page tracking hooks
To: |
"Ryo Tsuruta" <ryov@xxxxxxxxxxxxx> |
Subject: |
Re: [Xen-devel] Re: [PATCH 7/9] blkio-cgroup-v9: Page tracking hooks |
From: |
"KAMEZAWA Hiroyuki" <kamezawa.hiroyu@xxxxxxxxxxxxxx> |
Date: |
Thu, 23 Jul 2009 21:02:13 +0900 (JST) |
Cc: |
xen-devel@xxxxxxxxxxxxxxxxxxx, containers@xxxxxxxxxxxxxxxxxxxxxxxxxx, linux-kernel@xxxxxxxxxxxxxxx, virtualization@xxxxxxxxxxxxxxxxxxxxxxxxxx, dm-devel@xxxxxxxxxx, agk@xxxxxxxxxx, kamezawa.hiroyu@xxxxxxxxxxxxxx |
Delivery-date: |
Thu, 23 Jul 2009 05:02:51 -0700 |
Envelope-to: |
www-data@xxxxxxxxxxxxxxxxxxx |
Importance: |
Normal |
In-reply-to: |
<20090723.190253.226783703.ryov@xxxxxxxxxxxxx> |
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: |
<20090723091841.81ff2432.kamezawa.hiroyu@xxxxxxxxxxxxxx> <20090723.153843.193704010.ryov@xxxxxxxxxxxxx> <20090723164935.e97a3ccf.kamezawa.hiroyu@xxxxxxxxxxxxxx> <20090723.190253.226783703.ryov@xxxxxxxxxxxxx> |
Sender: |
xen-devel-bounces@xxxxxxxxxxxxxxxxxxx |
User-agent: |
SquirrelMail/1.4.16 |
Ryo Tsuruta wrote:
> KAMEZAWA Hiroyuki <kamezawa.hiroyu@xxxxxxxxxxxxxx> wrote:
>> > dm-ioband gives high priority to I/O for swap-out by checking whether
>> > PG_swapcache flag is set on the I/O page, regardless of the assigned
>> > I/O bandwidth, and the bandwidth consumed for swap-out is charged to
>> > the owner of the pages as a debt.
>> > How about this approach?
>>
>> I don't think it's reasonable. Why I/O device, scheduler should know
>> about
>> such mm-related information ? I think layering is wrong.
>
> I think that urgent I/O requests such as swap-out should be notified
> by setting a special flag in the struct bio, but there is no such
> mechanism at this time. That is why dm-ioband uses this approach.
>
>> And your approatch cannot be a workaround.
>>
>> In follwing _typical_ case,
>>
>> - A process does small logging to /var/log/mylog, once in a sec.
>> but it uses some amount of cold memory or shmem.
>>
>> This process's logging will be delayed _unexpectedly_ by some buggy
>> process
>> which does memory leak.
>
> Do you mean that the delay in logging is caused since the small process
> is swapped out unexpectedly by the buggy processes?
I don't write "small process", "small logging".
Buggy process does swap-out and cosumes someone else's bandwidth, then,
loggind will be delayed. Important here is throttle bandwidth consumed by
buggy prorcess, not other's.
> How about using memory cgroup to prevent the small process from swap-out?
It never be help if memcg is not configured.
My point is "don't allow anyone to use bandwidth of others."
Considering job isolation, a thread who requests swap-out should be charged
against bandwidth.
Thanks,
-Kame
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
<Prev in Thread] |
Current Thread |
[Next in Thread>
|
- [Xen-devel] [PATCH 6/9] blkio-cgroup-v9: The document of blkio-cgroup, (continued)
- [Xen-devel] Re: [PATCH 7/9] blkio-cgroup-v9: Page tracking hooks, KAMEZAWA Hiroyuki
- [Xen-devel] Re: [PATCH 7/9] blkio-cgroup-v9: Page tracking hooks, Ryo Tsuruta
- [Xen-devel] Re: [PATCH 7/9] blkio-cgroup-v9: Page tracking hooks, KAMEZAWA Hiroyuki
- Re: [Xen-devel] Re: [PATCH 7/9] blkio-cgroup-v9: Page tracking hooks, Ryo Tsuruta
- Re: [Xen-devel] Re: [PATCH 7/9] blkio-cgroup-v9: Page tracking hooks, KAMEZAWA Hiroyuki
- Re: [Xen-devel] Re: [PATCH 7/9] blkio-cgroup-v9: Page tracking hooks, Ryo Tsuruta
- Re: [Xen-devel] Re: [PATCH 7/9] blkio-cgroup-v9: Page tracking hooks,
KAMEZAWA Hiroyuki <=
- Re: [Xen-devel] Re: [PATCH 7/9] blkio-cgroup-v9: Page tracking hooks, Ryo Tsuruta
- Re: [Xen-devel] Re: [PATCH 7/9] blkio-cgroup-v9: Page tracking hooks, KAMEZAWA Hiroyuki
- Re: [Xen-devel] Re: [PATCH 7/9] blkio-cgroup-v9: Page tracking hooks, Ryo Tsuruta
- [Xen-devel] Re: [PATCH 5/9] blkio-cgroup-v9: The body of blkio-cgroup, KAMEZAWA Hiroyuki
- [Xen-devel] Re: [PATCH 3/9] blkio-cgroup-v9: The new page_cgroup framework, Balbir Singh
- [Xen-devel] Re: [PATCH 3/9] blkio-cgroup-v9: The new page_cgroup framework, KAMEZAWA Hiroyuki
- [Xen-devel] Re: [PATCH 3/9] blkio-cgroup-v9: The new page_cgroup framework, KAMEZAWA Hiroyuki
- [Xen-devel] Re: [PATCH 3/9] blkio-cgroup-v9: The new page_cgroup framework, Ryo Tsuruta
- [Xen-devel] Re: [PATCH 3/9] blkio-cgroup-v9: The new page_cgroup framework, Balbir Singh
- [Xen-devel] Re: [PATCH 3/9] blkio-cgroup-v9: The new page_cgroup framework, KAMEZAWA Hiroyuki
|
|
|