答复: 答复: PROBLEM: cgroup cost too much memory when transfer small files to tmpfs

2020-07-27 Thread Fangxiuning (Jack, EulerOS)
@Xiuning Would you please take a look and give some suggestion? I don't suggest this solution for using in long term which skip call pam-systemd.so to fix this issue, Sftp sends files and call pam-systemd.so to create session which manage resources more reasonable, this is evolution direction of

RE: 答复: PROBLEM: cgroup cost too much memory when transfer small files to tmpfs

2020-07-26 Thread jingrui
Cc Fangxiuning On Fri 24-07-20 09:35:26, jingrui wrote: > > On Friday, July 24, 2020 3:55 PM, Michal Hocko wrote: > > > What is the reason to run under !root cgroup in those sessions if you do > > not care about accounting anyway? > > The systemd not support run those sessions under root cgro

Re: 答复: PROBLEM: cgroup cost too much memory when transfer small files to tmpfs

2020-07-24 Thread Michal Hocko
On Fri 24-07-20 09:35:26, jingrui wrote: > > On Friday, July 24, 2020 3:55 PM, Michal Hocko wrote: > > > What is the reason to run under !root cgroup in those sessions if you do > > not care about accounting anyway? > > The systemd not support run those sessions under root cgroup, disable > pa

答复: PROBLEM: cgroup cost too much memory when transfer small files to tmpfs

2020-07-24 Thread jingrui
On Friday, July 24, 2020 3:55 PM, Michal Hocko wrote: > What is the reason to run under !root cgroup in those sessions if you do not > care about accounting anyway? The systemd not support run those sessions under root cgroup, disable pam-systemd will not create session/cgroup, but this is not

Re: PROBLEM: cgroup cost too much memory when transfer small files to tmpfs

2020-07-24 Thread Michal Hocko
On Tue 21-07-20 11:19:52, jingrui wrote: [...] > systemd related issue: https://github.com/systemd/systemd/issues/16499 Well, I would be really careful with one-off and short lived cgroups. Firstly there are charges which cannot be easily reparented and secondly even if the memory footprint is red

Re: PROBLEM: cgroup cost too much memory when transfer small files to tmpfs

2020-07-21 Thread Roman Gushchin
; > Cc: Johannes Weiner ; Michal Hocko > > > > ; Vladimir Davydov > > > > > > > > Thanks. > > > > > > > > --- > > > > PROBLEM: cgroup cost too much memory when transfer small files to tmpfs. > > > > > > >

Re: PROBLEM: cgroup cost too much memory when transfer small files to tmpfs

2020-07-21 Thread Shakeel Butt
ir Davydov > > > > > > Thanks. > > > > > > --- > > > PROBLEM: cgroup cost too much memory when transfer small files to tmpfs. > > > > > > keywords: cgroup PERCPU/memory cost too much. > > > > > > description: > > > > > > We

Re: PROBLEM: cgroup cost too much memory when transfer small files to tmpfs

2020-07-21 Thread Roman Gushchin
On Tue, Jul 21, 2020 at 01:41:26PM -0400, Johannes Weiner wrote: > On Tue, Jul 21, 2020 at 11:19:52AM +, jingrui wrote: > > Cc: Johannes Weiner ; Michal Hocko > > ; Vladimir Davydov > > > > Thanks. > > > > --- > > PROBLEM: cgroup cost too m

Re: PROBLEM: cgroup cost too much memory when transfer small files to tmpfs

2020-07-21 Thread Johannes Weiner
On Tue, Jul 21, 2020 at 11:19:52AM +, jingrui wrote: > Cc: Johannes Weiner ; Michal Hocko ; > Vladimir Davydov > > Thanks. > > --- > PROBLEM: cgroup cost too much memory when transfer small files to tmpfs. > > keywords: cgroup PERCPU/memory cost too much. >

Re: PROBLEM: cgroup cost too much memory when transfer small files to tmpfs

2020-07-21 Thread Shakeel Butt
On Tue, Jul 21, 2020 at 4:20 AM jingrui wrote: > > Cc: Johannes Weiner ; Michal Hocko ; > Vladimir Davydov > > Thanks. > > --- > PROBLEM: cgroup cost too much memory when transfer small files to tmpfs. > > keywords: cgroup PERCPU/memory cost too much. > >

PROBLEM: cgroup cost too much memory when transfer small files to tmpfs

2020-07-21 Thread jingrui
Cc: Johannes Weiner ; Michal Hocko ; Vladimir Davydov Thanks. --- PROBLEM: cgroup cost too much memory when transfer small files to tmpfs. keywords: cgroup PERCPU/memory cost too much. description: We send small files from node-A to node-B tmpfs /tmp directory using sftp. On node-B the