Abstract

SummaryGiven an array of n elements and a value 2≤k≤n, a frequent item or k‐majority element is an element occurring in more than n/k times. The k‐majority problem requires finding all of the k‐majority elements. In this paper, we deal with parallel shared‐memory algorithms for frequent items; we present a shared‐memory version of the Space Saving algorithm, and we study its behavior with regard to accuracy and performance on many and multi‐core processors, including the Intel Phi accelerator. We also investigate a hybrid MPI/OpenMP version against a pure MPI‐based version. Through extensive experimental results, we prove that the MPI/OpenMP parallel version of the algorithm significantly enhances the performance of the earlier pure MPI version of the same algorithm. Results also prove that for this algorithm the Intel Phi accelerator does not introduce any improvement with respect to the Xeon octa–core processor.

Full Text
Published version (Free)

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call