DOI QR코드

DOI QR Code

Parallel Computation for Extended Edit Distances Using the Shared Memory on GPU

GPU의 공유메모리를 활용한 확장편집거리 병렬계산

  • 김영호 (인하대학교 컴퓨터정보공학과) ;
  • 나중채 (세종대학교 컴퓨터공학과) ;
  • 심정섭 (인하대학교 컴퓨터정보공학과)
  • Received : 2015.02.16
  • Accepted : 2015.05.07
  • Published : 2015.07.31

Abstract

Given two strings X and Y (|X|=m, |Y|=n) over an alphabet ${\Sigma}$, the extended edit distance between X and Y can be computed using dynamic programming in O(mn) time and space. Recently, a parallel algorithm that takes O(m+n) time and O(mn) space using m threads to compute the extended edit distance between X and Y was presented. In this paper, we present an improved parallel algorithm using the shared memory on GPU. The experimental results show that our parallel algorithm runs about 19~25 times faster than the previous parallel algorithm.

알파벳 ${\Sigma}$로 구성된 길이가 각각 m, n인 두 문자열 X, Y가 주어졌을 때, X, Y의 확장편집거리는 동적프로그래밍을 이용하여 O(mn) 시간과 공간을 계산할 수 있다. 최근 m개의 쓰레드를 이용하여 O(m+n) 시간과 O(mn) 공간을 사용하여 X, Y의 확장편집거리를 계산하는 병렬알고리즘이 제시되었다. 본 논문에서는 GPU의 공유메모리를 활용하여 수행시간을 개선한 병렬알고리즘을 제시한다. 실험 결과, 개선된 병렬알고리즘이 기존의 병렬알고리즘보다 약 19~25배 이상 빠른 수행시간을 보였다.

Keywords

References

  1. R. Baeza-Yates, G. Navarro, "Fast approximate string matching in a dictionary," Proc. South Am. Symp. String Proc. Information Retrieval (SPIR '98), pp.14-22, 1998.
  2. S. Forrest, A. S. Perelson, L. Allen, and R. Cherukuri, "Self-nonself discrimination in a computer," Proc. of the IEEE Symposium on Research in Security and Privacy, pp.202-212, 1994.
  3. M. Roesch, "Snort-Lightweight Intrusion Detection for Networks," in Proceedings of the 13th Conference on Systems Administration(LISA '99), pp.229-238, 1999.
  4. T. F. Smith, M. S. Waterman, "Identification of Common Molecular Subsequences," Journal of molecular biology, Vol.147, No.1, pp.195-197, 1981. https://doi.org/10.1016/0022-2836(81)90087-5
  5. W. Liu, B. Schmidt, G. Voss, A. Schroder, and W. Muller-Wittig, "Bio-Sequence Database Scanning on a GPU," 20th IEEE International Parallel & Distributed Processing Symposium (IPDPS 2006) (HICOMB Workshop), Rhode Island, Greece, 2006.
  6. R. A. Wagner, "On the complexity of the extended stringto-string correction problem," Proc. of seventh annual ACM symposium on Theory of computing, pp.218-223, 1975.
  7. R. Lowrance, R. A. Wagner, "An extension of the string-to-string correction problem," Journal of the ACM, Vol.22, No.2, pp.177-183, 1975. https://doi.org/10.1145/321879.321880
  8. D. K. Kim, J. S. Lee, K. Park, and Y. Cho, "Efficient algorithms for approximate string matching with swaps," Journal of complexity, Vol.15, No.1, pp.128-147, 1999. https://doi.org/10.1006/jcom.1998.0497
  9. H. C. Yoon, J. S. Sim, "Parallel Construction for the Graph Model of the Longest Common Non-superstring using CUDA," Journal of the KIISE, Vol.39, No.3, pp.202-208, 2012.
  10. D. W. Kang, Y. Kim, and J. S. Sim, "Parallel Computation for Extended Edit Distances Including Swap Operations," Journal of KIISE: Computer Systems and Theory, Vol.41, No.4, pp.175-181, 2014.
  11. D. Kirk, W. W. Hwu, Lectures 5 and 6: Memory model and Locality [Internet], https://courses.engr.illinois.edu/ece408/Lectures.html.