chibi@opensuse:~/NVIDIA_CUDA-10.1_Samples/0_Simple/simpleP2P> ./simpleP2P [./simpleP2P] - Starting... Checking for multiple GPUs... CUDA-capable device count: 2 Checking GPU(s) for support of peer to peer memory access... > Peer access from GeForce RTX 2080 Ti (GPU0) -> GeForce RTX 2080 Ti (GPU1) : Yes > Peer access from GeForce RTX 2080 Ti (GPU1) -> GeForce RTX 2080 Ti (GPU0) : Yes Enabling peer access between GPU0 and GPU1... Allocating buffers (64MB on GPU0, GPU1 and CPU Host)... Creating event handles... cudaMemcpyPeer / cudaMemcpy between GPU0 and GPU1: 43.51GB/s Preparing host buffer and memcpy to GPU0... Run kernel on GPU1, taking source data from GPU0 and writing to GPU1... Run kernel on GPU0, taking source data from GPU1 and writing to GPU0... Copy data back to host from GPU0 and verify results... Disabling peer access... Shutting down... Test passed chibi@opensuse:~/NVIDIA_CUDA-10.1_Samples/0_Simple/simpleP2P> cd ~/NVIDIA_CUDA-10.1_Samples/1_Utilities/p2pBandwidthLatencyTest chibi@opensuse:~/NVIDIA_CUDA-10.1_Samples/1_Utilities/p2pBandwidthLatencyTest> ./p2pBandwidthLatencyTest [P2P (Peer-to-Peer) GPU Bandwidth Latency Test] Device: 0, GeForce RTX 2080 Ti, pciBusID: 5, pciDeviceID: 0, pciDomainID:0 Device: 1, GeForce RTX 2080 Ti, pciBusID: 9, pciDeviceID: 0, pciDomainID:0 Device=0 CAN Access Peer Device=1 Device=1 CAN Access Peer Device=0 ***NOTE: In case a device doesn't have P2P access to other one, it falls back to normal memcopy procedure. So you can see lesser Bandwidth (GB/s) and unstable Latency (us) in those cases. P2P Connectivity Matrix D\D 0 1 0 1 1 1 1 1 Unidirectional P2P=Disabled Bandwidth Matrix (GB/s) D\D 0 1 0 528.38 5.88 1 5.88 530.74 Unidirectional P2P=Enabled Bandwidth (P2P Writes) Matrix (GB/s) D\D 0 1 0 530.74 46.96 1 46.94 530.74 Bidirectional P2P=Disabled Bandwidth Matrix (GB/s) D\D 0 1 0 533.65 11.17 1 11.19 529.20 Bidirectional P2P=Enabled Bandwidth Matrix (GB/s) D\D 0 1 0 526.64 93.64 1 93.65 528.59 P2P=Disabled Latency Matrix (us) GPU 0 1 0 1.39 12.33 1 21.56 1.52 CPU 0 1 0 3.03 7.55 1 7.41 2.98 P2P=Enabled Latency (P2P Writes) Matrix (us) GPU 0 1 0 1.39 1.90 1 1.96 1.53 CPU 0 1 0 3.01 2.25 1 2.23 3.01 NOTE: The CUDA Samples are not meant for performance measurements. Results may vary when GPU Boost is enabled. chibi@opensuse:~/NVIDIA_CUDA-10.1_Samples/1_Utilities/p2pBandwidthLatencyTest> cd ~/nvidia chibi@opensuse:~/nvidia> ls bandwidthTest deviceQuery p2pBandwidthLatencyTest simpleP2P chibi@opensuse:~/nvidia> cp bandwidthTest ~/NVIDIA_CUDA-10.1_Samples/1_Utilities/bandwidthTest chibi@opensuse:~/nvidia> cd ~/NVIDIA_CUDA-10.1_Samples/1_Utilities/bandwidthTest chibi@opensuse:~/NVIDIA_CUDA-10.1_Samples/1_Utilities/bandwidthTest> ls Makefile NsightEclipse.xml bandwidthTest bandwidthTest.cu readme.txt chibi@opensuse:~/NVIDIA_CUDA-10.1_Samples/1_Utilities/bandwidthTest> chmod +x bandwidthTest chibi@opensuse:~/NVIDIA_CUDA-10.1_Samples/1_Utilities/bandwidthTest> ./bandwidthTest [CUDA Bandwidth Test] - Starting... Running on... Device 0: GeForce RTX 2080 Ti Quick Mode Host to Device Bandwidth, 1 Device(s) PINNED Memory Transfers Transfer Size (Bytes) Bandwidth(GB/s) 32000000 11.5 Device to Host Bandwidth, 1 Device(s) PINNED Memory Transfers Transfer Size (Bytes) Bandwidth(GB/s) 32000000 12.4 Device to Device Bandwidth, 1 Device(s) PINNED Memory Transfers Transfer Size (Bytes) Bandwidth(GB/s) 32000000 467.4 Result = PASS NOTE: The CUDA Samples are not meant for performance measurements. Results may vary when GPU Boost is enabled. chibi@opensuse:~/NVIDIA_CUDA-10.1_Samples/1_Utilities/bandwidthTest> cd ~/nvidia chibi@opensuse:~/nvidia> cp deviceQuery ~/NVIDIA_CUDA-10.1_Samples/1_Utilities/deviceQuery chibi@opensuse:~/nvidia> cd ~/NVIDIA_CUDA-10.1_Samples/1_Utilities/deviceQuery chibi@opensuse:~/NVIDIA_CUDA-10.1_Samples/1_Utilities/deviceQuery> ls Makefile NsightEclipse.xml deviceQuery deviceQuery.cpp readme.txt chibi@opensuse:~/NVIDIA_CUDA-10.1_Samples/1_Utilities/deviceQuery> chmod +x deviceQuery chibi@opensuse:~/NVIDIA_CUDA-10.1_Samples/1_Utilities/deviceQuery> ls Makefile NsightEclipse.xml deviceQuery deviceQuery.cpp readme.txt chibi@opensuse:~/NVIDIA_CUDA-10.1_Samples/1_Utilities/deviceQuery> ./deviceQuery ./deviceQuery Starting... CUDA Device Query (Runtime API) version (CUDART static linking) Detected 2 CUDA Capable device(s) Device 0: "GeForce RTX 2080 Ti" CUDA Driver Version / Runtime Version 10.1 / 10.1 CUDA Capability Major/Minor version number: 7.5 Total amount of global memory: 10988 MBytes (11521884160 bytes) (68) Multiprocessors, ( 64) CUDA Cores/MP: 4352 CUDA Cores GPU Max Clock rate: 1635 MHz (1.63 GHz) Memory Clock rate: 7000 Mhz Memory Bus Width: 352-bit L2 Cache Size: 5767168 bytes Maximum Texture Dimension Size (x,y,z) 1D=(131072), 2D=(131072, 65536), 3D=(16384, 16384, 16384) Maximum Layered 1D Texture Size, (num) layers 1D=(32768), 2048 layers Maximum Layered 2D Texture Size, (num) layers 2D=(32768, 32768), 2048 layers Total amount of constant memory: 65536 bytes Total amount of shared memory per block: 49152 bytes Total number of registers available per block: 65536 Warp size: 32 Maximum number of threads per multiprocessor: 1024 Maximum number of threads per block: 1024 Max dimension size of a thread block (x,y,z): (1024, 1024, 64) Max dimension size of a grid size (x,y,z): (2147483647, 65535, 65535) Maximum memory pitch: 2147483647 bytes Texture alignment: 512 bytes Concurrent copy and kernel execution: Yes with 3 copy engine(s) Run time limit on kernels: Yes Integrated GPU sharing Host Memory: No Support host page-locked memory mapping: Yes Alignment requirement for Surfaces: Yes Device has ECC support: Disabled Device supports Unified Addressing (UVA): Yes Device supports Compute Preemption: Yes Supports Cooperative Kernel Launch: Yes Supports MultiDevice Co-op Kernel Launch: Yes Device PCI Domain ID / Bus ID / location ID: 0 / 5 / 0 Compute Mode: < Default (multiple host threads can use ::cudaSetDevice() with device simultaneously) > Device 1: "GeForce RTX 2080 Ti" CUDA Driver Version / Runtime Version 10.1 / 10.1 CUDA Capability Major/Minor version number: 7.5 Total amount of global memory: 10989 MBytes (11523260416 bytes) (68) Multiprocessors, ( 64) CUDA Cores/MP: 4352 CUDA Cores GPU Max Clock rate: 1635 MHz (1.63 GHz) Memory Clock rate: 7000 Mhz Memory Bus Width: 352-bit L2 Cache Size: 5767168 bytes Maximum Texture Dimension Size (x,y,z) 1D=(131072), 2D=(131072, 65536), 3D=(16384, 16384, 16384) Maximum Layered 1D Texture Size, (num) layers 1D=(32768), 2048 layers Maximum Layered 2D Texture Size, (num) layers 2D=(32768, 32768), 2048 layers Total amount of constant memory: 65536 bytes Total amount of shared memory per block: 49152 bytes Total number of registers available per block: 65536 Warp size: 32 Maximum number of threads per multiprocessor: 1024 Maximum number of threads per block: 1024 Max dimension size of a thread block (x,y,z): (1024, 1024, 64) Max dimension size of a grid size (x,y,z): (2147483647, 65535, 65535) Maximum memory pitch: 2147483647 bytes Texture alignment: 512 bytes Concurrent copy and kernel execution: Yes with 3 copy engine(s) Run time limit on kernels: No Integrated GPU sharing Host Memory: No Support host page-locked memory mapping: Yes Alignment requirement for Surfaces: Yes Device has ECC support: Disabled Device supports Unified Addressing (UVA): Yes Device supports Compute Preemption: Yes Supports Cooperative Kernel Launch: Yes Supports MultiDevice Co-op Kernel Launch: Yes Device PCI Domain ID / Bus ID / location ID: 0 / 9 / 0 Compute Mode: < Default (multiple host threads can use ::cudaSetDevice() with device simultaneously) > > Peer access from GeForce RTX 2080 Ti (GPU0) -> GeForce RTX 2080 Ti (GPU1) : Yes > Peer access from GeForce RTX 2080 Ti (GPU1) -> GeForce RTX 2080 Ti (GPU0) : Yes deviceQuery, CUDA Driver = CUDART, CUDA Driver Version = 10.1, CUDA Runtime Version = 10.1, NumDevs = 2 Result = PASS chibi@opensuse:~/NVIDIA_CUDA-10.1_Samples/1_Utilities/deviceQuery> cd chibi@opensuse:~> cat /etc/os-release NAME="openSUSE Tumbleweed" # VERSION="20190612" ID="opensuse-tumbleweed" ID_LIKE="opensuse suse" VERSION_ID="20190612" PRETTY_NAME="openSUSE Tumbleweed" ANSI_COLOR="0;32" CPE_NAME="cpe:/o:opensuse:tumbleweed:20190612" BUG_REPORT_URL="https://bugs.opensuse.org" HOME_URL="https://www.opensuse.org/" LOGO="distributor-logo" chibi@opensuse:~> nvcc -V nvcc: NVIDIA (R) Cuda compiler driver Copyright (c) 2005-2019 NVIDIA Corporation Built on Wed_Apr_24_19:10:27_PDT_2019 Cuda compilation tools, release 10.1, V10.1.168 chibi@opensuse:~> nvidia-smi Sun Jun 16 09:40:25 2019 +-----------------------------------------------------------------------------+ | NVIDIA-SMI 418.74 Driver Version: 418.74 CUDA Version: 10.1 | |-------------------------------+----------------------+----------------------+ | GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC | | Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. | |===============================+======================+======================| | 0 GeForce RTX 208... Off | 00000000:05:00.0 On | N/A | | 41% 37C P8 18W / 260W | 970MiB / 10988MiB | 0% Default | +-------------------------------+----------------------+----------------------+ | 1 GeForce RTX 208... Off | 00000000:09:00.0 Off | N/A | | 41% 34C P8 21W / 260W | 1MiB / 10989MiB | 0% Default | +-------------------------------+----------------------+----------------------+ +-----------------------------------------------------------------------------+ | Processes: GPU Memory | | GPU PID Type Process name Usage | |=============================================================================| | 0 2112 G /usr/bin/X 40MiB | | 0 2146 G /usr/bin/gnome-shell 65MiB | | 0 2370 G /usr/bin/X 179MiB | | 0 2491 G /usr/bin/gnome-shell 682MiB | +-----------------------------------------------------------------------------+ chibi@opensuse:~> sensors asus-isa-0000 Adapter: ISA adapter cpu_fan: 0 RPM coretemp-isa-0000 Adapter: ISA adapter Package id 0: +44.0°C (high = +71.0°C, crit = +89.0°C) Core 0: +37.0°C (high = +71.0°C, crit = +89.0°C) Core 1: +36.0°C (high = +71.0°C, crit = +89.0°C) Core 2: +32.0°C (high = +71.0°C, crit = +89.0°C) Core 3: +33.0°C (high = +71.0°C, crit = +89.0°C) Core 4: +32.0°C (high = +71.0°C, crit = +89.0°C) Core 5: +34.0°C (high = +71.0°C, crit = +89.0°C) Core 6: +34.0°C (high = +71.0°C, crit = +89.0°C) Core 7: +32.0°C (high = +71.0°C, crit = +89.0°C) chibi@opensuse:~> nvidia-smi nvlink -c GPU 0: GeForce RTX 2080 Ti (UUID: GPU-13277ce5-e1e9-0cb1-8cee-6c9e6618e774) Link 0, P2P is supported: true Link 0, Access to system memory supported: true Link 0, P2P atomics supported: true Link 0, System memory atomics supported: true Link 0, SLI is supported: true Link 0, Link is supported: false Link 1, P2P is supported: true Link 1, Access to system memory supported: true Link 1, P2P atomics supported: true Link 1, System memory atomics supported: true Link 1, SLI is supported: true Link 1, Link is supported: false GPU 1: GeForce RTX 2080 Ti (UUID: GPU-1ac935c2-557f-282e-14e5-3f749ffd63ac) Link 0, P2P is supported: true Link 0, Access to system memory supported: true Link 0, P2P atomics supported: true Link 0, System memory atomics supported: true Link 0, SLI is supported: true Link 0, Link is supported: false Link 1, P2P is supported: true Link 1, Access to system memory supported: true Link 1, P2P atomics supported: true Link 1, System memory atomics supported: true Link 1, SLI is supported: true Link 1, Link is supported: false chibi@opensuse:~>