Code Monkey home page Code Monkey logo

ftlsim's Introduction

Simple FTL simulator, Copyright Sang-Hoon Kim [email protected], 2023.

Overview

This FTL simulator provides page-mapping FTL and DAC [1]. Unlike other FTL simulators, this simulator performs the LSB backup [2] to counter the paired-page interference.

Usage

To get help,

$ ./ftlsim.py --help

You can modify NAND.py to change the NAND flash configurations including the number of pages per block, the number of sectors per page, times to read/write/erase, and paired-page configuration. SSD.py configures the total SSD size and the over-provisioning ratio.

Workload file

The workload file should be the following form. You can also input operations from the console.

# The lines starting with # are ignored
# Read 32 sectors from sector 16
R 16 32
# Write 8 sectors from sector 96
W 96 8

The operations will be automatically wrap-around if the sector number exceeds the total storage size.

References

[1] Mei-Ling et al., "Using data clustering to improve cleaning performance for flash memory," Software-Practice and Experience, Vol. 29, No. 3, pp 267--290, 1999. [2] LSB backup

ftlsim's People

Contributors

beowulf avatar

Stargazers

도건우 avatar  avatar

Watchers

 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.