bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] core-count: A new program to count the number of cpu cores


From: Pádraig Brady
Subject: Re: [PATCH] core-count: A new program to count the number of cpu cores
Date: Tue, 27 Oct 2009 12:16:31 +0000
User-agent: Thunderbird 2.0.0.6 (X11/20071008)

Paolo Bonzini wrote:
> Maybe we want a --parallel option (too bad -p is taken) for xargs that
> forces the creation of the number of processes passed with -P or taken
> from nproc (for example by starting "md5sum $1 $5 $9 ...", "md5sum $2 $6
> $10 ...", etc.)?
> That would be an interesting alternative to this core-count proposal...

I'm not sure what you mean here.
I already suggested to the xargs maintainer that `xargs -P`
should be equivalent to xargs -P$(nproc).
`nproc` as an external command would still be useful though.

cheers,
Pádraig.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]