• DocumentCode
    2092004
  • Title

    hashFS: Applying Hashing to Optimize File Systems for Small File Reads

  • Author

    Lensing, Paul ; Meister, Dirk ; Brinkmann, André

  • Author_Institution
    Paderborn Center for Parallel Comp., Univ. Paderborn, Paderborn, Germany
  • fYear
    2010
  • fDate
    3-3 May 2010
  • Firstpage
    33
  • Lastpage
    42
  • Abstract
    Today´s file systems typically need multiple disk accesses for a single read operation of a file. In the worst case, when none of the needed data is already in the cache, the metadata for each component of the file path has to be read in. Once the metadata of the file has been obtained, an additional disk access is needed to read the actual file data. For a target scenario consisting almost exclusively of reading small files, which is typical in many Web 2.0 scenarios, this behavior severely impacts read performance. In this paper, we propose a new file system approach, which computes the expected location of a file using a hash function on the file path. Additionally, file metadata is stored together with the actual file data. Together, these characteristics allow a file to be read in with only a single disk access. The introduced approach is implemented extending the ext2 file system and stays very compatible with the Posix semantics. The results show very good random read performance nearly independent of the organization and size of the file set or the available cache size. In contrast, the performance of standard file systems is very dependent on these parameters.
  • Keywords
    cache storage; cryptography; file organisation; Posix semantics; Web 2.0; ext2 file system; file metadata; hash function; hashFS; multiple disk accesses; small file reads; File systems; Geometry; Hard disks; Magnetic heads; Resource management; Target tracking; filesystem; hashing;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Storage Network Architecture and Parallel I/Os (SNAPI), 2010 International Workshop on
  • Conference_Location
    Incline Village, NV
  • Print_ISBN
    978-1-4244-6810-2
  • Electronic_ISBN
    978-1-4244-6811-9
  • Type

    conf

  • DOI
    10.1109/SNAPI.2010.12
  • Filename
    5572848