From owner-freebsd-hackers@FreeBSD.ORG Wed Oct 21 01:11:44 2009 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E39F0106568B for ; Wed, 21 Oct 2009 01:11:44 +0000 (UTC) (envelope-from max@love2party.net) Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.17.9]) by mx1.freebsd.org (Postfix) with ESMTP id 75E028FC0A for ; Wed, 21 Oct 2009 01:11:44 +0000 (UTC) Received: from vampire.homelinux.org (dslb-088-066-018-172.pools.arcor-ip.net [88.66.18.172]) by mrelayeu.kundenserver.de (node=mrbap1) with ESMTP (Nemesis) id 0MDF9A-1N1WD51Irc-00GgKG; Wed, 21 Oct 2009 03:11:43 +0200 Received: (qmail 23180 invoked from network); 21 Oct 2009 01:11:42 -0000 Received: from kvm.laiers.local (HELO kvm.localnet) (192.168.4.200) by mx.laiers.local with SMTP; 21 Oct 2009 01:11:42 -0000 From: Max Laier Organization: FreeBSD To: freebsd-hackers@freebsd.org Date: Wed, 21 Oct 2009 03:11:53 +0200 User-Agent: KMail/1.12.1 (Linux/2.6.30-ARCH; KDE/4.3.1; x86_64; ; ) References: <20091019140806.GB95902@rink.nu> In-Reply-To: <20091019140806.GB95902@rink.nu> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200910210311.54871.max@love2party.net> X-Provags-ID: V01U2FsdGVkX18pb56dh00ih8tje1jbVVtvfQwMaYjURR9hzAP Uj1fcdOwayTyblEX32SwZwpMIxtn6/Q20JNXKM6gOaCzLaVFaS SvRTR0+cGV9bqktaIf7Lg== Cc: Rink Springer , Ivan Voras Subject: Re: Make process title - % complete X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Oct 2009 01:11:45 -0000 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