]> pere.pagekite.me Git - homepage.git/blobdiff - blog/index.html
Generated.
[homepage.git] / blog / index.html
index fa0ed1223e5b6af1ed3191e9ae168459e3d520ff..95476eedca13d95e255c25f6833c1887070f68c7 100644 (file)
 
 
     
+    <div class="entry">
+      <div class="title"><a href="http://people.skolelinux.org/pere/blog/What_would_it_cost_to_store_all_phone_calls_in_Norway_.html">What would it cost to store all phone calls in Norway?</a></div>
+      <div class="date"> 1st May 2015</div>
+      <div class="body"><p>Many years ago, a friend of mine calculated how much it would cost
+to store the sound of all phone calls in Norway, and came up with the
+cost of around 20 million NOK for all the calls in a year.  I got
+curious and wondered what the same calculation would look like today.
+To do so one need an idea of how much data storage is needed for each
+minute of sound, how many minutes all the calls in Norway sums up to,
+and the cost of data storage.</p>
+
+<p>The 2005 numbers are from
+<a href="http://www.digi.no/analyser/2005/10/04/vi-prater-stadig-mindre-i-roret">digi.no</a>,
+the 2012 numbers are from
+<a href="http://www.nkom.no/aktuelt/nyheter/fortsatt-vekst-i-det-norske-ekommarkedet">a
+NKOM report</a>, and I got the 2013 numbers after asking NKOM via
+email.  I was told the numbers for 2014 will be presented May 20th,
+and decided not to wait for those, as I doubt they will be very
+different from the numbers from 2013.</p>
+
+<p>The amount of data storage per minute sound depend on the wanted
+quality, and for phone calls it is generally believed that 8 Kbit/s is
+enough.  See for example a
+<a href="http://www.cisco.com/c/en/us/support/docs/voice/voice-quality/7934-bwidth-consume.html#topic1">summary
+on voice quality from Cisco</a> for some alternatives.  8 Kbit/s is 60
+Kbytes/min, and this can be multiplied with the number of call minutes
+to get the storage requirements.</p>
+
+<p>Storage prices varies a lot, depending on speed, backup strategies,
+availability requirements etc.  But a simple way to calculate can be
+to use the price of a TiB-disk (around 1000 NOK) and double it to take
+space, power and redundancy.  It could be much higher with high speed
+and good redundancy requirements.</p>
+
+<p>But back to the question, What would it cost to store all phone
+calls in Norway?  Not much.  Here is a small table showing the
+estimated cost, which is within the budget constraint of most medium
+and large organisations:</p>
+
+<table border="1">
+<tr><th>Year</th><th>Call minutes</th><th>Size</th><th>Price in NOK</th></tr>
+<tr><td>2005</td><td align="right">24 000 000 000</td><td align="right">1.3 PiB</td><td align="right">3 mill</td></tr>
+<tr><td>2012</td><td align="right">18 000 000 000</td><td align="right">1.0 PiB</td><td align="right">2.2 mill</td></tr>
+<tr><td>2013</td><td align="right">17 000 000 000</td><td align="right">950 TiB</td><td align="right">2.1 mill</td></tr>
+</table>
+
+<p>This is the cost of buying the storage.  Maintenance need to be
+taken into account too, but calculating that is left as an exercise
+for the reader.  But it is obvious to me from those numbers that
+recording the sound of all phone calls in Norway is not going to be
+stopped because it is too expensive.  I wonder if someone already are
+collecting the data?</p>
+</div>
+      <div class="tags">
+        
+        
+        Tags: <a href="http://people.skolelinux.org/pere/blog/tags/english">english</a>, <a href="http://people.skolelinux.org/pere/blog/tags/personvern">personvern</a>, <a href="http://people.skolelinux.org/pere/blog/tags/surveillance">surveillance</a>. 
+        
+        
+      </div>
+    </div>
+    <div class="padding"></div>
+    
     <div class="entry">
       <div class="title"><a href="http://people.skolelinux.org/pere/blog/First_Jessie_based_Debian_Edu_beta_release.html">First Jessie based Debian Edu beta release</a></div>
       <div class="date">26th April 2015</div>
@@ -791,59 +854,6 @@ something everyone should have to accept to travel.</p>
     </div>
     <div class="padding"></div>
     
-    <div class="entry">
-      <div class="title"><a href="http://people.skolelinux.org/pere/blog/Nagios_module_to_check_if_the_Frikanalen_video_stream_is_working.html">Nagios module to check if the Frikanalen video stream is working</a></div>
-      <div class="date"> 8th February 2015</div>
-      <div class="body"><p>When running a TV station with both broadcast and web stream
-distribution, it is useful to know that the stream is working.  As I
-am involved in the Norwegian open channel
-<a href="http://www.frikanalen.no/">Frikanalen</a> as part of my
-activity in the <a href="http://www.nuug.no/">NUUG member
-organisation</a>, I wrote a script to use mplayer to connect to a
-video stream, pick two images 35 seconds apart and compare them.  If
-the images are missing or identical, something is probably wrong with
-the stream and an alarm should be triggered.  The script is written as
-a Nagios plugin, allowing us to use Nagios to run the check regularly
-and sound the alarm when something is wrong.  It is able to detect
-both a hanging and a broken video stream.</p>
-
-<p>I just uploaded the code for the script into the
-<a href="https://github.com/Frikanalen/frikanalen/blob/master/nagios-plugin/check_video_stream_images">Frikanalen
-git repository</a> on github.  If you run a TV station with web
-streaming, perhaps you can find it useful too.</p>
-
-<p>Last year, the Frikanalen public TV station transformed into using
-only Linux based free software to administrate, schedule and
-distribute the TV content.  The
-<a href="https://github.com/Frikanalen">source code for the entire TV
-station</a> is available from the Github project page.  Everyone can
-use it to send their content on national TV, and we provide both a web
-GUI and <a href="http://beta.frikanalen.tv/api/">a web API</a> to
-<a href="http://beta.frikanalen.tv/login/?next=/members/video/">add</a>
-and <a href="http://beta.frikanalen.tv/members/plan/">schedule
-content</a>.  And thanks to last weeks developer gathering and
-following activity, we now have the schedule
-<a href="http://beta.frikanalen.tv/xmltv/2015/01/01">available as
-XMLTV</a> too.  Still a lot of work left to do, especially with the
-process to add videos and with the scheduling, so your contribution is
-most welcome.  Perhaps you want to set up your own TV station?</p>
-
-<p>Update 2015-02-25: Got a tip from Uninett about their
-<a href="https://scm.uninett.no/maalepaaler/qstream/">qstream
-monitoring system</a>, which gather connection time, jitter, packet
-loss and burst bandwidth usage.  It look useful to check if UDP
-streams are working as they should.</p>
-</div>
-      <div class="tags">
-        
-        
-        Tags: <a href="http://people.skolelinux.org/pere/blog/tags/english">english</a>, <a href="http://people.skolelinux.org/pere/blog/tags/frikanalen">frikanalen</a>, <a href="http://people.skolelinux.org/pere/blog/tags/nuug">nuug</a>, <a href="http://people.skolelinux.org/pere/blog/tags/video">video</a>. 
-        
-        
-      </div>
-    </div>
-    <div class="padding"></div>
-    
     <p style="text-align: right;"><a href="index.rss"><img src="http://people.skolelinux.org/pere/blog/xml.gif" alt="RSS feed" width="36" height="14" /></a></p>
     <div id="sidebar">
       
@@ -863,6 +873,8 @@ streams are working as they should.</p>
 
 <li><a href="http://people.skolelinux.org/pere/blog/archive/2015/04/">April (4)</a></li>
 
+<li><a href="http://people.skolelinux.org/pere/blog/archive/2015/05/">May (1)</a></li>
+
 </ul></li>
 
 <li>2014
@@ -1083,7 +1095,7 @@ streams are working as they should.</p>
 
  <li><a href="http://people.skolelinux.org/pere/blog/tags/drivstoffpriser">drivstoffpriser (4)</a></li>
 
- <li><a href="http://people.skolelinux.org/pere/blog/tags/english">english (275)</a></li>
+ <li><a href="http://people.skolelinux.org/pere/blog/tags/english">english (276)</a></li>
 
  <li><a href="http://people.skolelinux.org/pere/blog/tags/fiksgatami">fiksgatami (23)</a></li>
 
@@ -1123,7 +1135,7 @@ streams are working as they should.</p>
 
  <li><a href="http://people.skolelinux.org/pere/blog/tags/opphavsrett">opphavsrett (51)</a></li>
 
- <li><a href="http://people.skolelinux.org/pere/blog/tags/personvern">personvern (83)</a></li>
+ <li><a href="http://people.skolelinux.org/pere/blog/tags/personvern">personvern (84)</a></li>
 
  <li><a href="http://people.skolelinux.org/pere/blog/tags/raid">raid (1)</a></li>
 
@@ -1153,7 +1165,7 @@ streams are working as they should.</p>
 
  <li><a href="http://people.skolelinux.org/pere/blog/tags/stortinget">stortinget (9)</a></li>
 
- <li><a href="http://people.skolelinux.org/pere/blog/tags/surveillance">surveillance (30)</a></li>
+ <li><a href="http://people.skolelinux.org/pere/blog/tags/surveillance">surveillance (31)</a></li>
 
  <li><a href="http://people.skolelinux.org/pere/blog/tags/sysadmin">sysadmin (2)</a></li>