Date: Wed, 21 Oct 2009 03:11:53 +0200 From: Max Laier <max@love2party.net> To: freebsd-hackers@freebsd.org Cc: Rink Springer <rink@freebsd.org>, Ivan Voras <ivoras@freebsd.org> Subject: Re: Make process title - % complete Message-ID: <200910210311.54871.max@love2party.net> In-Reply-To: <20091019140806.GB95902@rink.nu> References: <hbhquj$mkj$1@ger.gmane.org> <20091019140806.GB95902@rink.nu>
next in thread | previous in thread | raw e-mail | index | archive | help
On Monday 19 October 2009 16:08:06 Rink Springer wrote: > Hi Ivan, > > On Mon, Oct 19, 2009 at 03:52:30PM +0200, Ivan Voras wrote: > > if nobody objects, I'll commit it :) > > I seem to recall that setproctitle() is quite expensive to call; perhaps > it would make sense offer a flag to prevent make(1) from calling it? [1] Just rate-limit the setproctitle() call to once/sec or once/percentage-step and be done with it. I must say that trying it out on a kernel build didn't proof too useful as the targets have vastly different runtimes, but I think it's a good addition nonetheless. So please, go for it Ivan. > Anyway, the feature looks nice! I'd like to have it... > > [1] I'm unsure how expensive it is compared to fork(1)-ing etc; I'd > expect it's negligable but who knows... > -- /"\ Best regards, | mlaier@freebsd.org \ / Max Laier | ICQ #67774661 X http://pf4freebsd.love2party.net/ | mlaier@EFnet / \ ASCII Ribbon Campaign | Against HTML Mail and News
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200910210311.54871.max>