Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | minor: provide user feedback in the log for now when udp in/out bound ↵ | Justin Clark-Casey (justincc) | 2013-07-21 | 1 | -4/+8 |
| | | | | threads are started/stopped | ||||
* | Fix up a temporary debugging change from last commit which stopped "lludp ↵ | Justin Clark-Casey (justincc) | 2013-07-21 | 1 | -2/+1 |
| | | | | stop out" from actually doing anything | ||||
* | Do some simple queue empty checks in the main outgoing udp loop instead of ↵ | Justin Clark-Casey (justincc) | 2013-07-21 | 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. | ||||
* | BulletSim: add position resetting for stationary avatars so they don't | Robert Adams | 2013-07-18 | 2 | -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. | ||||
* | Changed the timoeut of EQ 502s (no events) to 50 secs. The viewer post ↵ | Diva Canto | 2013-07-18 | 1 | -2/+9 |
| | | | | | | requests timeout in 60 secs. There's plenty of room for improvement in handling the EQs. Some other time... | ||||
* | try Hacking in an AutoResetEvent to control the outgoing UDP loop instead of ↵ | Justin Clark-Casey (justincc) | 2013-07-18 | 2 | -2/+28 |
| | | | | | | a continuous loop with sleeps. Does appear to have a cpu impact but may need further tweaking | ||||
* | Reverting the reverts I did yesterday. cpu-branch has now been | Diva Canto | 2013-07-18 | 1 | -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. | ||||
* | Added MinPoolThreads to ini [Startup] section to control SmartThreadPool. | Dan Lake | 2013-07-18 | 1 | -1/+3 |
| | |||||
* | Merge branch 'master' of ssh://opensimulator.org/var/git/opensim | Diva Canto | 2013-07-17 | 1 | -2/+3 |
|\ | |||||
| * | Merge branch 'master' of git://opensimulator.org/git/opensim | Dan Lake | 2013-07-17 | 7 | -28/+98 |
| |\ | |||||
| * | | command line kick user now uses exact name match instead of substring search ↵ | Dan Lake | 2013-07-17 | 1 | -2/+3 |
| | | | | | | | | | | | | to avoid kicking the wrong user or multiple wrong users. | ||||
* | | | Revert "Cleared up much confusion in PollServiceRequestManager. Here's the ↵ | Diva Canto | 2013-07-17 | 1 | -5/+3 |
| |/ |/| | | | | | | | | | history:" This reverts commit e46459ef21e1ee5ceaeca70365a7c881d33b09ce. | ||||
* | | Merge branch 'master' of ssh://opensimulator.org/var/git/opensim | Diva Canto | 2013-07-17 | 2 | -6/+10 |
|\ \ | |||||
| * | | BulletSim: fix small bug where everything looked like it was colliding | Robert Adams | 2013-07-17 | 2 | -6/+10 |
| | | | | | | | | | | | | before the first simulator step. | ||||
* | | | Cleared up much confusion in PollServiceRequestManager. Here's the history: | Diva Canto | 2013-07-17 | 1 | -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. | ||||
* | | Removed the MapItems thread. Redirected the map items requests to the ↵ | Diva Canto | 2013-07-16 | 2 | -9/+45 |
| | | | | | | | | services throttle thread. Didn't change anything in how that processor is implemented, for better or for worse. | ||||
* | | Improvements to the ServiceThrottleModule: added a category and an itemid to ↵ | Diva Canto | 2013-07-16 | 3 | -11/+36 |
| | | | | | | | | the interface, so that duplicate requests aren't enqueued more than once. | ||||
* | | UserManagementModule: in the continuation, call the method that also looks ↵ | Diva Canto | 2013-07-16 | 1 | -2/+2 |
| | | | | | | | | up the cache, because the resource may be here in the meantime | ||||
* | | Merge branch 'master' of ssh://opensimulator.org/var/git/opensim | Diva Canto | 2013-07-16 | 3 | -6/+12 |
|\ \ | |/ | |||||
| * | Attachments module only registers when enabled. This enables alternative ↵ | Dan Lake | 2013-07-16 | 3 | -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. | ||||
* | | Added config var to fiddle with the Interval for the service throttle thread | Diva Canto | 2013-07-16 | 1 | -1/+4 |
|/ | |||||
* | Deleted a couple of verbose messages | Diva Canto | 2013-07-16 | 2 | -4/+2 |
| | |||||
* | Added IServiceThrottleModule.cs | Diva Canto | 2013-07-16 | 1 | -0/+11 |
| | |||||
* | Changed the name to ServiceThrottle/ServiceThrottleModule in order to ↵ | Diva Canto | 2013-07-16 | 1 | -0/+0 |
| | | | | reflect its more generic nature. | ||||
* | Eliminated the UserManagement/UserManagementModule throttle thread. Made the ↵ | Diva Canto | 2013-07-16 | 2 | -189/+148 |
| | | | | other one generic, taking any continuation. | ||||
* | In the pursuit of using less CPU: now trying to avoid blocking queues ↵ | Diva Canto | 2013-07-16 | 2 | -15/+120 |
| | | | | altogether. Instead, this uses a timer. No sure if it's better or worse, but worth the try. | ||||
* | Actually use DoubleQueue in UserManagement/UserManagementModule | Diva Canto | 2013-07-16 | 1 | -1/+1 |
| | |||||
* | High CPU hunt: try a different blocking queue, DoubleQueue | Diva Canto | 2013-07-16 | 2 | -1/+3 |
| | |||||
* | revert last commit which seems to conflict with DoubleQueue internals. The ↵ | dahlia | 2013-07-16 | 1 | -10/+5 |
| | | | | random crash might be in DoubleQueue instead. See http://pastebin.com/XhNBNqsc | ||||
* | add locking to internal queue in WebFetchInvDescModule; lack of which caused ↵ | dahlia | 2013-07-16 | 1 | -5/+10 |
| | | | | a random crash in a load test yesterday | ||||
* | Simplify EventQueue cap setup so that it is also stat monitored. | Justin Clark-Casey (justincc) | 2013-07-16 | 1 | -45/+29 |
| | | | | Curiously, the number of requests received is always one greater than that shown as handled - needs investigation | ||||
* | Merge branch 'master' of ssh://opensimulator.org/var/git/opensim | Justin Clark-Casey (justincc) | 2013-07-15 | 12 | -95/+109 |
|\ | |||||
| * | Revert "Puts RequestImage (UDP) back to asyn -- CPU spike hunt" | Diva Canto | 2013-07-15 | 1 | -1/+1 |
| | | | | | | | | This reverts commit b060ce96d93a33298b59392210af4d336e0d171b. | ||||
| * | Guard against null ref | Diva Canto | 2013-07-15 | 1 | -1/+2 |
| | | |||||
| * | Puts RequestImage (UDP) back to asyn -- CPU spike hunt | Diva Canto | 2013-07-15 | 1 | -1/+1 |
| | | |||||
| * | Revert the revert | Diva Canto | 2013-07-15 | 1 | -0/+2 |
| | | | | | | | | | | | | Revert "Trying to hunt the CPU spikes recently experienced." This reverts commit ac73e702935dd4607c13aaec3095940fba7932ca. | ||||
| * | Protect against null requests | Diva Canto | 2013-07-15 | 2 | -12/+16 |
| | | |||||
| * | Trying to hunt the CPU spikes recently experienced. | Diva Canto | 2013-07-15 | 1 | -2/+0 |
| | | | | | | | | | | | | Revert "Comment out old inbound UDP throttling hack. This would cause the UDP" This reverts commit 38e6da5522a53c7f65eac64ae7b0af929afb1ae6. | ||||
| * | Cleanup old hg sessions (older than 2 days) | Diva Canto | 2013-07-14 | 1 | -2/+5 |
| | | |||||
| * | Let's go easy on authenticating ChildAgentUpdates, otherwise this will be ↵ | Diva Canto | 2013-07-14 | 1 | -7/+5 |
| | | | | | | | | chaotic while ppl are using different versions of opensim. Warning only, but no enforcement. | ||||
| * | Fix broken tests -- the test setup was wrong... sigh. | Diva Canto | 2013-07-14 | 1 | -0/+1 |
| | | |||||
| * | Authenticate ChildAgentUpdate too. | Diva Canto | 2013-07-14 | 2 | -16/+29 |
| | | |||||
| * | Change the auth token to be the user's sessionid. | Diva Canto | 2013-07-14 | 3 | -6/+6 |
| | | |||||
| * | And this fixes the other failing tests. Justin, the thread pool is not being ↵ | Diva Canto | 2013-07-13 | 1 | -2/+0 |
| | | | | | | | | initialized in the tests! | ||||
| * | This should fix the failing test. | Diva Canto | 2013-07-13 | 1 | -2/+1 |
| | | |||||
| * | Deleted a line too many | Diva Canto | 2013-07-13 | 1 | -0/+3 |
| | | |||||
| * | Guard against unauthorized agent deletes. | Diva Canto | 2013-07-13 | 6 | -22/+42 |
| | | |||||
| * | Deleted GET agent all around. Not used. | Diva Canto | 2013-07-13 | 2 | -38/+0 |
| | | |||||
| * | Some more debug to see how many threads are available. | Diva Canto | 2013-07-13 | 1 | -0/+2 |
| | | |||||
| * | That didn't fix the problem. | Diva Canto | 2013-07-13 | 2 | -27/+38 |
| | | | | | | | | | | | | Revert "Trying to reduce CPU usage on logins and TPs: trying radical elimination of all FireAndForgets throughout CompleteMovement. There were 4." This reverts commit 682537738008746f0aca22954902f3a4dfbdc95f. |