Skip to content

Implementation of cache replacement algorithms LRU, CFLRU, and LRUWSR in flash memory

Notifications You must be signed in to change notification settings

Arrizki16/lruwsr

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

lruwsr

Repository Tugas Akhir

Prerequirements

  1. Install Go
  2. Install Nim

How To Run ?

  1. Choose dataset
  2. Compile converter split_financial.nim and split_websearch.num programs
nim c [nama program].nim
  1. Make directory data in root directory

  2. Running compile on dataset and choose data as directory target

./[nama program] [dataset] ../data/[output]
  1. Go get module
go get github.com/petar/GoLLRB
go get github.com/secnot/orderedmap
  1. Build main.go
go build main.go
  1. Running main and choose one algorithm
./main [algorithm(LRU|CFLRU|LRUWSR)] [file] [trace size]...

About

Implementation of cache replacement algorithms LRU, CFLRU, and LRUWSR in flash memory

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published