Semantics-Aware, Timely Prefetching of Linked Data Structure

Author(s):  
Gang Liu ◽  
Zhuo Huang ◽  
Jih-kwon Peir ◽  
Xudong Shi
Keyword(s):  
2021 ◽  
Vol 18 (3) ◽  
pp. 1-26
Author(s):  
Mustafa Cavus ◽  
Mohammed Shatnawi ◽  
Resit Sendag ◽  
Augustus K. Uht

Lookup operations for in-memory databases are heavily memory bound, because they often rely on pointer-chasing linked data structure traversals. They also have many branches that are hard-to-predict due to random key lookups. In this study, we show that although cache misses are the primary bottleneck for these applications, without a method for eliminating the branch mispredictions only a small fraction of the performance benefit is achieved through prefetching alone. We propose the Node Tracker (NT), a novel programmable prefetcher/pre-execution unit that is highly effective in exploiting inter key-lookup parallelism to improve single-thread performance. We extend NT with branch outcome streaming (BOS) to reduce branch mispredictions and show that this achieves an extra 3× speedup. Finally, we evaluate the NT as a pre-execution unit and demonstrate that we can further improve the performance in both single- and multi-threaded execution modes. Our results show that, on average, NT improves single-thread performance by 4.1× when used as a prefetcher; 11.9× as a prefetcher with BOS; 14.9× as a pre-execution unit and 18.8× as a pre-execution unit with BOS. Finally, with 24 cores of the latter version, we achieve a speedup of 203× and 11× over the single-core and 24-core baselines, respectively.


2014 ◽  
Vol 962-965 ◽  
pp. 2868-2871 ◽  
Author(s):  
Alexander V. Chekanin ◽  
Vladislav A. Chekanin

The actual in industry multidimensional orthogonal packing problem is considered in the article. Solution of a large number of different practical optimization problems, including resources saving problem, optimization problems in logistics, scheduling and planning comes down to the orthogonal packing problem which is NP-hard in strong sense. One of the indicators characterizing the efficiency of packing constructing algorithm is the efficiency of the used data structure. In the article a multilevel linked data structure that increases the speed of constructing of a packing is proposed. The carried out computational experiments show the high efficiency of the new data structure. Multilevel linked data structure is applicable for multidimensional orthogonal bin packing problems any kind.


2014 ◽  
Vol 598 ◽  
pp. 387-391 ◽  
Author(s):  
Vladislav A. Chekanin ◽  
Alexander V. Chekanin

The actual NP-completed orthogonal bin packing problem is considered in the article. In practice a solution of a large number of different practical problems, including problems in logistics and scheduling comes down to the bin packing problem. A decision of an any packing problem is represented as a placement string which contains a sequence of objects selected to pack. The article proposes a new multilevel linked data structure that improves the effectiveness of decoding of the placement string and as a consequence, increases the speed of packing generation. The new data structure is applicable for all multidimensional orthogonal bin packing problems.


Geophysics ◽  
2016 ◽  
Vol 81 (2) ◽  
pp. IM1-IM11 ◽  
Author(s):  
Xinming Wu ◽  
Dave Hale

Numerous methods have been proposed to automatically extract fault surfaces from 3D seismic images, and those surfaces are often represented by meshes of triangles or quadrilaterals. However, extraction of intersecting faults is still a difficult problem that is not well addressed. Moreover, mesh data structures are more complex than the arrays used to represent seismic images, and they are more complex than necessary for subsequent processing tasks, such as that of automatically estimating fault slip vectors. We have represented a fault surface using a simpler linked data structure, in which each sample of a fault corresponded to exactly one seismic image sample, and the fault samples were linked above and below in the fault dip directions, and left and right in the fault strike directions. This linked data structure was easy to exchange between computers and facilitated subsequent image processing for faults. We then developed a method to construct complete fault surfaces without holes using this simple data structure and to extract multiple intersecting fault surfaces from 3D seismic images. Finally, we used the same structure in subsequent processing to estimate fault slip vectors and to assess the accuracy of estimated slips by unfaulting the seismic images.


Sign in / Sign up

Export Citation Format

Share Document