chunked extendible dense arrays for scientific data
play

Chunked Extendible Dense Arrays for Scientific Data Storage G. - PowerPoint PPT Presentation

Chunked Extendible Dense Arrays for Scientific Data Storage G. Nimako, E.J. Otoo, D. Ohene-Kwofie School of Computer Science The University of the Witwatersrand Johannesburg, South Africa Fifth International Workshop on Parallel Programming


  1. Chunked Extendible Dense Arrays for Scientific Data Storage G. Nimako, E.J. Otoo, D. Ohene-Kwofie School of Computer Science The University of the Witwatersrand Johannesburg, South Africa Fifth International Workshop on Parallel Programming Models and Systems Software for High-End Computing (P2S2) September 2012 G. Nimako, E.J. Otoo, D. Ohene-Kwofie School of Computer Science The University of the Witwatersrand Chunked Extendible Dense Arrays for Scientific Data StorageSeptember 2012 1 / 25

  2. Outline Introduction 1 Linear Mapping for a Dense Extendible Array 2 Chunking Extendible Dense Arrays 3 Axial-Vectors as Memory Resident O 2 -Tree 4 Experimental Results 5 Summary and Future Work 6 G. Nimako, E.J. Otoo, D. Ohene-Kwofie School of Computer Science The University of the Witwatersrand Chunked Extendible Dense Arrays for Scientific Data StorageSeptember 2012 2 / 25

  3. Introduction Multidimensional arrays has been proposed as the most appropriate model for representing scientific databases. Scientific data analysis use multidimensional arrays as their fundamental data structure. Examples of Array Files : HDF/HDF5 and variants NetCDF/pNetCDF FITS Global Array toolkit SciDB is being organised around multidimensional array storage. The problem is that such datasets gradually grow to massive sizes of the order of peta-bytes. G. Nimako, E.J. Otoo, D. Ohene-Kwofie School of Computer Science The University of the Witwatersrand Chunked Extendible Dense Arrays for Scientific Data StorageSeptember 2012 3 / 25

  4. Introduction Multidimensional arrays has been proposed as the most appropriate model for representing scientific databases. Scientific data analysis use multidimensional arrays as their fundamental data structure. Examples of Array Files : HDF/HDF5 and variants NetCDF/pNetCDF FITS Global Array toolkit SciDB is being organised around multidimensional array storage. The problem is that such datasets gradually grow to massive sizes of the order of peta-bytes. G. Nimako, E.J. Otoo, D. Ohene-Kwofie School of Computer Science The University of the Witwatersrand Chunked Extendible Dense Arrays for Scientific Data StorageSeptember 2012 3 / 25

  5. Introduction Multidimensional arrays has been proposed as the most appropriate model for representing scientific databases. Scientific data analysis use multidimensional arrays as their fundamental data structure. Examples of Array Files : HDF/HDF5 and variants NetCDF/pNetCDF FITS Global Array toolkit SciDB is being organised around multidimensional array storage. The problem is that such datasets gradually grow to massive sizes of the order of peta-bytes. G. Nimako, E.J. Otoo, D. Ohene-Kwofie School of Computer Science The University of the Witwatersrand Chunked Extendible Dense Arrays for Scientific Data StorageSeptember 2012 3 / 25

  6. Introduction Multidimensional arrays has been proposed as the most appropriate model for representing scientific databases. Scientific data analysis use multidimensional arrays as their fundamental data structure. Examples of Array Files : HDF/HDF5 and variants NetCDF/pNetCDF FITS Global Array toolkit SciDB is being organised around multidimensional array storage. The problem is that such datasets gradually grow to massive sizes of the order of peta-bytes. G. Nimako, E.J. Otoo, D. Ohene-Kwofie School of Computer Science The University of the Witwatersrand Chunked Extendible Dense Arrays for Scientific Data StorageSeptember 2012 3 / 25

  7. Introduction - Problem Motivation k -dimensional arrays represented in linear consecutive locations cannot extend without reallocation of already stored elements. Definition A realisation of the array A [ U 0 ][ U 1 ] ... [ U k − 1 ] in L [ n ] for n = ∏ k − 1 j = 0 U j , is a mapping function , F : U k → L , of the elements of A, one-to-one, onto the address, { 0, 1, ..., n } with F ( 0, 0, ..., 0 ) = 0. Row major realisation q = F ( i 0 , i 1 , i 2 , ..., i k − 1 ) = s 0 + i 0 C 0 + i 1 C 1 + ... + i k − 1 C k − 1 k − 1 C j = ∏ U r , 0 ≤ j ≤ k − 1, C k − 1 = 1 r = j + 1 The limitation imposed by F () is that extensions of the array can only be done on one dimension (i.e. that is dimension U 0 since it was not used in the evaluation of F () ). G. Nimako, E.J. Otoo, D. Ohene-Kwofie School of Computer Science The University of the Witwatersrand Chunked Extendible Dense Arrays for Scientific Data StorageSeptember 2012 4 / 25

  8. Introduction - Problem Motivation k -dimensional arrays represented in linear consecutive locations cannot extend without reallocation of already stored elements. Definition A realisation of the array A [ U 0 ][ U 1 ] ... [ U k − 1 ] in L [ n ] for n = ∏ k − 1 j = 0 U j , is a mapping function , F : U k → L , of the elements of A, one-to-one, onto the address, { 0, 1, ..., n } with F ( 0, 0, ..., 0 ) = 0. Row major realisation q = F ( i 0 , i 1 , i 2 , ..., i k − 1 ) = s 0 + i 0 C 0 + i 1 C 1 + ... + i k − 1 C k − 1 k − 1 C j = ∏ U r , 0 ≤ j ≤ k − 1, C k − 1 = 1 r = j + 1 The limitation imposed by F () is that extensions of the array can only be done on one dimension (i.e. that is dimension U 0 since it was not used in the evaluation of F () ). G. Nimako, E.J. Otoo, D. Ohene-Kwofie School of Computer Science The University of the Witwatersrand Chunked Extendible Dense Arrays for Scientific Data StorageSeptember 2012 4 / 25

  9. Introduction - Problem Motivation This extendibility limitation degrades performance of various array operations particularly in scientific and engineering applications that sometimes undergo interleaved extensions. For example, some data processing applications require incremental tiling of adjacent scenes and progressive inclusion of selected bands. Extendible arrays, on the other hand can handle dynamic growth in the bounds of the dimensions. These arrays can expand in any dimension without reorganising already allocated array element G. Nimako, E.J. Otoo, D. Ohene-Kwofie School of Computer Science The University of the Witwatersrand Chunked Extendible Dense Arrays for Scientific Data StorageSeptember 2012 5 / 25

  10. Outline Introduction 1 Linear Mapping for a Dense Extendible Array 2 Chunking Extendible Dense Arrays 3 Axial-Vectors as Memory Resident O 2 -Tree 4 Experimental Results 5 Summary and Future Work 6 G. Nimako, E.J. Otoo, D. Ohene-Kwofie School of Computer Science The University of the Witwatersrand Chunked Extendible Dense Arrays for Scientific Data StorageSeptember 2012 6 / 25

  11. Linear Mapping for a Dense Extendible Array The mapping function for extendible array uses axial-vectors to store information needed to compute the function. A vector-list of axial-vectors is maintain for each dimension. Let A [ U ∗ 0 ][ U ∗ 1 ][ U ∗ 2 ] be an arbitrary 3-dimensional array, where U ∗ j denotes the bound that has the ability to grow as opposed to a fixed bound U j as in the conventional array. Similarly we employ the notation: F () when referring to conventional array mapping function. F ∗ () when referring to a mapping function that allows extendibility in any dimension G. Nimako, E.J. Otoo, D. Ohene-Kwofie School of Computer Science The University of the Witwatersrand Chunked Extendible Dense Arrays for Scientific Data StorageSeptember 2012 7 / 25

  12. Linear Mapping for a Dense Extendible Array The mapping function for extendible array uses axial-vectors to store information needed to compute the function. A vector-list of axial-vectors is maintain for each dimension. Let A [ U ∗ 0 ][ U ∗ 1 ][ U ∗ 2 ] be an arbitrary 3-dimensional array, where U ∗ j denotes the bound that has the ability to grow as opposed to a fixed bound U j as in the conventional array. Similarly we employ the notation: F () when referring to conventional array mapping function. F ∗ () when referring to a mapping function that allows extendibility in any dimension G. Nimako, E.J. Otoo, D. Ohene-Kwofie School of Computer Science The University of the Witwatersrand Chunked Extendible Dense Arrays for Scientific Data StorageSeptember 2012 7 / 25

  13. Linear Mapping for a Dense Extendible Array - Illustration G. Nimako, E.J. Otoo, D. Ohene-Kwofie School of Computer Science The University of the Witwatersrand Chunked Extendible Dense Arrays for Scientific Data StorageSeptember 2012 8 / 25

  14. Linear Mapping for a Dense Extendible Array - Illustration G. Nimako, E.J. Otoo, D. Ohene-Kwofie School of Computer Science The University of the Witwatersrand Chunked Extendible Dense Arrays for Scientific Data StorageSeptember 2012 8 / 25

  15. Linear Mapping for a Dense Extendible Array Suppose that in a k -dimensional extendible array A [ U ∗ 0 ][ U ∗ 1 ][ U ∗ 2 ] ... [ U ∗ k − 1 ] , dimension l is extended by λ l , then the index range increases from U ∗ l to U ∗ l + λ l . Let the location A � 0, 0, ..., U ∗ l , ..., 0 � (i.e. the starting location of an l = ∏ k − 1 l where Z ∗ r = 0 U ∗ allocated hyperslab ) be denoted as ℓ Z ∗ r . The Mapping Function k − 1 q ∗ = F ∗ ( � i 0 , i 1 , i 2 , ..., i k − 1 � )) = Z 0 l + ( i l − U ∗ l ) C ∗ i j C ∗ l + ∑ U ∗ j j = 0 j � = l k − 1 C ∗ U ∗ ∏ l = j j = 0 j � = l k − 1 C ∗ U ∗ ∏ j = r r = j + 1 r � = l G. Nimako, E.J. Otoo, D. Ohene-Kwofie School of Computer Science The University of the Witwatersrand The limitation imposed by F () is that extensions of the array can Chunked Extendible Dense Arrays for Scientific Data StorageSeptember 2012 9 / 25

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend