OpenMP and POSIX threads implementation of Jerasure 2.0


ARSLAN Ş. Ş., Le H., Landman J., Goker T.

2017 IEEE International Black Sea Conference on Communications and Networking, BlackSeaCom 2017, İstanbul, Türkiye, 5 - 08 Haziran 2017, cilt.2018-January, ss.1-5, (Tam Metin Bildiri)

  • Yayın Türü: Bildiri / Tam Metin Bildiri
  • Cilt numarası: 2018-January
  • Doi Numarası: 10.1109/blackseacom.2017.8277690
  • Basıldığı Şehir: İstanbul
  • Basıldığı Ülke: Türkiye
  • Sayfa Sayıları: ss.1-5
  • Anahtar Kelimeler: erasure coding, multi-threading, OpenMP, POSIX, pthreads, reliability
  • Boğaziçi Üniversitesi Adresli: Hayır

Özet

In shared memory multiprocessor architectures, threads can be used to implement parallelism. POSIX threads (pthreads) is a low-level bare-bones programming interface for working with threads. Therefore, we have extremely fine-grained control over thread management (create/join/etc), mutexes, and so on. On the other hand, openMP, as a shared-memory standard, is much higher level and portable interface which makes it easier to use multi-threading capability and obtain satisfactory performance improvements. Since pthreads is more flexible, it helps programmers gain more control on performance optimizations. Jerasure 2.0 erasure coding library has encoding/decoding engines which comprise independent 'for' loop iterations and hence possess huge potential for multi-threaded processing. In this short paper, we investigate multi-threaded implementations of encoder/decoder pair of Jerasure 2.0 using two different technologies: OpenMP and pthreads. We constrain our changes to a minimum possible and compare the pure encoding/decoding performance with respect to each other as well as against that of the original single-threaded version by running them on two different server systems.