<div dir="ltr">OSGrid is not "officially" the opensim test grid. They are a seperete entity but happen to be very generous in helping test and reporting results. That said, I have very good memory usage in my OSGrid regions which are somewhat isolated, however I have seen regions which share borders with other people's regions in crowded areas use more memory. This is often the case in a grid as neighboring regions share a lot of information with each other.<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, May 28, 2015 at 8:06 AM, Thomas Ringate <span dir="ltr"><<a href="mailto:tringate@gmail.com" target="_blank">tringate@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Very interesting.  My setup is quite different in that I do not run the grid but rather use the OSgrid.  I only run the regions.  That could be a huge difference.  However since OSgrid is officially designated as the "opensim" test grid, I would hope the developers are serious about the results people are having who use that grid.<br>
<br>
I am in the process of trying to discover exactly when this problem started for me as was earlier requested.<br>
<br>
The different versions I can test with are these releases from OSgrid:<br>
osgrid-opensim-01162015.v0.8.1.97ac80d<br>
osgrid-opensim-01172015.v0.8.1.1f04e1b<br>
osgrid-opensim-02212015.v0.8.1.7b9ad11<br>
osgrid-opensim-03142015.v0.8.1.8b13e4e<br>
osgrid-opensim-03172015.v0.8.2.83e58eb<br>
osgrid-opensim-04052015.v0.8.2.8d66284<br>
osgrid-opensim-04122015.v0.8.2.d96d31b<br>
osgrid-opensim-05072015.v0.8.2.c74cef0<br>
osgrid-opensim-05092015.v0.8.2.adf0f49<br>
osgrid-opensim-05232015.v0.8.2.abb3bb6<br>
<br>
Later today I will cycle all of these releases on one of my regions and run a test using "monit" with my original parameters set to see which version it was that started using so much simulator memory.  The change control on my home network is not near as professional as what I lived with at IBM for 31 years.  Now I depend on my own memory.  That is not a very good choice in my case.  Luisillo's testing was far more accurate with excellent metrics to compare.  Bravo.<br>
<br>
Tom<br>
<br>
<br>
-----Original Message----- From: Luisillo Contepomi<br>
Sent: Thursday, May 28, 2015 5:07 AM<br>
To: <a href="mailto:opensim-users@opensimulator.org" target="_blank">opensim-users@opensimulator.org</a><br>
Subject: Re: [Opensim-users] Memory usage<div class="HOEnZb"><div class="h5"><br>
<br>
I have not problems or issues with memory.<br>
My memory test results:<br>
<br>
Grid and sim in the same machine.<br>
Windows7 - 64 - RAM 8GB<br>
Intel Core i7-3770 at 3.40GHz<br>
Users in this test is out in other machines connecting by a 100Mb network.<br>
<br>
All users in this test are using Radegast. All have Inventory with<br>
1200 Items aprox.<br>
and worn scripts as AO, radar and resizers in hair and shoes.<br>
<br>
Continente is a Var Region 1024x1024<br>
Prims used 55.048<br>
Scripts 4.499<br>
<br>
Region (Continente) # xengine status<br>
Status of XEngine instance for Continente<br>
Scripts loaded             : 4499<br>
Scripts waiting for load   : 0<br>
Max threads                : 100<br>
Min threads                : 2<br>
Allocated threads          : 100<br>
In use threads             : 42<br>
Work items waiting         : 0<br>
Events queued              : 636<br>
Events processed           : 1028273<br>
Sensors                    : 157<br>
Dataserver requests        : 0<br>
Timers                     : 715<br>
Listeners                  : 85<br>
<br>
>From tast manager in K<br>
CPU 1 from 8 at 70 - 75% all time during test.<br>
-----------------<br>
Memory OpenSim.exe       /         MySql server<br>
Start region at. 9.39h<br>
------------------------------------------------------------<br>
1.613.652 no users    9.40h                652.976<br>
2.140.920 no users    9.45h            "<br>
------------------------------------------------------------<br>
finish scripts load       9.46h            "<br>
<br>
I order in console "fcache clear file" 9.47h Im not using memory cache. "<br>
------------------------------------------------------------<br>
2.142.964 no users 9.47h            "<br>
2.134.240 no users 9.48h                  653.140<br>
1.468.540 no users 9.49h<br>
1.148.276 no users 9.50h (fcache clear finished.)<br>
<br>
Test with 2 users<br>
-------------------------------------------------------------<br>
1.148.384 Login in one user 9.54H (RADEGAST)<br>
1.185.828 with 1 user  9.56h<br>
1.337.280 with 2 users 9.58h            734.548<br>
<br>
1.389.148 2 users one is searching in his inventory     735.900<br>
<br>
1.411.896 logout one user 10.01h        736.452<br>
1.515.700 1 user 10.02H<br>
1.271.528 1 user 10.03H                    736.468<br>
---------------------------------------------------<br>
1.257.620 logout user No users in 10.04H    736.692<br>
1.221.208 no users 10.05h            736.692<br>
1.207.296 no users 10.07h            736.692<br>
1.204.980 no users 10.07h            735.660<br>
1.204.736 no users 10.09h            735.660<br>
<br>
------------simultaneus 8 users login at 10.10h<br>
---------------------------------------------------------------<br>
<br>
1.228.172 10.10h.<br>
1.427.396 10.11h  5 users login<br>
1.699.788 10.12h   8 users login<br>
1.937.552 10.13h 8 users in home<br>
2.008.496 10.14h 8 users in home        745.468<br>
2.010.358 10.15h 8 users in home        745.928<br>
1.960.540 10.14h 8 users in home        745.944<br>
1.887.942 10.15h 8 users in home        "<br>
1.946.372 10.16h 8 users in home        "<br>
1.902.660 10.17h 8 users in home location    "<br>
1.927.866 10.18h    "            "<br>
1.872.444 10.19h    "            "<br>
1.885.264 10.20h    "            "<br>
1.838.972 10.23h    "            "<br>
1.908.056 10.25h    "<br>
<br>
Now logout all users one by minute.<br>
<br>
1 - 1.906.736 10.26h                746.528<br>
2 - 1.907.524 10.27h                746.532<br>
3 - 1.876.456 10.28h                746.612<br>
4 - 1.884.836 10.29h                "<br>
5 - 1.788.868 10.30h                746.852<br>
6 - 1.732.212 10.31h                "<br>
7 - 1.756.340 10.32h                "<br>
8 - 1.648.408 10.33h                "<br>
NO USERS<br>
1.629.464 10.34h                "<br>
1.618.988 10.36h<br>
1.434.444 10.37h<br>
<br>
Robust.exe always near 136.570K<br>
---------------------------------------------------------<br>
10.17h When have 8 users STATS:<br>
---------------------------------------------------------<br>
Region (Continente) # show stats<br>
<br>
<br>
CONNECTION STATISTICS<br>
Client logouts due to no data receive timeout: 0<br>
<br>
<br>
SAMPLE FRAME STATISTICS<br>
Dilatn  SimFPS  PhyFPS  AgntUp  RootAg  ChldAg  Prims   AtvPrm  AtvScr ScrLPS<br>
 1.00      55    55.6     0.0       8       0   56152      25    4501 10991070<br>
<br>
<br>
PktsIn  PktOut  PendDl  PendUl  UnackB  TotlFt  NetFt   PhysFt  OthrFt AgntFt<br>
ImgsFt<br>
   20     123       0       0    1142    18.1     0.0     0.4     0.0 0.6<br>
  0.2<br>
<br>
<br>
MEMORY STATISTICS<br>
Heap allocated to OpenSim   : 1647 MB<br>
Last heap allocation rate   : 8.061 MB/s<br>
Average heap allocation rate: 9.906 MB/s<br>
Process memory              : 2007 MB<br>
<br>
10.46H NO USERS STATS<br>
------------------------------------------------------<br>
Region (Continente) # show stats<br>
<br>
<br>
CONNECTION STATISTICS<br>
Client logouts due to no data receive timeout: 0<br>
<br>
<br>
SAMPLE FRAME STATISTICS<br>
Dilatn  SimFPS  PhyFPS  AgntUp  RootAg  ChldAg  Prims   AtvPrm  AtvScr ScrLPS<br>
 1.00      55    55.3     0.0       0       0   54875      24    4451 13512840<br>
<br>
<br>
PktsIn  PktOut  PendDl  PendUl  UnackB  TotlFt  NetFt   PhysFt  OthrFt AgntFt<br>
ImgsFt<br>
   13      78       0       0       0    18.3     0.0     0.6     0.0 0.0<br>
  0.0<br>
<br>
<br>
MEMORY STATISTICS<br>
Heap allocated to OpenSim   : 768 MB<br>
Last heap allocation rate   : 1.732 MB/s<br>
Average heap allocation rate: 2.493 MB/s<br>
Process memory              : 1493 MB<br>
<br>
For me all is ok.<br>
<br>
<br>
<br>
<br>
2015-05-28 1:53 GMT+02:00 Teravus Ovares <<a href="mailto:teravus@gmail.com" target="_blank">teravus@gmail.com</a>>:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<a href="https://www.jetbrains.com/dotmemory/" target="_blank">https://www.jetbrains.com/dotmemory/</a> dotmemory has been relatively<br>
successful at identifying memory issues in the past.<br>
<br>
That said, it's not free and there may be free alternatives.....  but be<br>
advised you want one that supports managed memory...    and one that works<br>
well with Mono.Addins.    Many free ones in the past have had issues<br>
dynamically loading modules with Mono.addins.   If the modules are not<br>
loaded, you will see the server come up with no regions and it will be<br>
pretty useless for testing.   Testing physics is a bit harder because it is<br>
both managed and unmanaged...   so you'll need to examine the pinned memory.<br>
Also, note that while running the simulator in a profiler such as dotMemory,<br>
it will run noticeably slower depending on how you do the profiling.<br>
<br>
Regards<br>
<br>
Teravus<br>
<br>
On Wed, May 27, 2015 at 3:01 AM, M.E. Verhagen <<a href="mailto:marceled9@gmail.com" target="_blank">marceled9@gmail.com</a>> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
The memory consumption is troubling.<br>
<br>
It seems to be an cross platform issue, it happens on linux, mac and also<br>
windows.<br>
<br>
The script engine can be responsible for the skyrocketing of the memory<br>
usage when an avatar enters the region.<br>
The inventory system is also called as a possible suspect.<br>
Also the physics system can be un issuer.<br>
<br>
This throws up a question, how can the memory usage be broken down, to see<br>
what part is to blame ?<br>
<br>
_______________________________________________<br>
Opensim-users mailing list<br>
<a href="mailto:Opensim-users@opensimulator.org" target="_blank">Opensim-users@opensimulator.org</a><br>
<a href="http://opensimulator.org/cgi-bin/mailman/listinfo/opensim-users" target="_blank">http://opensimulator.org/cgi-bin/mailman/listinfo/opensim-users</a><br>
<br>
</blockquote>
<br>
<br>
_______________________________________________<br>
Opensim-users mailing list<br>
<a href="mailto:Opensim-users@opensimulator.org" target="_blank">Opensim-users@opensimulator.org</a><br>
<a href="http://opensimulator.org/cgi-bin/mailman/listinfo/opensim-users" target="_blank">http://opensimulator.org/cgi-bin/mailman/listinfo/opensim-users</a><br>
<br>
</blockquote>
_______________________________________________<br>
Opensim-users mailing list<br>
<a href="mailto:Opensim-users@opensimulator.org" target="_blank">Opensim-users@opensimulator.org</a><br>
<a href="http://opensimulator.org/cgi-bin/mailman/listinfo/opensim-users" target="_blank">http://opensimulator.org/cgi-bin/mailman/listinfo/opensim-users</a> <br>
_______________________________________________<br>
Opensim-users mailing list<br>
<a href="mailto:Opensim-users@opensimulator.org" target="_blank">Opensim-users@opensimulator.org</a><br>
<a href="http://opensimulator.org/cgi-bin/mailman/listinfo/opensim-users" target="_blank">http://opensimulator.org/cgi-bin/mailman/listinfo/opensim-users</a><br>
</div></div></blockquote></div><br></div>