Enabling Data Intensive Science with Tactical Storage Systems - PowerPoint PPT Presentation

About This Presentation
Title:

Enabling Data Intensive Science with Tactical Storage Systems

Description:

Understand how users with complex, large-scale applications need to interact ... Astronomy, Bioinformatics, Biometrics, Molecular Dynamics, Physics, Game Theory, ... – PowerPoint PPT presentation

Number of Views:50
Avg rating:3.0/5.0
Slides: 60
Provided by: dougla9
Learn more at: https://www3.nd.edu
Category:

less

Transcript and Presenter's Notes

Title: Enabling Data Intensive Science with Tactical Storage Systems


1
EnablingData Intensive Sciencewith Tactical
Storage Systems
  • Prof. Douglas Thain
  • University of Notre Dame
  • http//www.cse.nd.edu/dthain

2
The Cooperative Computing Lab
  • Our model of computer science research
  • Understand how users with complex, large-scale
    applications need to interact with computing
    systems.
  • Design novel computing systems that can be
    applied by many different users basic CS
    research.
  • Deploy code in real systems with real users,
    suffer real bugs, and learn real lessons
    applied CS.
  • Application Areas
  • Astronomy, Bioinformatics, Biometrics, Molecular
    Dynamics, Physics, Game Theory, ... ???
  • External Support NSF, IBM, Sun

http//www.cse.nd.edu/ccl
3
Two Talks in One
  • Paper at Supercomputing
  • Applications of Tactical

4
Abstract
  • Users of distributed systems encounter many
    practical barriers between their jobs and the
    data they wish to access.
  • Problem Users have access to many resources
    (disks), but are stuck with the abstractions
    (cluster NFS) provided by administrators.
  • Solution Tactical Storage Systems allow any user
    to create, reconfigure, and tear down
    abstractions without bugging the administrator.

5
The Standard Model
6
The Standard Model
7
Problems with the Standard Model
  • Users encounter partitions in the WAN.
  • Easy to access data inside cluster, hard outside.
  • Must use different mechanisms on diff links.
  • Difficult to combine resources together.
  • Different access modes for different purposes.
  • File transfer preparing system for intended use.
  • File system access to data for running jobs.
  • Resources go unused.
  • Disks on each node of a cluster.
  • Unorganized resources in a department/lab.
  • A global file system cant satisfy everyone!

8
What if...
  • Users could easily access any storage?
  • I could borrow an unused disk for NFS?
  • An entire cluster can be used as storage?
  • Multiple clusters could be combined?
  • I could reconfigure structures without root?
  • (Or bugging the administrator daily.)
  • Solution Tactical Storage System (TSS)

9
Outline
  • Problems with the Standard Model
  • Tactical Storage Systems
  • File Servers, Catalogs, Abstractions, Adapters
  • Applications
  • Remote Database Access for BaBar Code
  • Remote Dynamic Linking for CDF Code
  • Logical Data Access for Bioinformatics Code
  • Expandable Database for MD Simulation
  • Improving the OS for Grid Computing

10
Tactical Storage Systems (TSS)
  • A TSS allows any node to serve as a file server
    or as a file system client.
  • All components can be deployed without special
    privileges but with security.
  • Users can build up complex structures.
  • Filesystems, databases, caches, ...
  • Two Independent Concepts
  • Resources The raw storage to be used.
  • Abstractions The organization of storage.

11
App
Adapter
???
file system
file system
file system
file system
file system
file system
file system
12
Components of a TSS
  • 1 File Servers
  • 2 Catalogs
  • 3 Abstractions
  • 4 Adapters

13
1 File Servers
  • Unix-Like Interface
  • open/close/read/write
  • getfile/putfile to stream whole files
  • opendir/stat/rename/unlink
  • Complete Independence
  • choose friends
  • limit bandwidth/space
  • evict users?
  • Trivial to Deploy
  • run server setacl
  • no privilege required
  • can be thrown into a grid system
  • Flexible Access Control

Chirp Protocol
file server A
file server B
file system
owner of server A
owner of server B
14
Related Work
  • Lots of file services for the Grid
  • GridFTP, NeST, SRB, RFIO, SRM, IBP, ...
  • (Adapter interfaces with many of these!)
  • Why have another file server?
  • Reason 1 Must have precise Unix semantics!
  • Apps distinguish ENOENT vs EACCES vs EISDIR.
  • FTP always returns error 550, regardless of
    error.
  • Reason 2 TSS focused on easy deployment.
  • No privilege required, no config files, no
    rebuilding, flexible access control, ...

15
Access Control in File Servers
  • Unix Security is not Sufficient
  • No global user database possible/desirable.
  • Mapping external credentials to Unix gets messy.
  • Instead, Make External Names First-Class
  • Perform access control on remote, not local,
    names.
  • Types Globus, Kerberos, Unix, Hostname, Address
  • Each directory has an ACL
  • globus/ONotreDame/CNDThain RWLA
  • kerberosdthain_at_nd.edu RWL
  • hostname.cs.nd.edu
    RL
  • address192.168.1.
    RWLA

16
Problem Shared Namespace
file server
globus/ONotreDame/ RWLAX
17
Solution Reservation (V) Right
file server
mkdir only!
ONotreDame/CN V(RWLA)
18
2 - Catalogs
HTTP XML, TXT, ClassAds
catalog server
catalog server
periodic UDP updates
19
3 - Abstractions
  • An abstraction is an organizational layer built
    on top of one or more file servers.
  • End Users choose what abstractions to employ.
  • Working Examples
  • CFS Central File System
  • DSFS Distributed Shared File System
  • DSDB Distributed Shared Database
  • Others Possible?
  • Distributed Backup System
  • Striped File System (RAID/Zebra)

20
CFS Central File System
appl
appl
appl
adapter
adapter
adapter
CFS
CFS
CFS
file server
file
file
file
21
DSFS Dist. Shared File System
appl
appl
adapter
adapter
DSFS
DSFS
file server
file server
file server
file
file
file
file
file
ptr
file
file
file
file
file
ptr
ptr
pointers to multiple copies
22
DSDB Dist. Shared Database
appl
appl
adapter
adapter
DSDB
DSDB
insert
query
direct access
file server
file server
database server
create
file
file
file index
file
file
file
file
file
file
file
file
file
23
4 - Adapter
  • Like an OS Kernel
  • Tracks procs, files, etc.
  • Adds new capabilities.
  • Enforces owners policies.
  • Delegated Syscalls
  • Trapped via ptrace interface.
  • Action taken by Parrot.
  • Resources chrgd to Parrot.
  • User Chooses Abstr.
  • Appears as a filesystem.
  • Option Timeout tolerance.
  • Option Cons. semantics.
  • Option Servers to use.
  • Option Auth mechanisms.

system calls trapped via ptrace
Adapter - Parrot
process table
file table
Abstractions CFS DSFS - DSDB
HTTP, FTP, RFIO, NeST, SRB, gLite ???
24
App
Adapter
???
file system
file system
file system
file system
file system
file system
file system
25
Performance Summary
  • Nothing comes for free!
  • System calls order of magnitude slower.
  • Memory bandwidth overhead extra copies.
  • However
  • TSS can take full advantage of bandwidth (!NFS)
  • TSS can drive network/switch to limits.
  • Typical slowdown on real apps 5-10 percent.
  • Allows one to harness resources that would go
    unused.
  • Observation Most users constrained by
    functionality.

26
Outline
  • Problems with the Standard Model
  • Tactical Storage Systems
  • File Servers, Catalogs, Abstractions, Adapters
  • Applications
  • Remote Database Access for BaBar Code
  • Remote Dynamic Linking for CDF Code
  • Logical Data Access for Bioinformatics Code
  • Expandable Database for MD Simulation
  • Improving the OS for Grid Computing

27
Remote Database Access
Credit Sander Klous _at_ NIKHEF
  • HEP Simulation Needs Direct DB Access
  • App linked against Objectivity DB.
  • Objectivity accesses filesystem directly.
  • How to distribute application securely?
  • Solution Remote Root Mount via TSS
  • parrot M //chirp/fileserver/rootdir
  • DB code can read/write/lock files
    directly.

GSI
script
DB data
TSS file server
file system
Parrot
libdb.so
WAN
GSI Auth
CFS
sim.exe
28
Remote Application Loading
Credit Igor Sfiligoi _at_ Fermi National Lab
  • Modular Simulation Needs Many Libraries
  • Devel. on workstations, then ported to grid.
  • Selection of library depends on analysis tech.
  • Constraint Must use HTTP for file access.
  • Solution Dynamic Link with TSSHTTP
  • /home/cdfsoft -gt /http/dcaf.fnal.gov/cdfsoft

appl
proxy
select several MB from 60 GB of libraries
liba.so
HTTP server
file system
Parrot
libb.so
proxy
HTTP
libc.so
29
Technical Problem
  • HTTP is not a filesystem! (No directories)
  • Advantages Firewalls, caches, admins.

Appl
HTTP Server
root
Parrot
etc
home
bin
HTTP Module
alice
cms
babar
30
Technical Problem
  • Solution Turn the directories into files.
  • Can be cached in ordinary proxies!

Appl
HTTP Server
make httpfs
root
Parrot
etc
home
bin
HTTP Module
alice
cms
babar
31
(No Transcript)
32
(No Transcript)
33
(No Transcript)
34
(No Transcript)
35
Logical Access to Bio Data
  • Many databases of biological data in different
    formats around the world
  • Archives Swiss-Prot, TreMBL, NCBI, etc...
  • Replicas Public, Shared, Private, ???
  • Users and applications want to refer to data
    objects by logical name, not location!
  • Access the nearest copy of the non-redundant
    protein database, dont care where it is.
  • Solution EGEE data management system maps
    logical names (LFNs) to physical names (SFNs).

Credit Christophe Blanchet, Bioinformatics
Center of Lyon, CNRS IBCP, France http//gbio.ibcp
.fr/cblanchet, Christophe.Blanchet_at_ibcp.fr
36
Logical Access to Bio Data
gLite Server
BLAST
nr.data
EGEE File Location Service
Chirp Server
Parrot
nr.data
FTP Server
RFIO
gLite
HTTP
FTP
nr.data
37
Appl Distributed MD Database
  • State of Molecular Dynamics Research
  • Easy to run lots of simulations!
  • Difficult to understand the big picture
  • Hard to systematically share results and ask
    questions.
  • Desired Questions and Activities
  • What parameters have I explored?
  • How can I share results with friends?
  • Replicate these items five times for safety.
  • Recompute everything that relied on this
    machine.
  • GEMS Grid Enabled Molecular Sims
  • Distributed database for MD siml at Notre Dame.
  • XML database for indexing, TSS for storage/policy.

38
GEMS Distributed Database
Credit Jesus Izaguirre and Aaron Striegel, Notre
Dame CSE Dept.
database server
catalog server
catalog server
39
Active Recovery in GEMS
40
GEMS and Tactical Storage
  • Dynamic System Configuration
  • Add/remove servers, discovered via catalog
  • Policy Control in File Servers
  • Groups can Collaborate within Constraints
  • Security Implemented within File Servers
  • Direct Access via Adapters
  • Unmodified Simulations can use Database
  • Alternate Web/Viz Interfaces for Users.

41
Outline
  • Problems with the Standard Model
  • Tactical Storage Systems
  • File Servers, Catalogs, Abstractions, Adapters
  • Applications
  • Remote Database Access for BaBar Code
  • Remote Dynamic Linking for CDF Code
  • Logical Data Access for Bioinformatics Code
  • Expandable Database for MD Simulation
  • Improving the OS for Grid Computing

42
OS Support for Grid Computing
  • Distributed computing in general suffers because
    of limitations in the operating system.
  • How can we improve the OS in the long term?
  • Resource allocation
  • Cannot reserve space -gt jobs crash
  • Hard to clean up procs -gt unreliable systems
  • Security and permissions
  • No ACLs -gt hard to share data
  • Only root can setuid -gt hard to secure services.

43
Allocation in the Filesystem
root
jobs
logs
job23
ftp
coredump
ftp.log
44
Allocation in the Filesystem
root
jobs
logs
ftp.log
45
root
kerberos given to the login server.
httpd
kerberos
alice created by krb5 login.
alice
bob
anon1
anon2
student created at run-time.
The web server can create distinct anonymous
accounts. No need for global nobody.
student
visitor
visitor
These two users are completely different rootke
rberosalicevisitor rootkerberosbobvisitor
46
Approach by Degrees
  • What can we do as an ordinary user?
  • Simulate OS functionality within Parrot.
  • Drawback Performance / Assurance.
  • What can we do as root?
  • Setuid toolkit to manage system on request.
  • Drawback Limitations in Policy / Expr.
  • What can we do by modifying the OS?
  • Modify kernel/FS to support to new features.
  • Drawback Deployment.

47
Tactical Storage Systems
  • Separate Abstractions from Resources
  • Components
  • Servers, catalogs, abstractions, adapters.
  • Completely user level.
  • Performance acceptable for real applications.
  • Independent but Cooperating Components
  • Owners of file servers set policy.
  • Users must work within policies.
  • Within policies, users are free to build.

48
Parting Thought
  • Many users of the grid are constrained by
    functionality, not performance.
  • TSS allows end users to build the structures that
    they need for the moment without involving an
    admin.
  • Analogy building blocks
  • for distributed storage.

49
Acknowledgments
  • Science Collaborators
  • Christophe Blanchet
  • Sander Klous
  • Peter Kunzst
  • Erwin Laure
  • John Poirer
  • Igor Sfiligoi
  • CS Collaborators
  • Jesus Izaguirre
  • Aaron Striegel
  • CS Students
  • Paul Brenner
  • James Fitzgerald
  • Jeff Hemmes
  • Paul Madrid
  • Chris Moretti
  • Phil Snowberger
  • Justin Wozniak

50
For more information...
  • Cooperative Computing Lab
  • http//www.cse.nd.edu/ccl
  • Cooperative Computing Tools
  • http//www.cctools.org
  • Douglas Thain
  • dthain_at_cse.nd.edu
  • http//www.cse.nd.edu/dthain

51
Performance System Calls
52
Performance - Applications
parrot only
53
Performance I/O Calls
54
Performance Bandwidth
55
Performance DSFS
56
SP5 Performance on EDG Testbed
57
(No Transcript)
58
(No Transcript)
59
(No Transcript)
Write a Comment
User Comments (0)
About PowerShow.com