No description or website provided.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
yggdrasil
.gitignore
Makefile
README
ast-rewrite.py
bitmap.pxd
bitmap.py
cloc.sh
dirinode.pxd
dirinode.py
dirspec.py
disk.py
diskimpl.pxd
diskimpl.pyx
inodepack.pxd
inodepack.py
kvimpl.py
kvspec.py
lfs.pxd
lfs.py
lfs_fuse.pyx
lfs_fuse_main.py
llfuse.pxd
logspec.py
partition.py
symbolicmap.py
test_bitmap.py
test_cp.py
test_dirspec.py
test_diskspec.py
test_fsck.pyx
test_fsck_run.py
test_inode.py
test_inodepack.py
test_kv.py
test_lfs.py
test_partition.py
test_tenaciousd.py
test_ufarray.py
test_waldisk.py
test_xv6inode.py
verify.py
waldisk.pxd
waldisk.py
xv6inode.pxd
xv6inode.py
yav_dirimpl_fuse.pyx
yav_xv6_main.py

README

See recent updates and contact information at:

	http://locore.cs.washington.edu/yggdrasil/

# How to run the Yxv6 file system

We have tested it using the following setup:

- Cython 0.25.2
- Python 2
- Z3 4.4.2 (git commit e3f0aff318b5873cfe858191b8e73ed716405b59)
- Linux (with FUSE)

Install these packages before proceeding.  Other platforms or
versions may not work.

To compile:

	$ make all prod

To mount:

	$ python2 yav_xv6_main.py -o max_read=4096 -o max_write=4096 -s a -- /dev/sXX

To run verification:

	$ make verify

If your system doesn't have `cython2`, you may want to change it
to `cython` in the makefile (similarly for `python2`).

# What are the guarantees of a verified file system in Yggdrasil like Yxv6

The proof is that a file system implementation is a crash refinement
of its specification.  See the OSDI'16 paper for details.

Note that this does not mean that a verified file system in Yggdrasil
has zero bugs.  There can be bugs in the specification (or things
not modeled by the specification, like error code), the verification
toolchain, and the unverified part (e.g., the glue code to FUSE,
FUSE itself, and the Linux kernel).

# What's new in this version of Yxv6

This implementation of Yxv6 is a clean-up version.  It mostly follows
the design described in the OSDI'16 paper, with a few differences:

- the log size is doubled;
- the garbage collector (for orphan inodes) is more complete;
- ported to a new version of Cython;
- moved more code out of the unverified FUSE layer into the verified part.

You may notice changes in runtime performance and verification time
depending on your platform and tools (e.g., Z3).

# What file system features are missing from Yxv6

Yxv6 is a research prototype.  The implementation has the following
limitations:

- based on FUSE in user space than in the kernel
- Python runtime required (even after compiled by Cython)
- mtime only, no ctime/atime
- file size is limited
- verification time may vary depending on the Z3 version
- no ACL support
- no fallocate support
- no hardlinks

We don't think they are necessarily fundamental limitations of the
toolkit---feel free to send us pull requests if you add some of
these features.