Using Multi-Core to Debug Interactive Applications

Article Preview

Abstract:

Instrumentation technology has been widely used in debugging interactive applications, such as interactive games and virtual reality. Debug codes are instrumented into a target program in order to collect run-time information. Although instrumentation provides detail information of the target program behavior, it can significantly prolong execution time, change program behavior and lead to incorrect debugging results, especially for time dependent and real-time applications. This paper aims to design a scalable parallel debugging mechanism to reduce instrumentation overhead while collecting detail run-time information. We design a new synchronization mechanism of instrumentation, named MDM, which uses multiple buffers to process debug messages. Also, a binding mechanism is used to specify the relationship between the target program, helper threads and cores. We conduct a case study of augmented reality interactive games on an Intel Core i7-2600 processor with Linux 2.6.38. Compared to existing methods, MDM can reduce instrumentation overhead by up to 19%.

You might also be interested in these eBooks

Info:

Periodical:

Pages:

1007-1011

Citation:

Online since:

May 2015

Export:

Price:

Permissions CCC:

Permissions PLS:

Сopyright:

© 2015 Trans Tech Publications Ltd. All Rights Reserved

Share:

Citation:

* - Corresponding Author

[1] J. Giacomoni, T. Moseley and M. Vachharajani: Fast forward for efficient pipeline parallelism: a cache-optimized concurrent lock-free queue, in Proceedings of the 13th ACM SIGPLAN Symposium on Principles and practice of parallel programming. (2008).

DOI: 10.1145/1345206.1345215

Google Scholar

[2] L. Lamport: Specifying concurrent program modules, ACM TOPLAS, vol. 5 (1983), no. 2. pp.190-222.

Google Scholar

[3] Artookit. [Online]. Available: http: /www. hitl. washington. edu/artoolkit.

Google Scholar

[4] Q. Zhao, I. Cutcutache and W. -F. Wong: Pipa: Pipelined profiling and analysis on multicore systems, ACM TACO, vol. 7 (2010), p.13: 1–13: 29.

DOI: 10.1145/1880037.1880038

Google Scholar

[5] D. Ansaloni, W. Binder, A. Heydarnoori and L. Y. Chen: Deferred methods: accelerating dynamic program analysis on multicores, in Proceedings of the Tenth International Symposium on Code Generation and Optimization, CGO '12. p.242–251. (2012).

DOI: 10.1145/2259016.2259048

Google Scholar