Git Product home page Git Product logo

archaio's Introduction

About

Archaio is an application used for generating test files which is used to test the capacity of a USB drive. Archaio will generate .aio file which is essentially a text file containing millions of 1. And the file generated are NOT dummy file since it actually has data in it.

How does it work?

The integer 1 occupy 1 byte in disk space, Archaio will write millions of 1 into a text file using a loop, the loop will breaks once the threshold attained. to achieve certain file size, we can manually set the threshold. In one loop Archaio will write exactly 1,000 bytes (1kb), we can set how many time Archaio will loop, say we want 10MB file which is 10,240,000 bytes (10 million), so we set a limit to the loop so it will only loops 10240 times and not 1024000 because Archaio will write 1,000 bytes per loop not 1 byte per loop. the code below will make it clearer:

  • KC6qU7.md.png

  • KC6flS.png

Speed & Performance

The test was performed on a rig with:

  • Intel Core i5 3470
  • 8GB HyperX DDR3
  • SSD Gamer Galax 120GB

Peak Maximum Speed: 251 Mb/s

Size Time
10MB 0.11s
50MB 0.56s
100MB 1.11s
500MB 5.37s
1GB 10.6s
5GB 53.4s
10GB 105.2s
20GB 266.2s

NOTE: The performance will vary depending on the hardware you are running on. It can be also limited by the USB drive's bandwidth or its maximum Transfer Speed.

archaio's People

Contributors

blitpxl 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.