From 3f36bc0033a4018eda973be54746d8dfaead14b2 Mon Sep 17 00:00:00 2001 From: onefang Date: Thu, 16 Sep 2021 14:25:42 +1000 Subject: Disable Flotsam cache. Coz on Linux we can just rely on the usual file caching. Flotsam is just another level of caching, thus just one more source of slow down and resource waste. --- bin/config-include/FlotsamCache.ini | 4 ++-- bin/config-include/FlotsamCache.ini.example | 4 ++-- bin/config-include/GridCommon.ini | 4 ++-- bin/config-include/GridCommon.ini.example | 4 ++-- bin/config-include/HyperSimianGrid.ini | 2 +- bin/config-include/SimianGrid.ini | 2 +- bin/config-include/StandaloneCommon.ini | 4 ++-- bin/config-include/StandaloneCommon.ini.example | 4 ++-- 8 files changed, 14 insertions(+), 14 deletions(-) (limited to 'bin') diff --git a/bin/config-include/FlotsamCache.ini b/bin/config-include/FlotsamCache.ini index cf06d6c..fda7838 100644 --- a/bin/config-include/FlotsamCache.ini +++ b/bin/config-include/FlotsamCache.ini @@ -57,12 +57,12 @@ ; ; The defaults below are suitable for all small to medium installations ; including grids. - NegativeCacheEnabled = true + NegativeCacheEnabled = false NegativeCacheTimeout = 120 NegativeCacheSliding = false ; Set to false for no file cache - FileCacheEnabled = true + FileCacheEnabled = false ; How long {in hours} to keep assets cached in memory, .5 == 30 minutes ; even a few minutes may mean many assets loaded to memory, if not all. diff --git a/bin/config-include/FlotsamCache.ini.example b/bin/config-include/FlotsamCache.ini.example index 4f16943..fa48b6b 100644 --- a/bin/config-include/FlotsamCache.ini.example +++ b/bin/config-include/FlotsamCache.ini.example @@ -57,12 +57,12 @@ ; ; The defaults below are suitable for all small to medium installations ; including grids. - NegativeCacheEnabled = true + NegativeCacheEnabled = false NegativeCacheTimeout = 120 NegativeCacheSliding = false ; Set to false for no file cache - FileCacheEnabled = true + FileCacheEnabled = false ; How long {in hours} to keep assets cached in memory, .5 == 30 minutes ; even a few minutes may mean many assets loaded to memory, if not all. diff --git a/bin/config-include/GridCommon.ini b/bin/config-include/GridCommon.ini index 26accd9..8b296c6 100644 --- a/bin/config-include/GridCommon.ini +++ b/bin/config-include/GridCommon.ini @@ -63,8 +63,8 @@ ;; We recommend the use of the FlotsamAssetCache since this is most actively maintained. ; I think only Windows needs caching, haven't noticed any difference under Linux, which uses spare memory for file caching anyway. - AssetCaching = "FlotsamAssetCache" - Include-FlotsamCache = "config-include/FlotsamCache.ini" +; AssetCaching = "FlotsamAssetCache" +; Include-FlotsamCache = "config-include/FlotsamCache.ini" ;AssetCaching = "CenomeMemoryAssetCache" ;Include-CenomeCache = "config-include/CenomeCache.ini" diff --git a/bin/config-include/GridCommon.ini.example b/bin/config-include/GridCommon.ini.example index 669ba38..b453157 100644 --- a/bin/config-include/GridCommon.ini.example +++ b/bin/config-include/GridCommon.ini.example @@ -57,8 +57,8 @@ ;; Copy the config .example file into your own .ini file and adapt that. ;; We recommend the use of the FlotsamAssetCache since this is most actively maintained. - AssetCaching = "FlotsamAssetCache" - Include-FlotsamCache = "config-include/FlotsamCache.ini" +; AssetCaching = "FlotsamAssetCache" +; Include-FlotsamCache = "config-include/FlotsamCache.ini" ;AssetCaching = "CenomeMemoryAssetCache" ;Include-CenomeCache = "config-include/CenomeCache.ini" diff --git a/bin/config-include/HyperSimianGrid.ini b/bin/config-include/HyperSimianGrid.ini index 24f9813..a3efd2f 100644 --- a/bin/config-include/HyperSimianGrid.ini +++ b/bin/config-include/HyperSimianGrid.ini @@ -39,7 +39,7 @@ SimulationServiceInConnector = true LibraryModule = false - AssetCaching = "FlotsamAssetCache" +; AssetCaching = "FlotsamAssetCache" [SimulationDataStore] LocalServiceModule = "OpenSim.Services.Connectors.dll:SimulationDataService" diff --git a/bin/config-include/SimianGrid.ini b/bin/config-include/SimianGrid.ini index fdf7ca2..b181b59 100644 --- a/bin/config-include/SimianGrid.ini +++ b/bin/config-include/SimianGrid.ini @@ -39,7 +39,7 @@ SimulationServiceInConnector = true LibraryModule = false - AssetCaching = "FlotsamAssetCache" +; AssetCaching = "FlotsamAssetCache" [SimulationDataStore] LocalServiceModule = "OpenSim.Services.SimulationService.dll:SimulationDataService" diff --git a/bin/config-include/StandaloneCommon.ini b/bin/config-include/StandaloneCommon.ini index 8da7784..267062f 100644 --- a/bin/config-include/StandaloneCommon.ini +++ b/bin/config-include/StandaloneCommon.ini @@ -61,8 +61,8 @@ ;; Copy the config .example file into your own .ini file and alter that ;; We recommend the use of the FlotsamAssetCache since this is most actively maintained. - AssetCaching = "FlotsamAssetCache" - Include-FlotsamCache = "config-include/FlotsamCache.ini" +; AssetCaching = "FlotsamAssetCache" +; Include-FlotsamCache = "config-include/FlotsamCache.ini" ;AssetCaching = "CenomeMemoryAssetCache" ;Include-CenomeCache = "config-include/CenomeCache.ini" diff --git a/bin/config-include/StandaloneCommon.ini.example b/bin/config-include/StandaloneCommon.ini.example index ad5284d..e1b4565 100644 --- a/bin/config-include/StandaloneCommon.ini.example +++ b/bin/config-include/StandaloneCommon.ini.example @@ -58,8 +58,8 @@ ;; Copy the config .example file into your own .ini file and alter that ;; We recommend the use of the FlotsamAssetCache since this is most actively maintained. - AssetCaching = "FlotsamAssetCache" - Include-FlotsamCache = "config-include/FlotsamCache.ini" +; AssetCaching = "FlotsamAssetCache" +; Include-FlotsamCache = "config-include/FlotsamCache.ini" ;AssetCaching = "CenomeMemoryAssetCache" ;Include-CenomeCache = "config-include/CenomeCache.ini" -- cgit v1.1