lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Wed, 16 Feb 2011 17:52:55 +0100
From:	Tejun Heo <tj@...nel.org>
To:	Ray Jui <rjui@...adcom.com>
Cc:	"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: Re: Questions about Linux workqueue in 2.6.36

Hello,

On Tue, Feb 15, 2011 at 09:57:21AM -0800, Ray Jui wrote:
> Regarding your second patch, which changes the initial mayday timeout to
> MAYDAY_INITIAL_TIMEOUT	= HZ / 100 >= 2 ? HZ / 100 : 2,
> 
> That's a minimum of 2 timer ticks, which is 20 ms in our
> system. Since the timer resolution in our system is 10 ms and it
> takes 15 ~ 20 ms to create a new kworker during kernel startup in
> our system, I verified that I need to change the minimum timer tick
> to 3 for the rescuer NOT to kick in our system during startup.

I think calling rescuers in that case is not perfect but okay.  It'll
only happen while the level of workers is below stable level.  It
would still be better to avoid calling in rescuers almost immediately
with 0 or 1 jiffy timeout.

Thanks.

-- 
tejun
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ