# \[Jetson TX2\] Measuring DRAM throughput

**URL:** <https://forums.developer.nvidia.com/t/jetson-tx2-measuring-dram-throughput/55226>\
**Category:** Jetson TX2\
**Created:** [November 15, 2017, 9:18am UTC](https://forums.developer.nvidia.com/t/jetson-tx2-measuring-dram-throughput/55226 "2017-11-15T09:18:12Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![kim6kim](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@kim6kim](https://forums.developer.nvidia.com/u/kim6kim)\
**Post date:** [November 15, 2017, 9:18am UTC](https://forums.developer.nvidia.com/t/jetson-tx2-measuring-dram-throughput/55226/1 "2017-11-15T09:18:12Z")

</div>

Is it possible to measure DRAM bandwidth by GPU?

I am using a Jetson TX2, so I am talking about a main memory which is shared between CPU and GPU.

I found ‘gld\_throughput’ and ‘gst\_throughput’ which mean global memory load and store throughput in nvprof,respectively.

Do they mean DRAM bandwidth by GPU?

I think ‘global memory’ is same with DRAM, since ‘Total amount of global memory’ from the result of ‘$./deviceQuery’ seems to mean the size of DRAM.

```auto
nvidia@tegra-ubuntu:~/NVIDIA_CUDA-8.0_Samples/1_Utilities/deviceQuery$ ./deviceQuery 
./deviceQuery Starting...

 CUDA Device Query (Runtime API) version (CUDART static linking)

Detected 1 CUDA Capable device(s)

Device 0: "NVIDIA Tegra X2"
  CUDA Driver Version / Runtime Version 8.0 / 8.0
  CUDA Capability Major/Minor version number: 6.2
  Total amount of global memory: 7839 MBytes (8219684864 bytes)
  ( 2) Multiprocessors, (128) CUDA Cores/MP: 256 CUDA Cores
  GPU Max Clock rate: 1301 MHz (1.30 GHz)
  Memory Clock rate: 1600 Mhz
  Memory Bus Width: 128-bit
  L2 Cache Size: 524288 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: 32768
  Warp size: 32
  Maximum number of threads per multiprocessor: 2048
  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 1 copy engine(s)
  Run time limit on kernels: No
  Integrated GPU sharing Host Memory: Yes
  Support host page-locked memory mapping: Yes
  Alignment requirement for Surfaces: Yes
  Device has ECC support: Disabled
  Device supports Unified Addressing (UVA): Yes
  Device PCI Domain ID / Bus ID / location ID: 0 / 0 / 0
  Compute Mode:
     < Default (multiple host threads can use ::cudaSetDevice() with device simultaneously) >

deviceQuery, CUDA Driver = CUDART, CUDA Driver Version = 8.0, CUDA Runtime Version = 8.0, NumDevs = 1, Device0 = NVIDIA Tegra X2
Result = PASS

```

---

<div class="post-metadata">

**Author:** ![AastaLLL](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/aastalll/32/14043_2.png) [@AastaLLL](https://forums.developer.nvidia.com/u/AastaLLL)\
**Post date:** [November 16, 2017, 3:18am UTC](https://forums.developer.nvidia.com/t/jetson-tx2-measuring-dram-throughput/55226/2 "2017-11-16T03:18:31Z")

</div>

Hi,

Please check our bandwidthTest sample:

```auto
$ cd ~/NVIDIA_CUDA-8.0_Samples/1_Utilities/bandwidthTest
$ ./bandwidthTest

```

Thanks.

---

<div class="post-metadata">

**Author:** ![nadeemm](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/nadeemm/32/367020_2.png) [@nadeemm](https://forums.developer.nvidia.com/u/nadeemm)\
**Post date:** [October 18, 2021, 6:27pm UTC](https://forums.developer.nvidia.com/t/jetson-tx2-measuring-dram-throughput/55226/3 "2021-10-18T18:27:25Z")

</div>


