prelockd
mio
Our great sponsors
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
prelockd
-
Linuxatemyram.com
This may or may not preserve your desktop and other important applications in an OOM situation. https://github.com/hakavlad/prelockd
- force specific program to use ram instead of swap as much as possible?
- Looking for better scheduler for high core system
- Can someone explain me why do DEs crash like any other application?
- Prelockd
- Amazon 46.50% with 4.79% runtime slowdown using proactive memory reclaim
mio
-
Is there a good cross-platform (Windows / Linux) C or C++ library for file I/O?
As simple and clean example you can see https://github.com/mandreyel/mio readme.md
- Why are people willing to pay 100$ a year for an IDE?
-
How to parse two int values per line from a char* array from memory map
I loaded a 7Gb file into a memory map using the mio header file. The mmap variable is a char* array. I used a short file since this is my first time attempting a memory mapped file. This is the text2.txt file
-
Using mio header file to read in large file
I am using this mio header file and attempting to read in a 7GB file. This is taking a long time to execute so I stop the execution. I am reading in a small file just to test this out.
-
Reading a 7GB file into memore using mio.hpp header
A great fellow redditor showed me this memory mapping header file to read in large files. This is how I am using it with a syntax error.
- File Handling in C++
-
Fastest way to read very large file(Gb to Tb) in C++
I would memory map it. Use this lib: https://github.com/mandreyel/mio
What are some alternatives?
nohang - A sophisticated low memory handler for Linux
hana - Your standard library for metaprogramming
le9-patch - [PATCH] mm: Protect the working set under memory pressure to prevent thrashing, avoid high latency and prevent livelock in near-OOM conditions
llfio - P1031 low level file i/o and filesystem library for the C++ standard
memavaild - Improve responsiveness during heavy swapping: keep amount of available memory
filesystem - An implementation of C++17 std::filesystem for C++11 /C++14/C++17/C++20 on Windows, macOS, Linux and FreeBSD.
vmtouch - Portable file system cache diagnostics and control
robin-hood-hashing - Fast & memory efficient hashtable based on robin hood hashing for C++11/14/17/20
pf-kernel
Lyra - A simple to use, composable, command line parser for C++ 11 and beyond
ksm_preload - Enables legacy applications to leverage Linux's memory deduplication.
RapidJSON - A fast JSON parser/generator for C++ with both SAX/DOM style API