[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20200602161814.GI31548@mtj.thefacebook.com>
Date: Tue, 2 Jun 2020 12:18:14 -0400
From: Tejun Heo <tj@...nel.org>
To: Lai Jiangshan <jiangshanlai@...il.com>
Cc: Lai Jiangshan <laijs@...ux.alibaba.com>,
LKML <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH 4/4] workqueue: slash half memory usage in 32bit system
Hello,
On Tue, Jun 02, 2020 at 08:08:10AM +0800, Lai Jiangshan wrote:
> It is not noticable from the "free" command.
> By counting the number of allocated pwq (mainly percpu pwq),
> it saves 20k in my simple kvm guest (4cpu).
> I guess it highly various in different boxes with various
> kernel modules loaded.
Hmm... I find it difficult to judge in any direction. 32 bit machines are
smaller and have less of everything - including CPUs and workqueues
themselves, so while changing configuration for 32bit systems would reduce
memory usage the impact isn't gonna be that big either and I have no data
supporting whether the reduction is gonna help or hurt.
Thanks.
--
tejun
Powered by blists - more mailing lists