<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
</style>
</head>
<body class='hmmessage'>
If the cache is releasing objects, I think we might well be seeing LOH fragmentation.<BR><BR><A href="http://msdn.microsoft.com/en-us/magazine/cc534993.aspx">http://msdn.microsoft.com/en-us/magazine/cc534993.aspx</A><BR>
 <BR>
The solution would then be to break the binaries apart into byte cucks smaller than the LOH trshold.<BR>
<BR>Best regards,<BR>Stefan Andersson<BR><BR><BR><BR> <BR>> From: adam@deepthink.com.au<BR>> To: opensim-dev@lists.berlios.de<BR>> Date: Wed, 20 May 2009 17:21:51 -0400<BR>> Subject: Re: [Opensim-dev] Memory cache<BR>> <BR>> We are using an external caching library I believe, it could be sitting in there.<BR>> <BR>> Adam<BR>> <BR>> > -----Original Message-----<BR>> > From: opensim-dev-bounces@lists.berlios.de [mailto:opensim-dev-<BR>> > bounces@lists.berlios.de] On Behalf Of Melanie<BR>> > Sent: Wednesday, 20 May 2009 1:56 PM<BR>> > To: opensim-dev@lists.berlios.de<BR>> > Subject: Re: [Opensim-dev] Memory cache<BR>> > <BR>> > The surprise really is that the cache would be a performance loss<BR>> > instead of a performance gain. What is there that makes it so slow?<BR>> > <BR>> > Melanie<BR>> > <BR>> > Frisby, Adam wrote:<BR>> > > As chief engineer aboard the USS OSgrid, I might want to recommend<BR>> > against this.<BR>> > ><BR>> > > Not having the sims cache assets will mean that every asset request<BR>> > will hit the core asset server which in turn will result in higher<BR>> > bandwidth requirements for it in the long run. It doesn't appear to<BR>> > have made a huge impact on our bandwidth charts for this week yet -<BR>> > however I wouldn't be surprised if it did if everyone did this.<BR>> > ><BR>> > > Adam<BR>> > ><BR>> > > From: opensim-dev-bounces@lists.berlios.de [mailto:opensim-dev-<BR>> > bounces@lists.berlios.de] On Behalf Of Nebadon Izumi<BR>> > > Sent: Wednesday, 20 May 2009 10:19 AM<BR>> > > To: diva@metaverseink.com; opensim-dev@lists.berlios.de<BR>> > > Subject: Re: [Opensim-dev] Memory cache<BR>> > ><BR>> > > Yay for mistakes that end in gains!!! of course if anyone asks i<BR>> > planned this ;P anyway i thought people would like to see my ini<BR>> > changes.. this is what lead to the discovery:<BR>> > ><BR>> > > [OpenSim.ini]<BR>> > > ; The following is the configuration section for the new style<BR>> > grid servers<BR>> > > ; If you don't know what this is, don't enable it. It will eat<BR>> > your data,<BR>> > > ; format your hard drive and make all meat in your fridge spoil.<BR>> > > ; You have been warned.<BR>> > > ; Some of this is starting to work!<BR>> > > [Modules]<BR>> > > ; Choose one<BR>> > > ;AssetServices = "LocalAssetServicesConnector"<BR>> > > AssetServices = "RemoteAssetServicesConnector"<BR>> > > ;AssetServices = "HGAssetBroker"<BR>> > ><BR>> > > ; If you don't want asset caching in the regions, comment this<BR>> > > AssetCaching = "CoreAssetCache" ;<<<---*** SEE ERROR HERE ***---<BR>> > ->>><BR>> > ><BR>> > > ; Choose one<BR>> > > ;UserServices = "LocalUserServicesConnector"<BR>> > > UserServices = "RemoteUserServicesConnector"<BR>> > ><BR>> > ><BR>> > > [AssetService]<BR>> > > ; Parameters for local assets, formerly known as "standalone"<BR>> > > LocalServiceModule =<BR>> > "OpenSim.Services.AssetService.dll:AssetService"<BR>> > > StorageProvider = "OpenSim.Data.SQLite.dll"<BR>> > > ;StorageProvider = "OpenSim.Data.MySQL.dll"<BR>> > > ;ConnectionString = "Data Source=localhost;Database=opensim;User<BR>> > ID=opensim;Password=opensim;"<BR>> > > DefaultAssetLoader =<BR>> > "OpenSim.Framework.AssetLoader.Filesystem.dll"<BR>> > > AssetLoaderArgs = "assets/AssetSets.xml"<BR>> > ><BR>> > > ; Parameters for remote assets, formerly known as "grid"<BR>> > > AssetServerURI = "http://assets.osgrid.org:8003/"<BR>> > ><BR>> > > ; Paremeters for the Hypergrid connector<BR>> > ><BR>> > > ;; Parameters for the HG Broker<BR>> > > ; Use this one if you have a standalone grid<BR>> > > ;LocalGridAssetService =<BR>> > "OpenSim.Services.AssetService.dll:AssetService"<BR>> > > ; Use this one if this sim is connected to a grid-wide asset<BR>> > server<BR>> > > ;LocalGridAssetService =<BR>> > "OpenSim.Services.Connectors.dll:AssetServiceConnector"<BR>> > > ;HypergridAssetService =<BR>> > "OpenSim.Services.AssetService.dll:HGAssetService"<BR>> > ><BR>> > > [AssetCache]<BR>> > > ; Number of buckets for assets<BR>> > > CacheBuckets = 32768<BR>> > ><BR>> > > [UserService]<BR>> > > ;LocalServiceModule =<BR>> > "OpenSim.Services.UserService.dll:UserService"<BR>> > ><BR>> > > [/OpenSim.ini]<BR>> > ><BR>> > > Please test this out and see if you see gains too and let us know.<BR>> > ><BR>> > > Neb<BR>> > ><BR>> > ><BR>> > ><BR>> > > ---------------------------------------------------------------------<BR>> > ---<BR>> > ><BR>> > > _______________________________________________<BR>> > > Opensim-dev mailing list<BR>> > > Opensim-dev@lists.berlios.de<BR>> > > https://lists.berlios.de/mailman/listinfo/opensim-dev<BR>> > _______________________________________________<BR>> > Opensim-dev mailing list<BR>> > Opensim-dev@lists.berlios.de<BR>> > https://lists.berlios.de/mailman/listinfo/opensim-dev<BR>> _______________________________________________<BR>> Opensim-dev mailing list<BR>> Opensim-dev@lists.berlios.de<BR>> https://lists.berlios.de/mailman/listinfo/opensim-dev<BR></body>
</html>