DSpace Repository

Data dependency reduction in dynamic programming matrix

Show simple item record

dc.contributor.advisor Chatchawit Aporntewan
dc.contributor.author Delgado, Guillermo
dc.contributor.other Chulalongkorn University. Faculty of Science
dc.date.accessioned 2013-07-02T06:17:51Z
dc.date.available 2013-07-02T06:17:51Z
dc.date.issued 2011
dc.identifier.uri http://cuir.car.chula.ac.th/handle/123456789/32713
dc.description Thesis (M.Sc.)--Chulalongkorn University, 2011 en_US
dc.description.abstract Dynamic Programming (DP) plays an important role in solving a large number of computational problems. As the number of cores per processor is increasing rapidly, new software must be capable of exploiting the advantages of multi-core architectures. A typical DP begins with constructing a matrix, and then calculating each element one by one. The standard parallelization spawns multiple threads, one for each row, while maintains the data dependency via thread synchronization. However, as the number of threads increase, the performance degrades due to data dependency. Herein, we proposed a novel method for calculating a DP matrix in parallel. In contrast to the standard method that always calculates from up to down and left to right, our method performs the calculation in multiple directions. Therefore, the wait time for data dependency is remarkably reduced. To demonstrate our method, a local sequence alignment algorithm called Smith-Waterman (SW) was chosen as an instance of DP. However, our method is not only limited to SW algorithm, but it is applicable to other DP problems that have similar patterns of data dependency. A comparison with the standard method was conducted on a HP Z800 workstation with a total of eight cores. The results show that our method performs significantly faster. en_US
dc.description.abstractalternative กำหนดการพลวัตมีบทบาทสำคัญในการแก้ปัญหาเชิงคำนวณจำนวนมาก ในขณะที่จำนวนคอร์ต่อโปรเซสเซอร์กำลังเพิ่มขึ้นอย่างรวดเร็ว ซอฟต์แวร์ใหม่ๆ ต้องสามารถใช้ประโยชน์จากข้อดีของสถาปัตยกรรมแบบมัลติคอร์ได้ โดยปกติกำหนดการพลวัตเริ่มจากการสร้างเมทริกซ์และคำนวณค่าในเมทริกซ์ไปทีละค่า การทำงานแบบขนานจะสร้างเธรดหนึ่งเธรดต่อหนึ่งแถว และรักษาการพึ่งพิงกันของข้อมูลด้วยการประสานเวลาของเธรด อย่างไรก็ตามเมื่อจำนวนเธรดเพิ่มขึ้นสมรรถนะจะลดลงเนื่องจากการพึ่งพิงกันของข้อมูล ในที่นี้เราเสนอวิธีใหม่สำหรับการคำนวณเมทริกซ์แบบขนาน ซึ่งตรงข้ามกับวิธีมาตรฐานที่คำนวณจากบนลงล่างและจากซ้ายไปขวาเท่านั้น วิธีที่เราเสนอนั้นทำในหลายทิศทาง ดังนั้นจะลดเวลาที่ใช้รอการพึ่งพิงกันของข้อมูลได้มาก เพื่อสาธิตการทำงานของวิธีที่เรานำเสนอ เราเลือกขั้นตอนวิธีการปรับแนวลำดับเฉพาะที่ แบบที่เรียกว่า สมิธ-วอเตอร์แมน ซึ่งเป็นปัญหากำหนดการพลวัตแบบหนึ่ง อย่างไรก็ตามวิธีของเราไม่ได้จำกัดแค่ขั้นตอนวิธีสมิธวอเตอร์แมน แต่ใช้กับปัญหากำหนดการพลวัตอื่นๆ ที่มีรูปแบบคล้ายกันได้ด้วย การเปรียบเทียบกับวิธีมาตรฐานบนสถานีงาน HP Z800 ที่มี 8 คอร์แสดงให้เห็นว่าวิธีที่เรานำเสนอทำงานได้เร็วกว่าอย่างมีนัยยะสำคัญ en_US
dc.language.iso en en_US
dc.publisher Chulalongkorn University en_US
dc.relation.uri http://doi.org/10.14457/CU.the.2011.1362
dc.rights Chulalongkorn University en_US
dc.subject Dynamic programming en_US
dc.subject Computer arithmetic en_US
dc.subject การโปรแกรมพลศาสตร์
dc.subject การคำนวณของคอมพิวเตอร์
dc.title Data dependency reduction in dynamic programming matrix en_US
dc.title.alternative การลดการพึ่งพิงกันของข้อมูลในเมทริกซ์กำหนดการพลวัต en_US
dc.type Thesis en_US
dc.degree.name Master of Science en_US
dc.degree.level Master's Degree en_US
dc.degree.discipline Mathematics en_US
dc.degree.grantor Chulalongkorn University en_US
dc.email.advisor Chatchawit.A@Chula.ac.th
dc.identifier.DOI 10.14457/CU.the.2011.1362


Files in this item

This item appears in the following Collection(s)

Show simple item record