-
Notifications
You must be signed in to change notification settings - Fork 0
saketj/cs736
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
1. sudo apt-get install uuid-dev 2. Install FUSE cd fuse-2.9.5/ ./configure make -j8 sudo make install 3. Install BPFS cd bpfs make Creating a BPFS file system BPFS can use a memory-mapped file/device or run in DRAM: mkdir /tmp/bpfs - To use a file/device: 1. (File) Create the file. E.g., dd if=/dev/zero of=bpram.img bs=1M count=$N ($N=1024 to create 1GB file) 2. Format the file system: ./mkfs.bpfs bpram.img 3. Mount the file system: ./bpfs -f bpram.img -d /tmp/bpfs /tmp/bpfs is the mountpoint - To use DRAM (no need to create a file and contents are lost at exit): 1. ./bpfs -s $((N * 1024 * 1024)) -d /tmp/bpfs -d option to run bpfs in debug mode ($N=1024 to create 1GB filesystem) 4. To use the file system: cd /tmp/bpfs touch foo echo "hello" >> foo (Basically, you can issue file and directory operations as you normally do on any filesystem) There are several configuration macros at the top of bpfs.h and bpfs.c. 5. Workloads for Macro benchmarks - [httpd-2.0.63.tar.gz](https://archive.apache.org/dist/httpd/httpd-2.0.63.tar.gz) - [Linux-2.6.15.tar.bz2](https://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.15.tar.bz2)
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published