GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - bigmiao-T/wsbuffer-sim: User-space simulation of WSBuffer (FAST'26) - Scrap Buffer, OTflush, Buffer-Minimized I/O

BranchesTags
Open more actions menu

Latest commit

 

History

1 Commit
1 Commit

Folders and files

NameName
Last commit message
Last commit date
bench
bench
 
 
include
include
 
 
src
src
 
 
test
test
 
 
.gitignore
.gitignore
 
 
Makefile
Makefile
 
 
README.md
README.md
 
 

Repository files navigation

WSBuffer User-Space Simulation

User-space simulation of the WSBuffer architecture from the FAST'26 paper "Rearchitecting Buffered I/O in the Era of High-Bandwidth SSDs".

Overview

This project reproduces the core mechanisms of WSBuffer in a user-space C program, including:

  • Scrap Buffer (§3.2): 128B header + 256KB data-zone pages with merge-friendly data segments
  • Buffer-Minimized Data Access (§3.3): Small writes to scrap buffer, large writes split with aligned parts going directly to SSD
  • OTflush (§3.4): Two-phase async flush — Stage-1 read-before-write for unfilled pages, Stage-2 batch write for full pages
  • Concurrent Page Management (§3.5): Fine-grained per-group locking vs global lock comparison

A traditional 4KB Page Cache implementation serves as the control group for benchmarks.

Build & Run

make            # Build everything
./test_main     # Run unit tests (10 tests)
./bench_main    # Run benchmarks (throughput, latency, partial-page)
make clean      # Clean build artifacts

Project Structure

include/        # Headers: common.h, scrap_buffer.h, page_cache.h, etc.
src/            # Core implementations
bench/          # Benchmark suite (throughput, latency, partial-page write)
test/           # Unit tests

Benchmarks

  • Throughput: Sequential 2MB writes with 1–16 threads, Page Cache vs WSBuffer
  • Latency: Write latency across 4KB–4MB sizes
  • Partial-page: Full vs partial page/scrap-page write latency comparison

About

User-space simulation of WSBuffer (FAST'26) - Scrap Buffer, OTflush, Buffer-Minimized I/O

Resources

Readme
Activity

Stars

2 stars

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.