aboutsummaryrefslogtreecommitdiffstatshomepage
Commit message (Collapse)AuthorAgeFilesLines
* Move the inventory request lock introduced in git master a58152bd to ↵Justin Clark-Casey (justincc)2014-08-092-27/+47
| | | | | | | HGInventoryBroker to preserve that behaviour there but allow 2 simultaneous inv requests (chiefly WebFetch) rather than 1 This lock serialized all requests and made the inventory throttling in WebFetch redundant. By moving this lock, two simultaneous requests may now take place which may help with http://opensimulator.org/mantis/view.php?id=7054
* Change RootRotationUpdateTolerance from 0.01 to 0.1 in code as well.Justin Clark-Casey (justincc)2014-08-081-1/+1
|
* Change MaxPoolThreads default in code as well from 15 to 300Justin Clark-Casey (justincc)2014-08-081-1/+1
|
* Reduce default rotation AgentUpdate output sensitivity to a setting that ↵Justin Clark-Casey (justincc)2014-08-081-1/+1
| | | | | | | | | | cuts down UDP traffic without obvious adverse effects on observed avatar rotations. Experimentally, on the Linden Lab grid the avatar can rotate slightly before triggering AvatarUpdates, whereas this is practically impossible in OpenSimulator. These updates allow other avatars to see rotations, though sensitivity is low since other avatars can only be seen in one of 8 body rotations. This commit changes sensitivity from 0.01 to 0.1, which better matches LL and reduces UDP traffic which has a beneficial impact on network and CPU load. This has no impact on rotations in the simulator itself so simulation fidelity is the same as before. To change this setting back for test/other purposes, edit RootRotationUpdateTolerance in the [InterestManagement] section of OpenSim.ini
* Change default max threads if SmartThreadPool is used as the main thread ↵Justin Clark-Casey (justincc)2014-08-081-1/+1
| | | | | | | | | pool from 15 to 300 Running out of such threads under heavy load causes delayed packet processing which can lead to spurious UDP resends and knock on issues. We already massively boost the min/max builtin pool worker and IOCP threads (which even with STP are still used for inbound network requests) without obvious adverse effects. The threads are only instantiated if they are required. This change does not affect other async_call_method options.
* Fix short help string for show region command.BlueWall2014-08-061-1/+1
|
* OpenSimExtrasBlueWall2014-08-0615-434/+182
| | | | Move the experimental extra features functionality into the GridService. This sends default values for map, search and destination guide, plus ExportSupported control to the region on startup. Please watch http://opensimulator.org/wiki/SimulatorFeatures_Extras for changes and documentation.
* Fixed crash when using Allowed/Denied Viewers, and the viewer's name is ↵Oren Hurvitz2014-08-061-2/+2
| | | | | | shorter than one of the test strings This fixes http://opensimulator.org/mantis/view.php?id=7294
* Add RootPositionUpdateTolerance, RootRotationUpdateTolerance, and ↵Justin Clark-Casey (justincc)2014-08-062-8/+23
| | | | | | | RootVelocityUpdateTolerance parameters to [InterestManagement] in OpenSimDefaults.ini These govern when AgentUpdates are sent to observers on position, rotation and velocity changes to an avatar (including the avatar themselves). Higher values reduce AgentUpdate traffic but at a certain level will degrade smoothness of avatar and perceived avatar movement.
* refactor: Rename recent new Client*UpdateTolerance to Root*UpdateTolerance ↵Justin Clark-Casey (justincc)2014-08-063-19/+19
| | | | for better accuracy and consistency with other similar parameters
* Fixed premature closing of the connection in DataSnapshotManagerOren Hurvitz2014-08-051-14/+14
|
* Go back to disconnecting bots in parallel since serially is too slow.Justin Clark-Casey (justincc)2014-08-051-3/+5
| | | | However, disconnecting now halts any current connection, with the possible exception of the single currently connecting bot.
* Put pCampbot "disconnect" command on separate thread like "connect" so that ↵Justin Clark-Casey (justincc)2014-08-051-27/+35
| | | | we can continue to run status commands whilst bots are disconnecting.
* Allow "show bots" pCampbot console command to quickly report status by not ↵Justin Clark-Casey (justincc)2014-08-051-18/+20
| | | | locking entire bot list for almost 100% of connection time.
* Make currently unfiltered EventQueue log messages only appear now at ↵Justin Clark-Casey (justincc)2014-08-051-16/+24
| | | | | | | | | DebugLevel 1 This covers event queue setup messages and some outgoing messages (e.g. EnableSimulator) In my experience these messages are only useful if you really know what they mean and you're looking for them Otherwise, they're quite spammy. Event queue DebugLevel 1 is enabled with the "debug eq 1" console command
* Fix typo in log messageBlueWall2014-08-021-1/+1
|
* Fix regression in SimulatorFeatures module that would stop OpenSimulator ↵Justin Clark-Casey (justincc)2014-08-011-12/+20
| | | | from starting if no [SimulatorFeatures] section was present in config.
* If REMOVEAGENTFROMGROUP core groups call fails because requesting agent does ↵Justin Clark-Casey (justincc)2014-07-314-10/+22
| | | | | | | not have sufficient permission, return null failure result rather than true. On non-HG this is on the only recognized failure state so we can return more information in the error result. On HG there are multiple failure states which would require more work to distinguish, so currently return the unsatisfying "Internal Error" like some other existing calls.
* Don't overwrite the null result with the true result is groups service ↵Justin Clark-Casey (justincc)2014-07-312-2/+4
| | | | REMOVEAGENTFROMGROUP call has failed because of missing parameters
* Add region-side extra feature setting for destination guideBlueWall2014-07-312-0/+6
|
* BulletSim: thread safe handling of list of avatars.Robert Adams2014-07-301-3/+18
| | | | Fix for 7284 which is an enumeration exception when starting up a region.
* Fix bug where calling PUTGROUP on the core groups service without specifying ↵Justin Clark-Casey (justincc)2014-07-311-1/+1
| | | | | | a ServiceLocation would set the group name to an empty string. This should set the ServiceLocation to an empty string instead.
* Add Chat module extra feature settings to GridExtraFeatures serviceBlueWall2014-07-303-0/+27
|
* Simulator Extra Features ServiceBlueWall2014-07-307-9/+415
| | | | | Provide a means for regions to fetch extra features supported by modern viewers from a central location .
* In TerrainModule, lock m_perClientPatchUpdates when removing entries.Justin Clark-Casey (justincc)2014-07-291-3/+2
| | | | | This may have been the trigger CheckSendingPatchesToClients() dictionary out of sync exceptions in today's load test. Don't need to check ContainsKey() since Remove() returns false on a request to remove a key that it doesn't have
* Implement "scene debug set root-upd-per" for dropping 1 in N root agent ↵Justin Clark-Casey (justincc)2014-07-293-7/+41
| | | | | | | updates except to originator For experimental purposes. Also corrects a previous bug where each terse update sent was counted rather than each set of terse updates to agents.
* Add debug mechanism for only sending 1 in N AgentUpdate packets to child agents.Justin Clark-Casey (justincc)2014-07-293-1/+30
| | | | | | Allows experiments in manually reducing updates under heavy load. Activated by "debug scene set client-upd-per" console command. In a simple test, can send as few as every 4th update before observed movement starts becoming disturbingly rubber-banded.
* Add "debug scene set appear-refresh true|false" to control whether periodic ↵Justin Clark-Casey (justincc)2014-07-291-0/+12
| | | | | | | appearance refresh is active. Corresponds to ResendAppearnceUpdates setting in [Appearance] in OpenSim.ini This was originally implemented to alleviate cloud appearance problems but could be too expensive with large numbers of avatars.
* Make it possible to change avatar position update, rotation and velocity ↵Justin Clark-Casey (justincc)2014-07-293-29/+79
| | | | | | | tolerances on the fly. This is done via "debug scene set client-pos-upd, client-rot-upd, client-vel-upd". For testing purposes.
* Allow the "debug scene set physics false|true" command to work when ↵Justin Clark-Casey (justincc)2014-07-298-39/+78
| | | | | | bulletsim physics is running in a separate thread. This will also allow the "disable physics" setting in the region debug viewer dialog to work in this circumstance.
* minor: make "debug scene set" usage command accurate again from last commit ↵Justin Clark-Casey (justincc)2014-07-291-2/+1
| | | | f6f7585
* Add a "debug scene set child-repri <double>" command that allows child ↵Justin Clark-Casey (justincc)2014-07-294-21/+79
| | | | | | | | reprioritization distance to be changed on the fly. This governs when child agent position changes are sent to neighbouring regions. Corresponding config parameter is ChildReprioritizationDistance in [InterestManagement] in OpenSim.ini For test purposes.
* BulletSim: rearrange code for sensing whether shapes have beenRobert Adams2014-07-263-60/+60
| | | | | | constructed. Add routine to check for failed and use that method rather than checking individual state.
* Add inventory.<url>.RequestsMade stat.Justin Clark-Casey (justincc)2014-07-262-0/+22
| | | | | | This gives a count of all requests made to the remote inventory service. This is finer grained than inventory.httpfetch.ProcessedFetchInventoryRequests since such a request can be comprised of many individual inv service calls. In addition, this will count requests that don't go through the HTTP inventory fetch (e.g. HG, archiving, etc.)
* Fix issue with TestTextureNotFound in previous commit 1e3027aJustin Clark-Casey (justincc)2014-07-261-1/+1
| | | | Stop failure by actually giving the test handler a path instead of null
* Temporary stop CAPS service points from being added to stats as this can be ↵Justin Clark-Casey (justincc)2014-07-261-12/+17
| | | | | | | a huge number. A stop gap solution - a better one may be to improve stats display on simulator-side. Caps information is still accessible via the "show caps stats by user" and "show caps stats by cap" commands
* Add undocumented RemoteRequestTimeout seconds parameter to xinventory requestsJustin Clark-Casey (justincc)2014-07-251-4/+14
| | | | | This is for testing purposes (chiefly http://opensimulator.org/mantis/view.php?id=7054) so many not be permanent Setting this will change the xinventory request timeout from the simulator from the default 100 seconds
* Add stats for service endpoints using existing data.Justin Clark-Casey (justincc)2014-07-251-0/+14
| | | | | For each service endpoint (e.g. posts to the xinventory service), a stat is available which shows the number of requests received and moving average per second The full name is "service.<http-method>:<path>.requests (e.g. service.POST:/xinventory.requests)
* fix comments in physics section of [Startup] to reflect the actual default ↵Michael Cerquoni2014-07-251-1/+1
| | | | engine.
* Add suppression of grid-side "show regions" command in simulator console for ↵Justin Clark-Casey (justincc)2014-07-251-0/+1
| | | | | | | Hypergrid setups as well as normal grid. Should have been done in recent commit 6048dfcd Resolves http://opensimulator.org/mantis/view.php?id=7281
* Revert "Write UDP statistics to the log, not just the console (e.g., "show ↵Justin Clark-Casey (justincc)2014-07-252-59/+63
| | | | | | | | | | | | queues")" Fixes http://opensimulator.org/mantis/view.php?id=7280 It can't be done this way because the stats data needs to show up on the console at all log levels, not just debug. But this means setting it to log at fatal, which is not appropriate for this stuff in the log. I understand the desire but this has to be done some other way, perhaps by (yet another) config parameter. Also, this was already being done with the ClientStatsReport but that also should be done in another way, I think. This reverts commit 5d534127663899cd5592c865b1d00855fce25854.
* Add missing default female hair texture for Ruth avatar.Justin Clark-Casey (justincc)2014-07-242-0/+6
| | | | | | This was not in library assets despite being referred to in assets/BodyPartsAssetSet/base_hair.dat Texture ID is 7ca39b4c-bd19-4699-aff7-f93fd03d3e7b Taken from https://github.com/openmetaversefoundation/simiangrid/blob/master/Grid/default_assets/Default%20Female%20Hair-7ca39b4c-bd19-4699-aff7-f93fd03d3e7b.j2c
* Fix recent regression in 3c6becd5 where login or hg login to variable sized ↵Justin Clark-Casey (justincc)2014-07-224-20/+17
| | | | | | | | | regions failed with outdated simulator message. I forgot that a null 'their version' would not be passed over the wire and ends up as an empty string instead (like older simulators). So instead pass through the correct simulator protcol version instead (SIMULATOR/0.3) when querying from login or hg login. Also removes a debug console write for agent limit accidentally left in for the same commit. Relates to mantis 7276
* minor: convert tabs to spaces that got in on recent commit 4a9282eJustin Clark-Casey (justincc)2014-07-211-5/+5
|
* On login and first HG entrance to a foreign grid, perform query access ↵Justin Clark-Casey (justincc)2014-07-215-14/+35
| | | | checks before proceeding.
* minor: Limit processor related stats to 3 decimal places instead of all the ↵Justin Clark-Casey (justincc)2014-07-211-4/+4
| | | | | | places. Easier to read and analyze, and probably still too much detail (1 dp would probably be fine)
* Fix CPU processor use reporting on Mono.Justin Clark-Casey (justincc)2014-07-211-10/+4
| | | | | | Despite the comments in the code, it appears that the issue where the .NET performance counter was wrongly idle time time on Mono was fixed in 2009. https://bugzilla.novell.com/show_bug.cgi?id=468625 Which means that the workaround is no longer necessary and produces bad results instead.
* Revert "Removed unused files: Texture/Mesh server connectors"root2014-07-212-0/+150
| | | | This reverts commit f6ea5088f4cc76eddb05b20b5d768f761b0fbd15.
* Add missing parts to profiles - classified deleteBlueWall2014-07-212-14/+10
|
* Fixed: after a Hypergrid teleport, attachments often either disappear, or ↵Oren Hurvitz2014-07-211-10/+13
| | | | | | | | | | | appear both on the avatar AND as in-world objects. Another manifestation of this bug is that after a Hypergrid teleport, when you click on one of the avatar's attachments the object doesn't show its name. This means that the viewer knows the attachment is there, but the simulator does not. The problem was caused by treating Hypergrid teleports as if they're Logins (because the teleport flag ViaLogin is enabled). This may fix: http://opensimulator.org/mantis/view.php?id=7238 This may fix: http://opensimulator.org/mantis/view.php?id=7220