linspector.github.io/_site/news/2013-10-21-v0.11-threading-and-benchmark/index.html

105 lines
4.7 KiB
HTML

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Linspector System Monitoring - v0.11 - Threading and Benchmark</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="System, Network, Service and Device Monitoring solution">
<meta name="author" content="Johannes Findeisen, Rafael Timmerberg">
<meta name="keywords" content="linspector,network,monitoring,watchguard,notification,system,alert,alarm,sla,vital,information">
<link rel="alternate" type="application/atom+xml" title="Linspector Atom Feed" href="/news/atom.xml">
<link rel="shortcut icon" href="/img/linspector.favicon.png" type="image/png">
<link href="/css/normalize.css" rel="stylesheet">
<link href="/css/bootstrap.min.css" rel="stylesheet">
<link href="/css/prettify.css" rel="stylesheet">
<link href="/css/table.css" rel="stylesheet">
<link href="/css/linspector.css" rel="stylesheet">
<script src="/js/jquery.min.js"></script>
<script src="/js/bootstrap.min.js"></script>
<script src="/js/github.commits.widget.js"></script>
<script src="/js/prettify/prettify.js"></script>
</head>
<body onload="prettyPrint()">
<div id="wrap">
<div class="navbar navbar-default navbar-fixed-top">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="/">Linspector</a>
</div>
<div class="navbar-collapse collapse">
<ul class="nav navbar-nav">
<!--<li><a href="/">Home</a></li>
<li><a href="/about/">About</a></li>
<li><a href="/features/">Features</a></li>
<li class="active"><a href="/news/">News</a></li>
<li><a href="/documentation/">Documentation</a></li>
<li><a href="/community/">Community</a></li>
<li><a href="/download/">Download</a></li>
<li><a href="/projects/">Projects</a></li>
<li><a href="/development/">Development</a></li>-->
</ul>
<ul class="nav navbar-nav navbar-right">
<li style="padding-left:6px;"><img src="/img/linspector.new.png" /></li>
</ul>
</div>
</div>
</div>
<div class="container">
<article>
<h2>v0.11 - Threading and Benchmark</h2>
<p>We have added a Linspector main thread today. The problem was that Linspector was started and had scheduled the Jobs and afterwards enabled the Backends and the Lish interface. Since Linspector currently schedules one Job every 3 seconds we had to wait a long time until Backends and the Lish was available to the user. Now Scheduling is done in a background thread and all interfaces are available after some few seconds. You will have access to all scheduled jobs right after starting Linspector and the list then grows in the background. That was a big improvement so we decided to set the version to 0.11.</p>
<p>We then started a small stress test using a configuration file with a lot of jobs polling many hosts to see if everythng works like expected. Below is a table showing the results. Be sure that these results are in no way reliable because they were made on hanez' notebook running severel other applications like the desktop but it really shows how powerful Linspector actually is. The configuration was using just the "tcpconnect" service with non existent hosts so the load will be much higher when polling existing hosts or more complex services like "httpget" or "snmpget".</p>
<p>The platform used was an Intel quadcore i7 @ 2.67GHz.</p>
<table>
<caption style="text-align:left;font-weight:bold;">Results:</caption>
<tr>
<td>Job Interval:</td>
<td>60 Seconds</td>
</tr>
<tr>
<td>Job Count:</td>
<td>3390</td>
</tr>
<tr>
<td>Time for Scheduling:</td>
<td>(Job Count * 3 Seconds) / 60 = 168.5 Minutes</td>
</tr>
<tr>
<td>Average System Load:</td>
<td>0.85 - 1.0</td>
</tr>
<tr>
<td>Average CPU Usage:</td>
<td>75%</td>
</tr>
<tr>
<td>Failed Job Executions:</td>
<td>Not checked! But there were some of them failing. We will debug this.</td>
</tr>
<tr>
<td>Time to get full Joblist using JSON-RPC backend:</td>
<td>1 Second</td>
</tr>
</table>
</article>
</div>
</div>
<div id="footer">
<div class="container">
<p class="text-muted credit">&copy; 2011 - 2015 by the Linspector development team, this site is hosted on <a href="http://pages.github.com" class="ext">GitHub Pages</a></p>
</div>
</div>
</body>
</html>