Commit 444ef4c2 authored by Olav Kvittem's avatar Olav Kvittem

parallellisering av testing

statistikkobjekter
parent 86fc8d4b
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
<style>
th { background-color: #edebe0 }
</style>
<h3>Yt - Simple web throughput test</h3>
<div class="col-lg-12 gutter uninett-padded uninett-color-lightBlue">
<table><tr><td>
<button class="btn btn-primary btn-lg" id="test" onclick="test_performance()">Test throughput!</button>
<!--
<!--
<form name="test_form" id="test_form" >
<input name="Submit" class="btn btn-primary btn-lg" type="submit" value="Test performance" action="JavaScript:test_performance()"/>
at about <td><form name="speedtest" id="speedform">
<select class="btn btn-basic btn-lg" name="speed_sel" id="speed_sel">
<option value="0">1-5 sec</option>
......@@ -14,36 +19,71 @@ at about <td><form name="speedtest" id="speedform">
<option value="1G">1 Gbit/s</option>
</select>
</form>
<button class="btn btn-primary btn-lg" id="test" onclick="test_performance()">Test throughput!</button>
-->
<b>Test</b>
<button class="btn btn-primary btn-lg" id="test"
onclick="test_performance('down')"
title="From remote host to you">Download!</button>
<button class="btn btn-primary btn-lg" id="test"
onclick="test_performance('up')"
title="From you to remote host">Upload!</button>
<button class="btn btn-primary btn-lg" id="test"
onclick="test_performance('both')"
title="Both directions">Both!</button>
<td> against <span id=host></span>
<td> with
<input name="parallels" id="parallels" size=2 value=3
title="Number of parallel transfers"> parallels
<td> for <input name="duration" id="duration" size=2 value=3
title="Approximate number of seconds to run the test - +-20%"> seconds
<td> against <span id=host
title="The host to which the test is performed"></span>
<script>$("#host").html(document.location.hostname);
</script>
</script>.
<!-- , and upload is
<select class="btn btn-primary btn-lg" name="uploadseq" id="uploadseq">
<option value="after">after</option>
<option value="simultaneous">simultaneous</option>
<!-- <option value="before">before</option>
<option value="only">no download</option>
<option value="none">no upload</option>
</select>
-->
<td><span id=loadingind></span>
</table>
<div id=resultainer>
<table id="result" class="uninett-color-white uninett-padded gutter" border=1 bgcolor=linen style=width:100%>
<tr><th id=what>What<th>Mbit/s<th>Transfer Time<th>Throughput bar
<tr><th id=what title="Direction of transfer and per run and average of all">What
<th title="Sum of parallels[Mbit/s]">Throughput
<th title="Average of parallels[Mbit/s]">Single
<th title="Transfer Time[seconds]">Duration
<th title="Sum data transferred in parallels[Mbyte]">Mbytes
<th title="Scale relative to the maximum seen">Throughput bar
<!--
<tr><td>Reference*<td><span id=reftxt><td><span id=webrtt></span>
<td><img id="refbar" src="bar-green.gif" width="1px" height="10">
-->
<tr><td>Download<td id=dlspeed><td id=dldiff>
<td><img id="dlbar" src="down.png" style="width: 1px; height: 10px;">
<tr><td> - estimate<td id=dlspeedavg><td id=dldiffavg>
<td><img id="dlbaravg" src="down.png" style="width: 1px; height: 10px;">
<tr><td>Upload<td id=ulspeed><td id=uldiff>
<td><img id="ulbar" src="up.png" style="width: 1px; height: 10px;">
<tr><td> - estimate<td id=ulspeedavg><td id=uldiffavg>
<td><img id="ulbaravg" src="up.png" style="width: 1px; height: 10px;">
<tr><th title="From remote to you">Download
<td id=dlspeed><td id=dlsingle><td id=dldiff><td id=dlbytes>
<td><img id="dlbar" src="down.png" style="width: 1px; height: 10px;">
<tr><th title="Average of all runs"> -&nbsp;average
<td id=dlspeedavg><td id=dlsingleavg><td id=dldiffavg><td id=dlbytesavg>
<td><img id="dlbaravg" src="down.png" style="width: 1px; height: 10px;">
<tr><th title="From you to remote">Upload
<td id=ulspeed><td id=ulsingle><td id=uldiff><td id=ulbytes>
<td><img id="ulbar" src="up.png" style="width: 1px; height: 10px;">
<tr><th title="Average of all runs"> -&nbsp;average
<td id=ulspeedavg><td id=ulsingleavg><td id=uldiffavg><td id=ulbytesavg>
<td><img id="ulbaravg" src="up.png" style="width: 1px; height: 10px;">
</table>
</div>
<script>$("#resultainer").hide(); </script>
<script> // $("#resultainer").hide(); </script>
<span id=response></span>
......@@ -91,7 +131,7 @@ more indepth and accurate measurement go to the
<span id=advanced></span>
<script>$("#advanced").html('<a class="btn btn-primary btn-lg" href="http://' + document.location.hostname + '/iperf/">Advanced Iperf throughput test</a>');</script>.
<p> The results will depend on browser, operating system and direction as well as the network card setup and local TCP buffer configuration. These factors influence increase with speed and accuracy is lower for gigabit than megabit speeds.
<p>The performance testing sites like nettfart.no typically uses multiple parallel sessions. They essentially test the capacity of the network, whereas this method is a better indication of the performance you get on a single transfer and thus dependent on both the network delay, loss and the capacity.
<p>The performance testing sites like nettfart.no typically uses multiple parallel sessions. They essentially test the capacity of the network, whereas this method also give an indication of the performance you get on a single transfer and thus dependent on both the network delay, loss and the capacity.
<h4>Versjon 1.1</h4>
<ul><li>Added plot of progress reports</ul>
<p>
......
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment