[Opensim-dev] Memory cache

Nebadon Izumi nebadon2025 at gmail.com
Wed May 20 21:46:26 UTC 2009


I agree this should not be considered a long term solution, its simply
shinning a flash light on a very poor performing area of the dark code. :)
but its a very notable gain in performance without the cache.

On Wed, May 20, 2009 at 1:51 PM, Frisby, Adam <adam at deepthink.com.au> wrote:

>  As chief engineer aboard the USS OSgrid, I might want to recommend
> against this.
>
>
>
> Not having the sims cache assets will mean that every asset request will
> hit the core asset server which in turn will result in higher bandwidth
> requirements for it in the long run. It doesn’t appear to have made a huge
> impact on our bandwidth charts for this week yet – however I wouldn’t be
> surprised if it did if everyone did this.
>
>
>
> Adam
>
>
>
> *From:* opensim-dev-bounces at lists.berlios.de [mailto:
> opensim-dev-bounces at lists.berlios.de] *On Behalf Of *Nebadon Izumi
> *Sent:* Wednesday, 20 May 2009 10:19 AM
> *To:* diva at metaverseink.com; opensim-dev at lists.berlios.de
> *Subject:* Re: [Opensim-dev] Memory cache
>
>
>
> Yay for mistakes that end in gains!!! of course if anyone asks i planned
> this ;P  anyway i thought people would like to see my ini changes.. this is
> what lead to the discovery:
>
> [OpenSim.ini]
>     ; The following is the configuration section for the new style grid
> servers
>     ; If you don't know what this is, don't enable it. It will eat your
> data,
>     ; format your hard drive and make all meat in your fridge spoil.
>     ; You have been warned.
>     ; Some of this is starting to work!
> [Modules]
>     ; Choose one
>     ;AssetServices = "LocalAssetServicesConnector"
>     AssetServices = "RemoteAssetServicesConnector"
>     ;AssetServices = "HGAssetBroker"
>
>     ; If you don't want asset caching in the regions, comment this
>     AssetCaching = "CoreAssetCache"  ;<<<---*** SEE ERROR HERE ***---->>>
>
>     ; Choose one
>     ;UserServices = "LocalUserServicesConnector"
>     UserServices = "RemoteUserServicesConnector"
>
>
> [AssetService]
>     ; Parameters for local assets, formerly known as "standalone"
>     LocalServiceModule = "OpenSim.Services.AssetService.dll:AssetService"
>     StorageProvider = "OpenSim.Data.SQLite.dll"
>     ;StorageProvider = "OpenSim.Data.MySQL.dll"
>     ;ConnectionString = "Data Source=localhost;Database=opensim;User
> ID=opensim;Password=opensim;"
>     DefaultAssetLoader = "OpenSim.Framework.AssetLoader.Filesystem.dll"
>     AssetLoaderArgs = "assets/AssetSets.xml"
>
>     ; Parameters for remote assets, formerly known as "grid"
>     AssetServerURI = "http://assets.osgrid.org:8003/"
>
>     ; Paremeters for the Hypergrid connector
>
>     ;; Parameters for the HG Broker
>     ; Use this one if you have a standalone grid
>     ;LocalGridAssetService =
> "OpenSim.Services.AssetService.dll:AssetService"
>     ; Use this one if this sim is connected to a grid-wide asset server
>     ;LocalGridAssetService =
> "OpenSim.Services.Connectors.dll:AssetServiceConnector"
>     ;HypergridAssetService =
> "OpenSim.Services.AssetService.dll:HGAssetService"
>
> [AssetCache]
>     ; Number of buckets for assets
>     CacheBuckets = 32768
>
> [UserService]
>     ;LocalServiceModule = "OpenSim.Services.UserService.dll:UserService"
>
> [/OpenSim.ini]
>
> Please test this out and see if you see gains too and let us know.
>
> Neb
>
> _______________________________________________
> Opensim-dev mailing list
> Opensim-dev at lists.berlios.de
> https://lists.berlios.de/mailman/listinfo/opensim-dev
>
>


-- 
Michael Emory Cerquoni - Nebadon Izumi @ http://osgrid.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://opensimulator.org/pipermail/opensim-dev/attachments/20090520/feec5ecf/attachment-0001.html>


More information about the Opensim-dev mailing list