Skip to main content

On Mapping the Sorted-Set Intersection Problem onto a Graphics Processing Unit

  • Conference paper
  • First Online:
Intelligent Technologies and Engineering Systems

Part of the book series: Lecture Notes in Electrical Engineering ((LNEE,volume 234))

  • 1890 Accesses

Abstract

The sorted-set intersection problem is important because it plays a key role in many algorithms. Instead of processing multiple short sorted-set intersections concurrently in previous work, this work focuses on how to efficiently find the intersection from two long sorted sets using emerging general-purpose graphics processing units (GPUs). We have implemented and evaluated four different algorithms to solve the set intersection problem. According to the experimental results, we identify which algorithm is the best choice based on the problem size.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 259.00
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 329.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info
Hardcover Book
USD 329.99
Price excludes VAT (USA)
  • Durable hardcover edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

References

  1. Barbay J, Lopez-Ortiz A, Lu T (2006) Faster adaptive set intersections for text searching. In: WEA 2006. Springer, Berlin/New York, pp 146–157

    Google Scholar 

  2. Barbay J, Lopez-Ortiz A, Lu T, Salinger A (2010) An experimental investigation of set intersection algorithms for text searching. J Exp Algorithm 14(7):3.7–3.24

    Google Scholar 

  3. Demaine ED, Lopez-Ortiz A, Munro JI (2000) Adaptive set intersections, unions, and differences. In: SODA, Philadelphia, 2000, pp 743–752

    Google Scholar 

  4. Ding B, Konig AC (2011) Fast set intersection in memory. In: Proceeding of the VLDB Endow, Seattle, 2011, vol 4, pp 255–266

    Google Scholar 

  5. Hwang FK, Lin S (1972) A simple algorithm for merging two disjoint linearly-ordered sets. SIAM J Comput 1:31–39

    Article  MathSciNet  MATH  Google Scholar 

  6. Sanders P, Transier F (2007) Intersection in integer inverted indices. In: ALENEX. SIAM, Philadelphia, 2007

    Google Scholar 

  7. Tatikonda S, Junqueira F, Cambazoglu BB, Plachouras V (2009) On efficient posting list intersection with multicore processors. In: SIGIR ’09, New York, 2009, pp 738–739

    Google Scholar 

  8. Tsirogiannis D, Guha S, Koudas N (2009) Improving the performance of list intersection. In: Proceedings of the VLDB Endow, Lyon, Aug 2009, vol 2, pp 838–849

    Google Scholar 

  9. Ao N, Zhang F, Wu D, Stones DS, Wang G, Liu X, Liu J, Lin S (2011) Efficient parallel lists intersection and index compression algorithms using graphics processing units. In: VLDB, Seattle, 5 Jan 2011

    Google Scholar 

  10. Ding S, He J, Yan H, Suel T (2008) Using graphics processors for high-performance IR query processing. In: WWW, New York, 2008, pp 1213–1214

    Google Scholar 

  11. Wu D, Zhang F, Ao N, Wang F, Liu X, Wang G (2009) A batched GPU algorithm for set intersection. In: Symposium on pervasive systems, algorithms, and networks, ISPAN ’09, Washington, DC, 2009, pp 752–756

    Google Scholar 

  12. Wu D, Zhang F, Ao N, Wang G, Liu X, Liu J (2010) Efficient lists intersection by CPU-GPU cooperative computing. In: IPDPS workshops. IEEE, Atlanta, 2010, pp 1–8

    Google Scholar 

Download references

Acknowledgment

The authors would like to thank the National Science Council, Taiwan, for financially supporting this research under Contract No. NSC101-2221-E-018-030.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Chao-Chin Wu .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2013 Springer Science+Business Media New York

About this paper

Cite this paper

Jhan, SS., Huang, LT., Lai, LF., Wei, KC., Wei, TY., Wu, CC. (2013). On Mapping the Sorted-Set Intersection Problem onto a Graphics Processing Unit. In: Juang, J., Huang, YC. (eds) Intelligent Technologies and Engineering Systems. Lecture Notes in Electrical Engineering, vol 234. Springer, New York, NY. https://doi.org/10.1007/978-1-4614-6747-2_19

Download citation

  • DOI: https://doi.org/10.1007/978-1-4614-6747-2_19

  • Published:

  • Publisher Name: Springer, New York, NY

  • Print ISBN: 978-1-4614-6746-5

  • Online ISBN: 978-1-4614-6747-2

  • eBook Packages: EngineeringEngineering (R0)

Publish with us

Policies and ethics