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

Limiting communication bandwidth #20

Open
wutianyuan1 opened this issue Apr 18, 2024 · 1 comment
Open

Limiting communication bandwidth #20

wutianyuan1 opened this issue Apr 18, 2024 · 1 comment

Comments

@wutianyuan1
Copy link

Hi,

I wonder if there is a way to manully limit the communication bandwidth between two GPUs? For example, I want to set the upper bound bandwidth between GPU1 and GPU3 to be 300Mbps (just like using nvidia-smi -lgc to lock clock rates). So is there such tools to achieve this? Thanks a lot!

@deepakcu
Copy link
Collaborator

How are the GPUs connected? If they are connected with nvlink, see options for disablement here:
https://github.com/NVIDIA/open-gpu-kernel-modules/blob/550.76/src/nvidia/interface/nvrm_registry.h#L1528-L1539

Foe example try:
sudo modprobe nvidia NVreg_RMNvLinkDisableLinks=0x1 should disable the 0th nvlink.

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

No branches or pull requests

2 participants