240 likes | 412 Views
Space allocations in NeST. Outline. Overview of NeST Space allocations Implementation Big picture Measurements and Future Work. Overview of NeST. Network storage server designed for the Grid Flexibility Unprivileged, user-level software Multiple protocols Chirp, GridFTP, FTP, HTTP, NFS
E N D
Outline • Overview of NeST • Space allocations • Implementation • Big picture • Measurements and Future Work
Overview of NeST • Network storage server designed for the Grid • Flexibility • Unprivileged, user-level software • Multiple protocols • Chirp, GridFTP, FTP, HTTP, NFS • Multiple concurrency models • Processes, threads, non-blocking • Portable
Overview of NeST • Functionality • Exports Unix based file system • Space allocation ( Lot ) • Manageability • User management – Dynamic users • Security – GSI authentication
Physical network layer Chirp FTP Grid FTP HTTP NFS Common protocol layer Storage Mgr Control flow Dispatcher Data flow Lot Mgr Concurrencies Transfer Mgr NeST structure Physical storage layer
Why space allocations ? • Data generation and storage • Data intensive applications • Need to allocate space for temporary files • Data migration • Many simultaneous data flows • Competition for storage space • Possible that all flows end in partial transfers • Need to ensure at least one succeeds
Space allocations in NeST • Lot – abstraction for space allocation • Create lot for a specified size and duration • User and group lots • Guaranteed and best-effort lots • Hierarchical lots
Motivation for hierarchical lot • SRMs on top of NeSTs • Client requests streamlined through SRMs • SRMs create a large lot • SRMs distribute sub-lots among clients carved from the large lot
Lot operations • Create, Delete, Update • MoveFile • Moves files across lots • AddUser, RemoveUser • Lot level access control • List of users allowed to request sub-lots • Attach / Detach • Associates a path to a lot
Implementation - two choices • Rely on the underlying quota system • Kernel-assisted lot • Provide the space guarantee within NeST • User-level lot • A third choice? • Modify kernel
Physical network layer Chirp FTP Grid FTP HTTP NFS Common protocol layer Storage Mgr Control flow Dispatcher Data flow Lot Mgr Concurrencies Transfer Mgr Physical storage layer Kernel-assisted lot Quota system
Kernel-assisted lot • Quota system provides the guarantee • Chirp-like protocols pose no challenge • Aware of transfer size • GridFTP-like protocols ? • Transfer size may be unknown • Don’t worry at NeST level • Quota system watches disk writes
Physical network layer Chirp FTP Grid FTP HTTP NFS Common protocol layer Storage Mgr Control flow Dispatcher Data flow Lot Mgr Concurrencies Transfer Mgr Physical storage layer User-level lot
User-level lot • NeST provides the guarantee • Chirp-like protocols pose no challenge • GridFTP-like protocols ? • Iterative data transfer • Transfer manager repeatedly queries lot manager
So which one ? • Kernel-assisted • Pros • Less complex • POSIX access • Cons • Needs root privileges • Depends on quota system – Less portability • Cannot distinguish among different allocations for the same user • Does not have a hierarchical organization
So which one ? • User-level • Pros • Flexible, Portable • Hierarchical organization is easy • Easy to differentiate among lots for the same user • Cons • Difficult to provide POSIX access • Complexity in the transfer and lot managers
Stork Request allocation Chirp allocations Chirp output Activate 3rd party put Chirp input NeST NeST NeST GridFTP/DiskRouter transfer Remote site Big picture SRM DAGMan Job
Where are the overheads ? • Lot operations • Puts • Recovery
Puts using Chirp With increase in transfer size overhead is amortized
Puts using GridFTP With increase in transfer size, overheads become comparable
Recovery time Compaction reduces lot overhead to a manageable level
Future Work • Advance reservations • Combo - Space and disk bandwidth reservation • Recovery management • Transaction based lot operations
Questions ? • Demo on Wednesday • Room 3351, CS building, 9am – noon • More information available at • www.cs.wisc.edu/condor/nest • People • John Bent, Joseph Stanley, Nick LeRoy, Alain Roy • Miron Livny, Andrea Arpaci-Dusseau, Remzi Arpaci-Dusseau, Arie Shoshani