Comments (3)
@pavlinux There is no need to be disrespectful to @birdie-github .
Please apologize and edit your comment.
from nocache.
Nocache works by intercepting library bindings for syscalls; if pv
(which I’ve never used) is using a syscall that’s not intercepted by nocache, then it will have no effect.
I’d refer you to the README file for an alternative approach to limiting buffer cache size, specifically https://github.com/Feh/nocache/blob/master/README#L141-L158; the phrase “fairly recent Linux kernel” was written about 6 years ago, so this should not be a concern any more.
If you can provide specific ideas which syscall (wrappers) to intercept in addition to the ones already intercepted, please reopen the issue! (You can get these traces e.g. via strace
.)
from nocache.
pv is a standard utility which is available in pretty much all Linux distros.
Its source code is published here: http://www.ivarch.com/programs/pv.shtml
from nocache.
Related Issues (20)
- Support O_DIRECT? HOT 1
- Incompatibility with glibc 2.28 HOT 23
- Do SubProcess calls work as expected. HOT 2
- "transmission-gtk" freezes right after downloading because of "nocache" HOT 4
- nocache.c:148: init_mutexes: Assertion `fds_lock != NULL' failed. HOT 3
- nocache makes MC very slow HOT 2
- GCC cache size flags HOT 3
- Off-by-one issue with NOCACHE_MAX_FDS HOT 6
- Lock pages from preventing of being paged and tune malloc. HOT 1
- Trivial suggestions for README.md
- effect on write cache HOT 1
- Command line parsing issue(s?) causing undefined behaviour HOT 3
- Default Thread limit is not respecting container cpu limit but underline node(vm) HOT 2
- Mention no help for huge files
- unexpected nocache overhead on trivial commands HOT 14
- BUG: pthread_mutex_lock on destroy HOT 3
- nocache works, systemd-run doesn't
- backup still using cache HOT 1
- FTBFS on armhf: symbol `fopen64' is already defined
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nocache.