Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

tmpfs for Windows / Fully dynamic RAM disk by extending WinFsp's memfs to be variable size and maximally resource efficient without compromising performance

License

NotificationsYou must be signed in to change notification settings

Ceiridge/WinFsp-MemFs-Extended

Repository files navigation

WinFsp-MemFs-Extended/MemExtendedFs (memefs) is afork ofWinFsp's memfs with some improvements that make it suitable for a constantly runningRAM disk that only allocates thememory actually needed to store the files.

Improvements

  • Completely rewritten in modern C++, guaranteeing memory and thread-safety and easy maintainability
  • Much better performance when writing unpreallocated files because of vectors of sectors instead of using a heap for every file
  • Better storage limit indication
  • Total memory limit instead offile node * individual size limit
  • Ability to set the volume label via the CLI (-l)

Benchmarks

Unpreallocated File Write Times
File I/O Speeds
As you can see, the unpreallocated file write times make the original memfs unusable, especially for web downloads. But if you need maximum sequential speed and are able to preallocate the file with NtCreateFile and its AllocationSize, then you should use the original memfs.FsbenchThe fsbench results above are outdated and memefs (this repository) is faster in most cases, sometimes significantly.

CLI

usage: memefs OPTIONSsimple example: memefs -i -F NTFS -u "" -m R:options:    -d DebugFlags       [-1: enable all debug logs]    -D DebugLogFile     [file path; use - for stderr]    -i                  [case insensitive file system]    -f                  [flush and purge cache on cleanup]    -s MaxFsSize        [bytes of maximum total memory size]    -F FileSystemName    -S RootSddl         [file rights: FA, etc; NO generic rights: GA, etc.]    -u \Server\Share  [UNC prefix (single backslash)]    -m MountPoint       [X:|* (required if no UNC prefix)]    -l VolumeLabel      [optional volume label name]

About

tmpfs for Windows / Fully dynamic RAM disk by extending WinFsp's memfs to be variable size and maximally resource efficient without compromising performance

Topics

Resources

License

Stars

Watchers

Forks


[8]ページ先頭

©2009-2025 Movatter.jp