[Opensim-dev] Memory cache

Frisby, Adam adam at deepthink.com.au
Wed May 20 20:51:58 UTC 2009


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://opensimulator.org/pipermail/opensim-dev/attachments/20090520/bd1392ce/attachment-0001.html>


More information about the Opensim-dev mailing list