Skip to content

Disable the filesystem buffer cache by preloading this library

Notifications You must be signed in to change notification settings

gburd/libdirectio

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

libdirectio

Disable the filesystem buffer cache by preloading this library.1

To compile the library simply run make. You can pre-load it using the LD_PRELOAD environment variable in this way:

# export LD_PRELOAD=$FULL_PATH_OF_YOUR_LIBRARY/libdirectio.so.0.1

Then you can run your brand-new direct I/O benchmark (typically dd) for block devices.

To unload the library and restore the standard access simply run:

# unload LD_PRELOAD

About

Disable the filesystem buffer cache by preloading this library

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages