svn commit: r198848 - head/bin/ps
Dag-Erling Smørgrav
des at des.no
Thu Nov 12 14:53:58 UTC 2009
Peter Jeremy <peterjeremy at 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
--
Dag-Erling Smørgrav - des at des.no
More information about the svn-src-all
mailing list