aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/Monitoring (unfollow)
Commit message (Collapse)AuthorFilesLines
2015-10-18On to 0.8.3!Diva Canto1-1/+1
Conflicts: OpenSim/Region/PhysicsModules/ConvexDecompositionDotNet/Properties/AssemblyInfo.cs
2015-10-18On to 0.8.3!Diva Canto1-1/+1
2015-09-10remove a avn thing before it gets into coreUbitUmarov1-11/+0
2015-09-06let extra stats travel side by side with viewers ones... try to fix damm ↵UbitUmarov1-9/+19
array indexes all over the place
2015-09-05fix modifing m_threads on a foreach scanning itUbitUmarov1-1/+3
2015-09-03 at last we can login and see objects ( friends is dead and disable inUbitUmarov1-4/+4
scenepresence)
2015-08-11Prevent a crash if "debug jobengine log" is entered without a log levelOren Hurvitz1-0/+6
2015-05-04Fixed a bug that would cause the sim extra stats reporter to fail in ↵Steven Zielinski1-1/+1
reporting stats. The bug was caused by the current process threads which can return null references. Test Plan: Tested on windows using opensim standalone and the json stats. Reviewers: rlouden, ssirigam, clattin, martin, kboswell Reviewed By: rlouden, ssirigam, clattin, martin, kboswell Differential Revision: http://cr.irl.ucf.edu/D277
2015-05-04Fixed vocabulary in a comment to match the code.Steven Zielinski1-1/+1
2015-05-01Fixed a bug that would cause the sim extra stats reporter to fail in ↵Steven Zielinski1-1/+5
reporting stats. The bug was caused by the current process threads which can return null references. Test Plan: Tested on windows using opensim standalone and the json stats. Reviewers: rlouden, kboswell, clattin, martin, ssirigam Differential Revision: http://cr.irl.ucf.edu/D277
2015-04-29Updated all occurrences of AssemblyVersion("0.8.1.*") to ↵Diva Canto1-1/+1
AssemblyVersion("0.8.2.*")
2015-04-21Phase 2 additons with Frame Dilation metric.Robert Louden1-9/+10
2015-04-21Moved over metrics from previous OpenSim 0.8.0.3 repository (this new ↵Glenn Martin1-0/+47
repository is now the master branch from OpenSim).
2015-02-25On shutdown (job engine stop), don't allow the ObjectDisposedException on ↵Justin Clark-Casey (justincc)1-2/+13
BlockingCollection.Take() to propogate if the running thread checked IsRunning before the stop thread set it and disposed of the canellation source. Looks to address http://opensimulator.org/mantis/view.php?id=7453
2015-02-18Abbreviate the stats by removing unneeded and redundant elements. Human ↵Melanie Thielker3-3/+68
readability is overrated. Also add a (hardcoded) password.
2015-02-04Fix bug in JobEngine where an attempt to restart after stop would trigger an ↵Justin Clark-Casey (justincc)1-1/+2
exception because the cancellation source was not recreated.
2015-01-12Add the missing deleted and re-added JobEngine class from the previous ↵Justin Clark-Casey (justincc)1-0/+329
commit 8e1e8a0
2015-01-12Make the performance controlling job processing threads introduced in ↵Justin Clark-Casey (justincc)2-322/+74
conference code use a generic JobEngine class rather than 4 slightly different copy/pasted versions.
2015-01-01Fix cut-and-paste error that made StatsManager web fetch queriesRobert Adams1-1/+1
fail for container specification.
2014-11-25refactor: Move methods to start a monitored thread, start work in its own ↵Justin Clark-Casey (justincc)3-139/+224
thread and run work in the jobengine from Watchdog to a WorkManager class. This is to achieve a clean separation of concerns - the watchdog is an inappropriate place for work management. Also adds a WorkManager.RunInThreadPool() class which feeds through to Util.FireAndForget. Also switches around the name and obj arguments to the new RunInThread() and RunJob() methods so that the callback obj comes after the callback as seen in the SDK and elsewhere
2014-11-25Change jobengine logging command to "debug jobengine log <int>" rather than ↵Justin Clark-Casey (justincc)1-7/+6
loglevel, in common with similar commands.
2014-11-25Move conditionals which control whether a task is placed in the JobEngine ↵Justin Clark-Casey (justincc)1-2/+37
inside Watchdog.RunJob() (renamed from RunWhenPossible) and generalize them.
2014-11-25If an exception makes it to the top of a JobEngine request, catch and log ↵Justin Clark-Casey (justincc)1-1/+10
instead of letting it terminate the simulator...
2014-11-25Add loglevel to jobengine that can be controlled via "debug jobengine ↵Justin Clark-Casey (justincc)1-6/+26
loglevel <level>". Defaults to 0 Level 1 currently does verbose logging about every queued and processed job.
2014-11-25Temporarily add root agent rez attachments work to job engine if it is ↵Justin Clark-Casey (justincc)1-4/+4
running rather than as a fire and forget. Experiment to see if serializing attachment rez and send initial data jobs improves other parts of sim performance.
2014-11-25Add experimental job engine to see if queueing some existing async work ↵Justin Clark-Casey (justincc)2-0/+310
during root agent entry to a region improves perf rather than always attempting to execute everything concurrently Job engine is controlled via "debug jobengine start|stop|status". Can only currently be enabled and disabled dynamically at runtime. Currently only applies to code sending initial region data (objects, other avatar data) to a client.
2014-09-26Fix long-lived thread name logging.Justin Clark-Casey (justincc)1-1/+1
2014-09-17Undo "Revert "Small changes to threading to send thread names to unmanaged ↵BlueWall1-6/+7
threads. Needs Mono 3.6+ to see thread names in utilities like top -H . Some formatting of the thread name to fin in the 16 byte limit on Linux. Please test on Windows to see if the work has any adverse effects."" Fix for break in next commit This reverts commit 376fab140227e92dbd841436509a97b87c9e7792.
2014-09-17Revert "Small changes to threading to send thread names to unmanaged ↵BlueWall1-7/+6
threads. Needs Mono 3.6+ to see thread names in utilities like top -H . Some formatting of the thread name to fin in the 16 byte limit on Linux. Please test on Windows to see if the work has any adverse effects." This reverts commit af286d5fcb688e8b64202b6deca4f249e9a2b6b8. Issue with Jenkins builds
2014-09-17Small changes to threading to send thread names to unmanaged threads. Needs ↵BlueWall1-6/+7
Mono 3.6+ to see thread names in utilities like top -H . Some formatting of the thread name to fin in the 16 byte limit on Linux. Please test on Windows to see if the work has any adverse effects.
2014-09-09Make proper fix for last commit wrt Mantis 7317 by replacing disallowed c ↵Justin Clark-Casey (justincc)1-1/+1
char and not literal 'c'
2014-09-09For stat names containing periods, replace with '#' rather than throw exceptionJustin Clark-Casey (justincc)1-1/+2
In relation to http://opensimulator.org/mantis/view.php?id=7317
2014-09-05For monitoring purposes, start non-timeout tasks (which do not currently use ↵Justin Clark-Casey (justincc)1-11/+49
a threadpool) via Watchdog.RunInThread() rather than Util.RunThreadNoTimeout() The functionality is the same but this allow us to monitor such tasks via "show threads" and abort them for test purposes, etc. Also extends thread names to provide more info (e.g. SendInitialDataToClient says what client the task is for).
2014-08-13Add 'server' stats information to pCampbot, as used elsewhere in OpenSimulatorJustin Clark-Casey (justincc)1-0/+3
This adds the "show stats", "stats record", etc. commands and information on available Threadpool threads, etc. It also adds the Watchdog which logs warnings if time between executions is unexpectedly large.
2014-07-25Revert "Write UDP statistics to the log, not just the console (e.g., "show ↵Justin Clark-Casey (justincc)1-22/+31
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.
2014-07-21minor: Limit processor related stats to 3 decimal places instead of all the ↵Justin Clark-Casey (justincc)1-4/+4
places. Easier to read and analyze, and probably still too much detail (1 dp would probably be fine)
2014-07-21Fix CPU processor use reporting on Mono.Justin Clark-Casey (justincc)1-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.
2014-07-21Write UDP statistics to the log, not just the console (e.g., "show queues")Oren Hurvitz1-31/+22
2014-07-08Fix issue with running "stats record start|stop" console commandJustin Clark-Casey (justincc)1-4/+4
In commit e6080a38 (Wed Mar 19 00:29:36 2014) I renamed this from "debug stats record start|stop" Unfortunately, I didn't do this fully so before this commit "stats record start|stop" will report a usage failure with the old debug text. Unfortunately this is in the 0.8 release. The workaround is to repeat the last command twice (e.g. "stats record start start")
2014-06-17Change assembly versions to 0.8.1Justin Clark-Casey (justincc)1-1/+1
2014-03-21Add monitored thread last update times as stats in "show stats all"Justin Clark-Casey (justincc)1-0/+26
These have the format server.thread.<thread-name>
2014-03-19minor: Make "stats show" an alias for "show stats" command.Justin Clark-Casey (justincc)1-2/+10
2014-03-19Rename "debug stats record" command to "stats record" for consistency. Move ↵Justin Clark-Casey (justincc)1-3/+3
from debug to general command category
2014-03-19Allow a snapshot of stats to be dumped to a file with a "stats save" commandJustin Clark-Casey (justincc)1-3/+46
2014-03-18Allow "show stats" console command to take a full stat name and display only ↵Justin Clark-Casey (justincc)1-1/+23
that stat. For example, scene.test.RootAgents will show only the RootAgents stat in the scene named "test"
2013-11-15refactor: replace verbose checks with String.IsNullOrEmpty where applicable.Justin Clark-Casey (justincc)1-3/+3
Thanks to Kira for this patch from http://opensimulator.org/mantis/view.php?id=6845
2013-10-04Bump OPenSimulator version and assembly versions up to 0.8.0 DevJustin Clark-Casey (justincc)1-1/+1
2013-08-23minor: Correct typo on "debug stats record start" messageJustin Clark-Casey (justincc)1-1/+1
2013-08-17minor: remove mono compiler warning in StatsManagerJustin Clark-Casey (justincc)1-1/+1
2013-08-10Stats treaking. Update ToOSDMap for Stat and PercentageStat to returnRobert Adams4-150/+235
all the various numbers that have been added to the console output. Break out EventHistogram from CounterStat.