You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When scripting, it's convenient to run fsarchiver with -j $(nproc) to scale to however many processors are present in the system that runs the script. However, fsarchiver rejects arguments greater than 32, which happens on a large build server with 128 processing threads:
fsarchiver.c#236,process_cmdline(): [128] is not a valid number of jobs. Must be between 1 and 32
It would be nice if fsarchiver would quietly accept values larger than 32, but only actually use 32 threads if that's the internal limit. Otherwise, we have to make scripts significantly more complex to scale the value down.
When scripting, it's convenient to run fsarchiver with
-j $(nproc)
to scale to however many processors are present in the system that runs the script. However, fsarchiver rejects arguments greater than 32, which happens on a large build server with 128 processing threads:It would be nice if fsarchiver would quietly accept values larger than 32, but only actually use 32 threads if that's the internal limit. Otherwise, we have to make scripts significantly more complex to scale the value down.
fsarchiver/src/fsarchiver.c
Lines 232 to 240 in 03089f4
The text was updated successfully, but these errors were encountered: