I am working on a project which runs multiple real-time applications GPU.
I am wondering what tool I need to use to get trace information for both CPU and GPU for the multiple tasks.
Here are some detail explanation about the applications and test environment.
- Test platform : PC+Geforce 1070 or Nvidia TX1 with Ubuntu
- Test applications : 5~7 periodic applications.
Each task has both CPU and GPU execution
The GPU execution is implemented in xxx.cu using CUDA.
All tasks operate periodically
The tasks are assigned to real-time priority using schedtool and are pinning a specific CPU core.
The way to run the applications is like the following:
sudo taskset 0x1 schedtool -F -p 60 -e ./application_1 &
sudo taskset 0x1 schedtool -F -p 58 -e ./ application_2 &
sudo taskset 0x1 schedtool -F -p 58 -e ./ application_3
I need to analyze the time traces of both GPU and CPU for all tasks during their operation.
I guess that the Nsight can provide CPU+GPU trace.
Can Nsight work with multiple tasks at the same time?
Can the tool work with real time priority tasks?
If yes, can you recommend what links and document I need to refer to?
If not, what would be good way to visualize and analyze GPU and CPU traces using nvidia GPU?