AI Chat Paper
Note: Please note that the following content is generated by AMiner AI. SciOpen does not take any responsibility related to this content.
{{lang === 'zh_CN' ? '文章概述' : 'Summary'}}
{{lang === 'en_US' ? '中' : 'Eng'}}
Chat more with AI
PDF (2.6 MB)
Collect
Submit Manuscript AI Chat Paper
Show Outline
Outline
Show full outline
Hide outline
Outline
Show full outline
Hide outline
Research Article | Open Access

Fast OBJ file importing and parsing in CUDA

James Cook University, PO Box 6811, Cairns, QLD 4870, Australia.
Show Author Information

Abstract

Alias – Wavefront OBJ meshes are a common text file type for transferring 3D mesh data between applications made by different vendors. However, as the mesh complexity gets higher and denser, the files become larger and slower to import. This paper explores the use of GPUs to accelerate the importing and parsing of OBJ files by studying file read-time, runtime, and load resistance. We propose a new method of reading and parsing that circumvents GPU architecture limitations and improves performance, seeing the new GPU method outperforms CPU methods with a 6×–8× speedup. When running on a heavily loaded system, the new method only received an 80% performance hit, compared to the 160% that the CPU methods received. The loaded GPU speedup compared to unloaded CPU methods was 3.5×, and, when compared to loaded CPU methods, 8×. These results demonstrate that the time is right for further research into the use of data-parallel GPU acceleration beyond that of computer graphics and high performance computing.

References

[1]
Nyland L.; Harris M.; Prins J. Chapter 31. Fast N-body simulation with CUDA. In: GPU Gems 3, 677-696, 2007.
[2]
Rinaldi P. R.; Dari E. A.; Vénere M. J.; Clausse A. A lattice-Boltzmann solver for 3D fluid simulation on GPU. Simulation Modelling Practice and Theory Vol. 25, 163-171, 2012.
[3]
Stone J. E.; Hardy D. J.; Ufimtsev I. S.; Schulten K. GPU-accelerated molecular modeling coming of age. Journal of Molecular Graphics and Modelling Vol. 29, No. 2, 116-125, 2010.
[4]
Hall D.; Berg-Kirkpatrick T.; Canny J.; Klein D. Sparser, better, faster GPU parsing. In: Proceedings of the 52nd Annual Meeting of the Association for Computational Linguistics, Vol. 1, 208-217, 2014.
[5]
Johnson M. Parsing in parallel on multiple cores and GPUs. In: Proceedings of the Australasian Language Technology Association Workshop, 29-37, 2011.
[6]
Silberstein M.; Ford B.; Keidar I.; Witchel E. GPUfs: Integrating a file system with GPUs. ACM Transactions on Computer Systems Vol. 32, No. 1, Article No. 1, 2014.
[7]
Bakkum P.; Skadron K. Accelerating SQL database operations on a GPU with CUDA. In: Proceedings of the 3rd Workshop on General-Purpose Computation on Graphics Processing Units, 94-103, 2010.
[8]
Si X.; Yin A.; Huang X.; Yuan X.; Liu X.; Wang G. Parallel optimization of queries in XML dataset using GPU. In: Proceedings of 2011 Fourth International Symposium on Parallel Architectures, Algorithms and Programming, 190-194, 2011.
[9]
Du P.; Weber R.; Luszczek P.; Tomov S.; Peterson G.; Dongarra J. From CUDA to OpenCL: Towards a performance-portable solution for multi-platform GPU programming. Parallel Computing Vol. 38, No. 8, 391-407, 2012.
[10]
Keutzer K.; Massingill B. L.; Mattson T. G.; Sanders B. A. A design pattern language for engineering (parallel) software: Merging the PLPP and OPL projects. In: Proceedings of the 2010 Workshop on Parallel Programming Patterns, Article No. 9, 2010.
[11]
Ghorpade J.; Parande J.; Kulkarni M.; Bawaskar A. GPGPU processing in CUDA architecture. Advanced Computing: An International Journal Vol. 3, No. 1, 105-120, 2012.
[12]
Heath M. T. A tale of two laws. International Journal of High Performance Computing Applications Vol. 29, No. 3, 320-330, 2015.
[13]
Hill M. D.; Marty M. R. Amdahl's law in the multicore era. Computer Vol. 41, No. 7, 33-38, 2008.
[14]
Murray J. D.; vanRyper W. Encyclopedia of Graphics File Formats, 2nd ednO'Reilly Media, 1996.
Computational Visual Media
Pages 229-238
Cite this article:
Possemiers AL, Lee I. Fast OBJ file importing and parsing in CUDA. Computational Visual Media, 2015, 1(3): 229-238. https://doi.org/10.1007/s41095-015-0021-5

839

Views

62

Downloads

4

Crossref

N/A

Web of Science

4

Scopus

0

CSCD

Altmetrics

Revised: 25 August 2015
Accepted: 29 August 2015
Published: 06 November 2015
© The Author(s) 2015

This article is published with open access at Springerlink.com

This article is distributed under the terms of the Creative Commons Attribution License which permits any use, distribution, and reproduction in any medium, provided the original author(s) and the source are credited.

Other papers from this open access journal are available free of charge from http://www.springer.com/journal/41095. To submit a manuscript, please go to https://www.editorialmanager.com/cvmj.

Return