Scientific Research and Essays

  • Abbreviation: Sci. Res. Essays
  • Language: English
  • ISSN: 1992-2248
  • DOI: 10.5897/SRE
  • Start Year: 2006
  • Published Articles: 2768

Full Length Research Paper

Load balancing parallelizing XML query processing based on shared cache chip multi-processor (CMP)

  Wanli Zuo1*, Yongheng Chen1,2, Fengling He1,2 and Kerui Chen1,2
1College of Computer Science and Technology, Jilin University, Changchun, 130012, China.   2Key Laboratory of Symbolic Computation and Knowledge Engineering of the Ministry of Education, Jilin University, China.  
Email: [email protected]

  •  Accepted: 27 June 2011
  •  Published: 30 September 2011

Abstract

 

 

Chip multi-processor (CMP) could support more than two threads to execute simultaneously, and some executing units are owned by each core. Based on CMP, this paper proposes a novel and complete optimization framework on parallelism for XML database multithreaded query processing that strives for maximum resource utilization. Firstly, a set of algorithms for constructing the parallel sub-query plans and partitioning XML document by parallel sub-query plans are proposed. Furthermore, in order to reduce cache access conflict and address the imbalance of threads’ workload, we refine the granularity of partitioned XML document and balance the workload assignment by executive pairs for the unit. Finally, by building the execution plan tree of sub-query plans constructed, the partial solution produced by parallel sub-query plans are merged into final solution. Our theoretical analysis and empirical evaluation show that the proposed algorithm could impressively improve in the performance of XML query processing.

 

Key words: Chip multi-processor, parallel query processing, XML query optimization.

 

Abbreviation

Abbreviations: CMP, Chip multi-processor; XML, extensible markup language; CPUs, central processing units; PL, predicate node to the linear node; LL, linear node to the linear node.