[Devel] [PATCH rh7 0/7] Rework containers' network memory management

Konstantin Khorenko khorenko at virtuozzo.com
Mon Jun 8 08:45:54 PDT 2015


On 06/01/2015 10:58 PM, Pavel Emelyanov wrote:
> On 06/01/2015 07:23 PM, Vladimir Davydov wrote:
>> On Mon, Jun 01, 2015 at 07:11:51PM +0300, Pavel Emelyanov wrote:
>>> On 06/01/2015 07:02 PM, Vladimir Davydov wrote:
>>>> Any plans to sync these limits/counters with user beancounters?
>>>
>>> For TCP it would be too hard. Current tcp mm doesn't distinguish in mem
>>> from out mem, so we have no easy way to show them separately. For the
>>> rest... Well, have you changed your mind and want to keep numbers?
>>
>> I don't care, but what about compatibility? :-D
> 
> It's quite simple -- if /proc/user_beancounters' network buffers fields will 
> be the only backward compatible place in the kernel, then it doesn't worth 
> the efforts.

Pasha, network buffers fields are not the only fields which are actual in /proc/user_beancounters in Virtuozzo 7 kernel,
so please
1) for "old" Containers (created and managed using ioctls with CTID - int) - make network-related parameters in /proc/user_beancounters show actual info
   or just some dummy values, and put info about which values are "real" into the jira issue: https://jira.sw.ru/browse/PSBM-33584

2) for "new" Containers (new cgroup-based interface): for each parameter from /proc/user_beancounters please post where its value can be taken (via croups interface).
   And post the info into https://jira.sw.ru/browse/PSBM-33584 as well.

Thank you.

--
Konstantin



More information about the Devel mailing list