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

Add nvidia smi pci bandwidth percent collector #14315

Merged

Conversation

ghanapunq
Copy link
Contributor

Summary

This change enables the calculation of the PCIE bandwidth in percent.

Test Plan

Tested manually on two different machines. One with a GPU Quadro RTX 4000 and the other one with GPU RTX A4500

Additional Information

To have a quick overview about the pcie bandwidth available, I though it was useful to have the values of TX/RX bandwidth in percent. To do so it calculates the maximum theoretical bandwidth thanks to the pcie generation and width given by nvidia-smi, thus the value in percent can be deduced.

For users: metric netdata_nvidia_smi_pci_bandwidth_KiB_persec_average enhanced

It changes the nvidia-smi plugin only. And two dimensions rx_percent and tx_percent have been added to the netdata_nvidia_smi_pci_bandwidth_KiB_persec_average metric.

@CLAassistant
Copy link

CLAassistant commented Jan 23, 2023

CLA assistant check
All committers have signed the CLA.

@github-actions github-actions bot added area/collectors Everything related to data collection collectors/python.d labels Jan 23, 2023
@ghanapunq ghanapunq force-pushed the nvidia-smi-pci-bandwidth-percent-collector branch from 28498ee to 8866d46 Compare January 24, 2023 09:07
@ilyam8
Copy link
Member

ilyam8 commented Jan 30, 2023

@ghanapunq also check the Codacy warnings

Co-authored-by: Ilya Mashchenko <ilya@netdata.cloud>
@ghanapunq
Copy link
Contributor Author

@ilyam8 thanks for the review. Would you know who else could review my pull request to unblock it ?

@ilyam8
Copy link
Member

ilyam8 commented Feb 1, 2023

@ghanapunq

Tested manually on two different machines. One with a GPU Quadro RTX 4000 and the other one with GPU RTX A4500

Did you test the latest changes? If no - please do.

@ilyam8
Copy link
Member

ilyam8 commented Feb 1, 2023

i tested the changes

@ilyam8 ilyam8 merged commit f444be6 into netdata:master Feb 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/collectors Everything related to data collection collectors/python.d
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants