author | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Wed, 18 Jul 2007 00:30:49 +0000 (00:30 +0000) | ||
committer | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Wed, 18 Jul 2007 00:30:49 +0000 (00:30 +0000) | ||
commit | 2428111c66b0ab90c98976431e1c7856eda633fb | |
tree | 14f9cb37ce333c058613c28fd1a1a3b26a94866d | tree | snapshot |
parent | 5b2cb1ca7d153395bc26fd9051a0feee65cfbb06 | commit | diff |
* rrd_open: rrd_close does not purge file from cache
* rrd_open: new function rrd_dontneed for purging un-needed pages from core
* rrd_open: in linux at least only fadivse DONTNEED has the power to purge
pages from cache, so letst call madvise as well as fadvise
* rrd_create: uses open/write/close now, flushes file to disk and keeps only hot pages in core
* rrd_update: keeps only hot pages in core
* configure enables FADVISE even when mmap is in use
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1156 a5681a0c-68f1-0310-ab6d-d61299d08faa
* rrd_open: new function rrd_dontneed for purging un-needed pages from core
* rrd_open: in linux at least only fadivse DONTNEED has the power to purge
pages from cache, so letst call madvise as well as fadvise
* rrd_create: uses open/write/close now, flushes file to disk and keeps only hot pages in core
* rrd_update: keeps only hot pages in core
* configure enables FADVISE even when mmap is in use
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1156 a5681a0c-68f1-0310-ab6d-d61299d08faa
program/src/rrd_create.c | diff | blob | history | |
program/src/rrd_open.c | diff | blob | history | |
program/src/rrd_tool.h | diff | blob | history | |
program/src/rrd_update.c | diff | blob | history |