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
It still works to calculate a number of parallel jobs, as a function of the amount of RAM detected on the system, so that the available memory is not exceeded. However, while those changes have been tested to work when you use this command to install open-p4studio:
they appear NOT to be used when you install open-p4studio using this other command, which is one of the two ways to install open-p4studio currently recommended in the top-level README:
./install.sh
I believe this is because in the Python code for the p4studio program, the code for handling the --jobs N option is present when you do p4studio profile ... commands, but it is not used when running a command p4studio interactive, which is what the install.sh script runs: https://github.com/p4lang/open-p4studio/blob/main/install.sh#L23
As far as I know, it should not be too difficult to make the code that calculates a number of parallel jobs from the amount of RAM, be executed regardless of whether you do p4studio apply ... or p4studio interactive.
The text was updated successfully, but these errors were encountered:
jafingerhut
added a commit
to jafingerhut/open-p4studio
that referenced
this issue
Feb 19, 2025
This PR was merged earlier: #38
It still works to calculate a number of parallel jobs, as a function of the amount of RAM detected on the system, so that the available memory is not exceeded. However, while those changes have been tested to work when you use this command to install open-p4studio:
they appear NOT to be used when you install open-p4studio using this other command, which is one of the two ways to install open-p4studio currently recommended in the top-level README:
I believe this is because in the Python code for the
p4studio
program, the code for handling the--jobs N
option is present when you dop4studio profile ...
commands, but it is not used when running a commandp4studio interactive
, which is what theinstall.sh
script runs: https://github.com/p4lang/open-p4studio/blob/main/install.sh#L23As far as I know, it should not be too difficult to make the code that calculates a number of parallel jobs from the amount of RAM, be executed regardless of whether you do
p4studio apply ...
orp4studio interactive
.The text was updated successfully, but these errors were encountered: