phoenix-firestorm/indra/llfilesystem
Beq de702e112a Slightly less naive cache
The simple cache ihas a number of issues
* the "max cache size" is not the max cache size
* the purge typically only purges DOWN to the max cache size
* once you reach max you are basically purging constantly.
This change addresses that a bit by adding highwater threshold at 95% leaving a bit of headroom for the incoming cache updates while we purge, and a low water threshold, that we purge down to (70%) .
This means people can now set their cache to a ramdisk of they really want and it won't (normally) overflow.
it reduces the cache thrashing, this is not a speedup on the main thread really, but just a less naive process.
This does not address the fact that every time we check the cache it has to enumerate every single file (beyond stupid) even though most have not changed. This is TBD.
2023-06-27 19:12:58 +01:00
..
tests Revert revert of Simplified Cache viewer release - continue with simplified cache 2021-03-10 15:13:12 +01:00
CMakeLists.txt Remove setting of HEADER_FILE_ONLY on .h* files, cmake automatically 2022-05-01 00:38:40 +02:00
lldir.cpp don't warn when LL_PATH_NONE was deliberately selected 2022-02-12 20:26:22 +00:00
lldir.h Merge branch 'master' into DRTVWR-519 2021-11-16 01:21:05 +02:00
lldir_linux.cpp Revert revert of Simplified Cache viewer release - continue with simplified cache 2021-03-10 15:13:12 +01:00
lldir_linux.h Revert revert of Simplified Cache viewer release - continue with simplified cache 2021-03-10 15:13:12 +01:00
lldir_mac.cpp Merge branch 'DRTVWR-570-maint-Q' of https://bitbucket.org/lindenlab/viewer 2022-11-11 12:15:54 +01:00
lldir_mac.h Revert revert of Simplified Cache viewer release - continue with simplified cache 2021-03-10 15:13:12 +01:00
lldir_utils_objc.h Fix memory leaks in lldir objc/mac 2022-10-28 18:47:32 -04:00
lldir_utils_objc.mm Fix memory leaks in lldir objc/mac 2022-10-28 18:47:32 -04:00
lldir_win32.cpp Revert revert of Simplified Cache viewer release - continue with simplified cache 2021-03-10 15:13:12 +01:00
lldir_win32.h Revert revert of Simplified Cache viewer release - continue with simplified cache 2021-03-10 15:13:12 +01:00
lldirguard.h Revert revert of Simplified Cache viewer release - continue with simplified cache 2021-03-10 15:13:12 +01:00
lldiriterator.cpp Merge branch 'master' into DRTVWR-519 2021-11-16 01:21:05 +02:00
lldiriterator.h Revert revert of Simplified Cache viewer release - continue with simplified cache 2021-03-10 15:13:12 +01:00
lldiskcache.cpp Slightly less naive cache 2023-06-27 19:12:58 +01:00
lldiskcache.h Slightly less naive cache 2023-06-27 19:12:58 +01:00
llfilesystem.cpp Merge branch 'master' of https://vcs.firestormviewer.org/phoenix-firestorm 2021-12-16 09:49:35 +01:00
llfilesystem.h Revert revert of Simplified Cache viewer release - continue with simplified cache 2021-03-10 15:13:12 +01:00
lllfsthread.cpp Revert revert of Simplified Cache viewer release - continue with simplified cache 2021-03-10 15:13:12 +01:00
lllfsthread.h Revert revert of Simplified Cache viewer release - continue with simplified cache 2021-03-10 15:13:12 +01:00