ResearchTrend.AI
  • Papers
  • Communities
  • Events
  • Blog
  • Pricing
Papers
Communities
Social Events
Terms and Conditions
Pricing
Parameter LabParameter LabTwitterGitHubLinkedInBlueskyYoutube

© 2025 ResearchTrend.AI, All rights reserved.

  1. Home
  2. Papers
  3. 1508.01504
26
67

Resource Oblivious Sorting on Multicores

6 August 2015
R. Cole
V. Ramachandran
ArXivPDFHTML
Abstract

We present a deterministic sorting algorithm, SPMS (Sample, Partition, and Merge Sort), that interleaves the partitioning of a sample sort with merging. Sequentially, it sorts nnn elements in O(nlog⁡n)O(n \log n)O(nlogn) time cache-obliviously with an optimal number of cache misses. The parallel complexity (or critical path length) of the algorithm is O(log⁡n⋅log⁡log⁡n)O(\log n \cdot \log\log n)O(logn⋅loglogn), which improves on previous bounds for optimal cache oblivious sorting. The algorithm also has low false sharing costs. When scheduled by a work-stealing scheduler in a multicore computing environment with a global shared memory and ppp cores, each having a cache of size MMM organized in blocks of size BBB, the costs of the additional cache misses and false sharing misses due to this parallel execution are bounded by the cost of O(S⋅M/B)O(S\cdot M/B)O(S⋅M/B) and O(S⋅B)O(S \cdot B)O(S⋅B) cache misses respectively, where SSS is the number of steals performed during the execution. Finally, SPMS is resource oblivious in Athat the dependence on machine parameters appear only in the analysis of its performance, and not within the algorithm itself.

View on arXiv
Comments on this paper