Hardware Accelerated Parallel Speculative XML Parser

Author
ZhangShaoBin
Advisor
HuTongSen , TianXianZhong
School
Zhejiang University of Technology
Major
Applied Computer Technology
Classification
TP311.10 Programming
Degree
Master's thesis
Year
2012
Downloads
31
Citations
0

Request the full text

Abstract

The extensible markup language XML is a standard information representation tool and playing an increasing important role in many fields, like database and web services. XML parsing is a core task and has great influence on XML applications’performance. Almost all of the commercial XML parsers are software implemented and run in serial. In order to accelerate XML parsing, parallel XML parsing method is introduced. Currently, traditional processors can not meet the needs of software applications, so use hardware as a coprocessor can increase performance. Some researchers presented that an FPGA implemented XML parser, and it parses XML document in sequence. However, it does not make full use of hardware’s highly parallel advantage, thus it increases limited performance.In this paper, a parallel speculative XML parsing method is presented, and it can accelerate XML parsing with fine granularity parallelism. A sub-XML document partition algorithm is presented which can divide a XML document into several sub documents and each sub document will be parsed in parallel. Under the situation that the correctness of XML document’s well-formed checking and schema validation is unknown, a speculative DOM-tree is built in memory in order to increase performance.The parallel speculative Dom-based XML parser (PSDXP) includes parallel well-formed checking, parallel DOM-tree construct and parallel schema validation. Our PSDXP runs on 125 MHZ frequency. The PSDXP is implemented of FPGA both with two processes parallelism and four processes parallelism on a Xilinx Virtex-5 board. The hardware resource usage of PSDXPx2 is 5% Slice Register, 9% Slice LUT and 8% Block RAM. It has 2.657 times Slice Register and 2.639 times than XPA. The hardware resource usage of PSDXPx4 is 11% Slice Register, 19% Slice LUT and 17% Block RAM. It has 6.416 times Slice Register and 5.895 times than XPA.The PSDXP is compared with other two XML parsers, one is software implemented (RapidXML) and the other one is FPGA implemented (XPA). PSDXP and XPA run on 125 MHZ, RapidXML runs on 3.16 GHZ. Experimental results show that PSDXPx4 has 1.342 times better than RapidXML in metric of Gbps and 36 times in metric of CPB. And PSDXPx4 has 4 times better than XPA both in metrics of Gbps and CPB. Thus, the parallel speculative XML parsing architecture this paper proposed is better than other XML parsers in performance, and the resource usage is not so much, also with good scalability.

Related dissertations

  1. Study and Realization on Key Technologies of an Embedded Database
    JiangLin ·Donghua University ·2007 ·Master's thesis
  2. Research on the Key Technology of Orthophoto Map Prodution Based on Stereo Pair
  3. Design of Environment Monitoring System for Power Supply in Mobile Communication Base Station of Hunan Telecom
    XuZuoFang ·Hunan University ·2013 ·Master's thesis
  4. Optical Fiber Perimeter Alarm System Based on DSP and FPGA
  5. Design and Implementation of the Engineering Machinery Color Monitor System Based on FPGA+MCU
    LiuWen ·Xiangtan University ·2013 ·Master's thesis
  6. Digital Electrical Impedance Tomography Hardware System Design Based on FPGA
  7. Study on Magnetic Flux Leakage Testing System of Rail Based on FPGA
  8. Digital Cross Section Data Acquisition System Based on Industrial Standard System Bus
    ZhangZhiQiang ·Tianjin University ·2009 ·Master's thesis
  9. Research of Dual Chanel High Speed Data Acquisition Card
    DanGuangXing ·Harbin Institute of Technology ·2012 ·Master's thesis
  10. Design and Implementation of FPGA-Based Six-Channel Non-Crosstalk Sonar System
    ZuoJiaLin ·Tianjin University ·2012 ·Master's thesis
  11. The Realization of Quality Detection System of Cataplasm Coating Based on FPGA
    LiuRongPeng ·Tianjin University ·2012 ·Master's thesis
  12. Design of Remote Strain Measurement System Based on FGPA
    LiuNanNan ·Harbin Engineering University ·2013 ·Master's thesis
  13. The Design of Digital Ultrasonic Nondestructive Testing System
  14. Design and Implementation of High Speed Data Recorder Based on FPGA
  15. Design of the High-speed Data Acquisition System Based on USB Interface
    LiuYu ·Harbin Engineering University ·2013 ·Master's thesis
  16. Design and Implementation of Four Channels High Speed Synchronous Sampling in Sound Source Localization System
    ZhengZuo ·Hebei University of Technology ·2013 ·Master's thesis
  17. Design and Application of Linear Array Image Acquisition System Based on Compressed Sensing
    XieJiaZu ·Tianjin Normal University ·2013 ·Master's thesis
  18. The Design and Research of PCI Data Acquisition Card Based on FPGA
  19. Usb Without Invasive Data Collection Technology Research
  20. Research on On-line Diameter Measurement System Based on FPGA