lkml.org 
[lkml]   [2017]   [Dec]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH 0/5] blkcg: Limit maximum number of aio requests available for cgroup
Date
Kirill Tkhai <ktkhai@virtuozzo.com> writes:

>> I think you just need to account the completion ring.
>
> A request of struct aio_kiocb type consumes much more memory, than
> struct io_event does. Shouldn't we account it too?

Not in my opinion. The completion ring is the part that gets pinned for
long periods of time.

Just be sure to document this where appropriate. Users/admins should
know that the aio completion ring now contributes to their memory
budget.

Cheers,
Jeff

\
 
 \ /
  Last update: 2017-12-05 16:41    [W:0.071 / U:0.772 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site