Coder Social home page Coder Social logo

bpfs's Introduction

BPFS - byte-addressable file system

* Requirements

For a correct system:
- 64-bit Linux (2.6 tested)
- FUSE >= 2.8

For development:
- 32/64-bit Linux (2.6 tested)
- FUSE >= 2.5

* Installation

$ make

* How to Use

BPFS can use a memory-mapped file/device or run in DRAM:
- File/device:
  1. (File) Create the file. E.g., dd if=/dev/zero of=bpram.img bs=1M count=$N
  2. Format the file system: ./mkfs.bpfs bpram.img
  3. Mount the file system: ./bpfs -f bpram.mnt $MNT
- DRAM (no need to create a file and contents are lost at exit):
  1. ./bpfs -s $((N * 1024 * 1024)) $MNT

There are several configuration macros at the top of bpfs.h and bpfs.c.

You can also profile BPFS's memory write traffic using the Pintool
bench/bpramcount.cpp. bench/bpramcount runs BPFS inside of Pin and
contains setup directions.

bpfs's People

Contributors

ccfrost avatar

Watchers

James Cloos avatar believe7028 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.