Abstract
The multi-thread programming is a widely used approach to build high performance parallel and distributed applications. The massive spreading in recent years of processors containing multiple independent cores that can operate independently is a prerequisite for the development of multi-threaded model. The software developer must be able to choose different functionality of multi-threaded libraries depending on the specifics of the various tasks to solve. The paper presents the features of the implementation of general-purpose hybrid multi-threaded library under Linux, which allows running both in user and kernel-space mode. A comparative analysis of performance with Linux library pthreads is performed. The results indicate that the presented library has reached identical, and in certain cases - high performance.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
References
Carver, R., Tai, K.: Modern Multithreading. Wiley Inc., Hoboken (2008)
Haldar, S., Aravind, A.: Operating Systems. Dorling Kindersley Ltd., New Delhi (2010)
Rauber, T., Runger, G.: Parallel Programming for Multicore and Cluster Systems. Springer, Heidelberg (2013)
Sandem, B.: Design of Multithreaded Software. Wiley Inc., Chichester (2010)
Engelschall, R.: Portable multithreading. The signal stack trick for user-space thread creation. In: Proceedings of 2000 USENIX Annual Technical Conference, pp. 18–23 (2000)
IBM Corporation. Next Generation POSIX Threading, November 2002
Love, R.: Linux System Programming. O’Reilly, Sebastopol (2013)
Leroy, X.: The Linux Threads Library (2017). http://pauillac.inria.fr/~xleroy/
Native Posix Thread Library. http://people.redhat.com/drepper/nptl-design.pdf
Ljumovic, M.: C ++ Multithreading Cookbook. Packt Publishing, Birmingham (2014)
OpenMP (2017). http://www.openmp.org/
Intel Threading Building Blocks (2017). https://www.threadingbuildingblocks.org/
Futex Semantics and Usage (2017). http://man7.org/linux/man-pages/man7/futex.7.html
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2018 Springer International Publishing AG
About this paper
Cite this paper
Valchanov, H., Andreev, S. (2018). Multithreaded Hybrid Library. In: Abraham, A., Kovalev, S., Tarassov, V., Snasel, V., Vasileva, M., Sukhanov, A. (eds) Proceedings of the Second International Scientific Conference “Intelligent Information Technologies for Industry” (IITI’17). IITI 2017. Advances in Intelligent Systems and Computing, vol 680. Springer, Cham. https://doi.org/10.1007/978-3-319-68324-9_26
Download citation
DOI: https://doi.org/10.1007/978-3-319-68324-9_26
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-319-68323-2
Online ISBN: 978-3-319-68324-9
eBook Packages: EngineeringEngineering (R0)