Skip to content
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

Set CPU affinity for CVMFS processes [v2] #3330

Merged
merged 8 commits into from Jul 21, 2023
Merged

Set CPU affinity for CVMFS processes [v2] #3330

merged 8 commits into from Jul 21, 2023

Conversation

jblomer
Copy link
Member

@jblomer jblomer commented Jul 17, 2023

Replaces #3072

@jblomer jblomer self-assigned this Jul 17, 2023
@jblomer jblomer added this to the 2.11 milestone Jul 17, 2023
@jblomer
Copy link
Member Author

jblomer commented Jul 17, 2023

@cernvm-bot cloudtest

@cernvm-bot
Copy link
Collaborator

building for cloudtests finished: SUCCESS
https://lcgapp-services.cern.ch/cvmfs-jenkins/job/CvmfsFullBuildDocker/3980/

@HereThereBeDragons
Copy link
Contributor

do you want a small test for this?

You can also retrieve the CPU affinity of an existing task:
    taskset -p pid 

@cernvm-bot
Copy link
Collaborator

@jblomer
Copy link
Member Author

jblomer commented Jul 20, 2023

@cernvm-bot cloudtest

@cernvm-bot
Copy link
Collaborator

building for cloudtests finished: SUCCESS
https://lcgapp-services.cern.ch/cvmfs-jenkins/job/CvmfsFullBuildDocker/3989/

@HereThereBeDragons
Copy link
Contributor

i personally would probably check for setting more than one cpu

@cernvm-bot
Copy link
Collaborator

@jblomer
Copy link
Member Author

jblomer commented Jul 20, 2023

@cernvm-bot cloudtest

@cernvm-bot
Copy link
Collaborator

building for cloudtests finished: SUCCESS
https://lcgapp-services.cern.ch/cvmfs-jenkins/job/CvmfsFullBuildDocker/3991/

Copy link
Contributor

@HereThereBeDragons HereThereBeDragons left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

just one small improvement, but can also be merged like that

return 0
fi

echo "*** mount cernvm-prod.cern.ch normally"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

maybe change this to mount <repo> - cpu affinity 0,1?

@jblomer jblomer merged commit 1a2be6f into devel Jul 21, 2023
4 checks passed
@jblomer jblomer deleted the fix-3072 branch July 21, 2023 12:59
@cernvm-bot
Copy link
Collaborator

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants