-
Notifications
You must be signed in to change notification settings - Fork 149
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unclear behaviour of XRD_PARALLELEVTLOOP and XRD_WORKERTHREADS #1495
Comments
@vepadulano : thanks for reporting the outcome of your tests! could you just tell me which version of To shed some light on your results:
Your observation is correct, those two variable are responsible for totally independent pools of threads.
To summarise, in case of
Now I'm not sure where is this one additional thread you are seeing coming from, that's why I asked about the version you are using. |
@vepadulano : do you have any further questions or can we close this one? |
Hi @simonmichal , [~]: xrootd -v
v5.3.1
[~]: ps aux | grep xrdcp
vpadulan 176936 33.6 0.1 463728 79400 pts/1 Sl+ 09:17 0:01 xrdcp root://eospublic.cern.ch//eos/opendata/cms/derived-data/AOD2NanoAODOutreachTool/Run2012BC_DoubleMuParked_Muons.root .
vpadulan 177010 0.0 0.0 221396 852 pts/2 S+ 09:17 0:00 grep --color=auto xrdcp
[~]: ps hH p 176936 | wc -l
5 I will look further into Up to you whether you want to close this issue now or understand better why I still get 5 threads. Let me know if I can help in that direction. |
@vepadulano : I will double check the thread count and make sure it's right :-), I think what you are really after is the Regarding the I will post a short summary in the original root issue (root-project/root#7709). |
There has been some interest in investigating the behaviour of
XRD_PARALLELEVTLOOP
variable for ROOT workflows. I would like to report some simple tests here to ask for a clarification. All tests are doing a simplexrdcp
with variations of the two variables mentioned in the title.XRD_PARALLELEVTLOOP=4
In theory this should use 4 threads, but there are 10 instead
XRD_PARALLELEVTLOOP=1
This should use 1 thread, I see 7
XRD_WORKERTHREADS=1 XRD_PARALLELEVTLOOP=1
I have found another environment variable in the xrootd docs https://xrootd.slac.stanford.edu/doc/xrdcl-docs/xrdcldocs.pdf described as "Number of threads processing user callbacks." with default value 3 . Setting both variables to 1 leads to 5 threads
So for now:
xrdcp
process when they are increased.To conclude, I would like to understand where those extra 3 threads could be coming from or get any better insight from you. Thanks a lot !
The text was updated successfully, but these errors were encountered: