Skip to content

Latest commit

 

History

25 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages