aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region (unfollow)
Commit message (Collapse)AuthorFilesLines
2013-07-22Add experimental stubs for an extension function interface on bothRobert Adams2-0/+15
PhysicsScene and PhysicsActor.
2013-07-22BulletSim: freshen up the code for constraint based linksets.Robert Adams3-23/+64
2013-07-21Minor cosmetic changes.Diva Canto1-27/+23
2013-07-21Minor aesthetic change to make things more clear.Diva Canto1-1/+2
2013-07-21The quaternion delta was a bit to high, now that the head rotation is out of ↵Diva Canto1-1/+1
the equation. (head rotation was the problematic one)
2013-07-21EDIT BEAMS!!! They had been missing from OpenSim since ever. Thanks to ↵Diva Canto4-26/+10
lkalif for telling me how to route the information. The viewer effect is under the distance filter, so only avatars with cameras < 10m away see the beams.
2013-07-21Filter certain viewer effects depending on distance between the avatar that ↵Diva Canto1-7/+25
is generating the effect and the cameras of the observers. In particular, this applies to LookAt (which is really verbose and occurs every time users move the mouse) and Beam (which doesn't occur that often, but that can be extremely noisy (10.sec) when it happens)
2013-07-21A couple of small optimizations over the previous commitDiva Canto2-9/+11
2013-07-21Manage AgentUpdates more sanely:Diva Canto4-146/+180
- The existing event to scene has been split into 2: OnAgentUpdate and OnAgentCameraUpdate, to better reflect the two types of updates that the viewer sends. We can run one without the other, which is what happens when the avie is still but the user is camming around - Added thresholds (as opposed to equality) to determine whether the update is significant or not. I thin these thresholds are ok, but we can play with them later - Ignore updates of HeadRotation, which were problematic and aren't being used up stream
2013-07-21Fixed the stats in show client stats. Also left some comments with ↵Diva Canto3-9/+19
observations about AgentUpdates.
2013-07-21furhter shorten CheckAgentUpdateSignificance(). No real perf impact.Justin Clark-Casey (justincc)1-7/+5
2013-07-21Remove some pointless code in CheckAgentUpdateSignificance()Justin Clark-Casey (justincc)1-30/+20
2013-07-21Make the check as to whether any particular inbound AgentUpdate packet is ↵Justin Clark-Casey (justincc)3-60/+131
significant much earlier in UDP processing (i.e. before we pointlessly place such packets on internal queues, etc.) Appears to have some impact on cpu but needs testing.
2013-07-21Add measure of number of inbound AgentUpdates that were seen as significant ↵Justin Clark-Casey (justincc)2-3/+12
to "show client stats" (i.e. sent on for further processing instead of being discarded) Added here since it was the most convenient place Number is in the last column, "Sig. AgentUpdates" along with percentage of all AgentUpdates Percentage largely falls over time, most cpu for processing AgentUpdates may be in UDP processing as turning this off even earlier (with "debug lludp toggle agentupdate" results in a big cpu fall Also tidies up display.
2013-07-21Hack in console command "debug lludp toggle agentupdate" to allow ↵Justin Clark-Casey (justincc)1-0/+24
AgentUpdate in packets to be discarded at a very early stage. Enabling this will stop anybody from moving on a sim, though all other updates should be unaffected. Appears to make some cpu difference on very basic testing with a static standing avatar (though not all that much). Need to see the results with much higher av numbers.
2013-07-21minor: provide user feedback in the log for now when udp in/out bound ↵Justin Clark-Casey (justincc)1-4/+8
threads are started/stopped
2013-07-21Fix up a temporary debugging change from last commit which stopped "lludp ↵Justin Clark-Casey (justincc)1-2/+1
stop out" from actually doing anything
2013-07-21Do some simple queue empty checks in the main outgoing udp loop instead of ↵Justin Clark-Casey (justincc)5-22/+92
always performing these on a separate fired thread. This appears to improve cpu usage since launching a new thread is more expensive than performing a small amount of inline logic. However, needs testing at scale.
2013-07-18BulletSim: add position resetting for stationary avatars so they don'tRobert Adams2-5/+20
move around when standing on a stationary object. Create proper linkage between BSCharacter and its actor by generating a UpdatedProperties event the same way BSPrim does.
2013-07-18Changed the timoeut of EQ 502s (no events) to 50 secs. The viewer post ↵Diva Canto1-2/+9
requests timeout in 60 secs. There's plenty of room for improvement in handling the EQs. Some other time...
2013-07-18try Hacking in an AutoResetEvent to control the outgoing UDP loop instead of ↵Justin Clark-Casey (justincc)2-2/+28
a continuous loop with sleeps. Does appear to have a cpu impact but may need further tweaking
2013-07-18Reverting the reverts I did yesterday. cpu-branch has now beenDiva Canto1-3/+5
successfully tested, and I'm merging back those changes, which proved to be good. Revert "Revert "Cleared up much confusion in PollServiceRequestManager. Here's the history:"" This reverts commit fa2370b32ee57a07f27501152c3c705a883b13d8.
2013-07-18Added MinPoolThreads to ini [Startup] section to control SmartThreadPool.Dan Lake1-1/+3
2013-07-17Revert "Cleared up much confusion in PollServiceRequestManager. Here's the ↵Diva Canto1-5/+3
history:" This reverts commit e46459ef21e1ee5ceaeca70365a7c881d33b09ce.
2013-07-17command line kick user now uses exact name match instead of substring search ↵Dan Lake1-2/+3
to avoid kicking the wrong user or multiple wrong users.
2013-07-17Cleared up much confusion in PollServiceRequestManager. Here's the history:Diva Canto1-3/+5
When Melanie added the web fetch inventory throttle to core, she made the long poll requests (EQs) effectively be handled on an active loop. All those requests, if they existed, were being constantly dequeued, checked for events (which most often they didn't have), and requeued again. This was an active loop thread on a 100ms cycle! This fixes the issue. Now the inventory requests, if they aren't ready to be served, are placed directly back in the queue, but the long poll requests aren't placed there until there are events ready to be sent or timeout has been reached. This puts the LongPollServiceWatcherThread back to 1sec cycle, as it was before.
2013-07-17BulletSim: fix small bug where everything looked like it was collidingRobert Adams2-6/+10
before the first simulator step.
2013-07-16Removed the MapItems thread. Redirected the map items requests to the ↵Diva Canto2-9/+45
services throttle thread. Didn't change anything in how that processor is implemented, for better or for worse.
2013-07-16Improvements to the ServiceThrottleModule: added a category and an itemid to ↵Diva Canto3-11/+36
the interface, so that duplicate requests aren't enqueued more than once.
2013-07-16UserManagementModule: in the continuation, call the method that also looks ↵Diva Canto1-2/+2
up the cache, because the resource may be here in the meantime
2013-07-16Added config var to fiddle with the Interval for the service throttle threadDiva Canto1-1/+4
2013-07-16Attachments module only registers when enabled. This enables alternative ↵Dan Lake3-6/+12
attachments module implementations. All calls to Scene.AttachmentsModule are checking for null. Ideally, if we support disabling attachments then we need a null attachments module to register with the scene.
2013-07-16Deleted a couple of verbose messagesDiva Canto2-4/+2
2013-07-16Added IServiceThrottleModule.csDiva Canto1-0/+11
2013-07-16Changed the name to ServiceThrottle/ServiceThrottleModule in order to ↵Diva Canto1-0/+0
reflect its more generic nature.
2013-07-16Eliminated the UserManagement/UserManagementModule throttle thread. Made the ↵Diva Canto2-189/+148
other one generic, taking any continuation.
2013-07-16In the pursuit of using less CPU: now trying to avoid blocking queues ↵Diva Canto2-15/+120
altogether. Instead, this uses a timer. No sure if it's better or worse, but worth the try.
2013-07-16Actually use DoubleQueue in UserManagement/UserManagementModuleDiva Canto1-1/+1
2013-07-16High CPU hunt: try a different blocking queue, DoubleQueueDiva Canto2-1/+3
2013-07-16revert last commit which seems to conflict with DoubleQueue internals. The ↵dahlia1-10/+5
random crash might be in DoubleQueue instead. See http://pastebin.com/XhNBNqsc
2013-07-16add locking to internal queue in WebFetchInvDescModule; lack of which caused ↵dahlia1-5/+10
a random crash in a load test yesterday
2013-07-16Simplify EventQueue cap setup so that it is also stat monitored.Justin Clark-Casey (justincc)1-45/+29
Curiously, the number of requests received is always one greater than that shown as handled - needs investigation
2013-07-15Add request received/handling stats for caps which are served by http poll ↵Justin Clark-Casey (justincc)5-69/+110
handlers. This adds explicit cap poll handler supporting to the Caps classes rather than relying on callers to do the complicated coding. Other refactoring was required to get logic into the right places to support this.
2013-07-15Revert "Puts RequestImage (UDP) back to asyn -- CPU spike hunt"Diva Canto1-1/+1
This reverts commit b060ce96d93a33298b59392210af4d336e0d171b.
2013-07-15Guard against null refDiva Canto1-1/+2
2013-07-15Puts RequestImage (UDP) back to asyn -- CPU spike huntDiva Canto1-1/+1
2013-07-15Revert the revertDiva Canto1-0/+2
Revert "Trying to hunt the CPU spikes recently experienced." This reverts commit ac73e702935dd4607c13aaec3095940fba7932ca.
2013-07-15Protect against null requestsDiva Canto2-12/+16
2013-07-15Trying to hunt the CPU spikes recently experienced.Diva Canto1-2/+0
Revert "Comment out old inbound UDP throttling hack. This would cause the UDP" This reverts commit 38e6da5522a53c7f65eac64ae7b0af929afb1ae6.
2013-07-14Cleanup old hg sessions (older than 2 days)Diva Canto1-2/+5