An Asynchronous Event Communication Technique for Soft Real-Time GPGPU Applications
Independent thesis Advanced level (professional degree), 20 credits / 30 HE creditsStudent thesis
Context Interactive GPGPU applications requires low response time feedback from events such as user input in order to provide a positive user experience. Communication of these events must be performed asynchronously as to not cause significant performance penalties.
Objectives In this study the usage of CPU/GPU shared virtual memory to perform asynchronous communication is explored. Previous studies have shown that shared virtual memory can increase computational performance compared to other types of memory.
Methods A communication technique that aimed to utilize the performance increasing properties of shared virtual memory was developed and implemented. The implemented technique was then compared to an implementation using explicitly transferred memory in an experiment measuring the performance of the various stages involved in the technique.
Results The results from the experiment revealed that utilizing shared virtual memory for performing asynchronous communication was in general slightly slower than- or comparable to using explicitly transferred memory. In some cases, where the memory access pattern was right, utilization of shared virtual memory lead to a 50% reduction in execution time compared to explicitly transferred memory.
Conclusions A conclusion that shared virtual memory can be utilized for performing asynchronous communication was reached. It was also concluded that by utilizing shared virtual memory a performance increase can be achieved over explicitly transferred memory. In addition it was concluded that careful consideration of data size and access pattern is required to utilize the performance increasing properties of shared virtual memory.
Place, publisher, year, edition, pages
2015. , 51 p.
GPGPU, Asynchronous communication, Shared memory
IdentifiersURN: urn:nbn:se:bth-10390OAI: oai:DiVA.org:bth-10390DiVA: diva2:839513
Subject / course
DV2524 Degree Project in Computer Science for Engineers
PAACI Master of Science in Game and Software Engineering