Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 Nov 2009 15:53:55 +0100
From:      =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= <des@des.no>
To:        Peter Jeremy <peterjeremy@acm.org>
Cc:        src-committers@freebsd.org, d@delphij.net, svn-src-all@freebsd.org, Xin LI <delphij@freebsd.org>, Bruce Evans <brde@optusnet.com.au>, svn-src-head@freebsd.org
Subject:   Re: svn commit: r198848 - head/bin/ps
Message-ID:  <86d43n23r0.fsf@ds4.des.no>
In-Reply-To: <20091112050515.GA15002@server.vk2pj.dyndns.org> (Peter Jeremy's message of "Thu, 12 Nov 2009 16:05:15 %2B1100")
References:  <200911030928.nA39SjLx085597@svn.freebsd.org> <20091103214231.H23957@delplex.bde.org> <4AF4B6B2.3090706@delphij.net> <20091111230915.B3510@besplex.bde.org> <20091112050515.GA15002@server.vk2pj.dyndns.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Peter Jeremy <peterjeremy@acm.org> writes:
> Actually, %4.0f works up to 9999.5 %CPU because there's no '.' in the
> result.  I think this is an excellent solution.  And since FreeBSD
> currently has a hard limit of 64 CPUs, it's unlikely to be exceeded
> for a while.

...if by "a while" you mean "a year or two", because I can't imagine
that restriction surviving much longer than that.  You can already get
off-the-shelf hardware with 64 threads per die.  If screen real-estate
is a concern, we can switch the scale from 100 to 1, so 1.0 is full tilt
on one thread, etc., and use "%.5g", which should work for up to 99999
threads (9999900%)

DES
--=20
Dag-Erling Sm=C3=B8rgrav - des@des.no



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86d43n23r0.fsf>