/DirectoryCacher

Locks files in directories in linux cache to reduce IO usage

Primary LanguageJavaGNU General Public License v3.0GPL-3.0

DirectoryCacher

Locks files in directories in linux cache to reduce IO usage

Requirements:

  1. 64bit linux
  2. Java 8

You need to run this programm as root

You can supply list of directories that should be cached either by:

  1. Supplying them as command line args
    Exmaple: sudo java -jar DirectoryCacher.jar /home/test /home/test1
  2. Adding them to dirlist file (located in the process workdir (by default the directory from which you launched java))

DirectoryCacher is recursive so any directory inside the specified ones will be cached too