Giter Site home page Giter Site logo

bufferpool's Introduction

BufferPool

functionality of quicksort using LRUList

Author:Shuaicheng Zhang

Description: quick sort the inputfile with the given size of buffer. return a report text file for sorting time and cache hitting time.

Invocation and I/O Files: The program will be invoked from the command-line as: java Quicksort The data file is the file to be sorted. The sorting takes place in that file, so this program does modify the input data file. The parameter determines the number of buffers allocated for the buffer pool. This value will be in the range 1–20. The parameter is the name of a file that the program will generate to store runtime statistics

File: Ascii file and binary file.

Inside the report text file (a) The name of the data file being sorted. (b) The number of cache hits, or times the program found the data it needed in a buffer and did not have to go to the disk. (c) The number of disk reads, or times the program had to read a block of data from disk into a buffer. (d) The number of disk writes, or times the program had to write a block of data to disk from a buffer. (e) The time that the program took to execute the Quicksort. This method returns a long value. The difference between the two values will be the total runtime in milliseconds

bufferpool's People

Contributors

zshuai8 avatar

Watchers

James Cloos avatar  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.