{"id":5,"date":"2008-03-06T17:04:17","date_gmt":"2008-03-06T16:04:17","guid":{"rendered":"http:\/\/freesound.iua.upf.edu\/blog\/?p=5"},"modified":"2008-03-06T17:29:11","modified_gmt":"2008-03-06T16:29:11","slug":"hey-where-did-my-bandwidth-go-to","status":"publish","type":"post","link":"https:\/\/blog.freesound.org\/?p=5","title":{"rendered":"Hey! Where did my bandwidth go to??"},"content":{"rendered":"<h3>Bandwidth&#8230;<\/h3>\n<p>Freesound is using around 3 to 5 TeraByte per month these days, being capped at 2 MegaByte\/sec. This upper limit is imposed by the university. <a href=\"http:\/\/www.upf.edu\/\">UPF<\/a> still runs a 100 mbps network as far as I know, which means that with 2MB\/sec (=16mbps) we&#8217;re using 16% of the whole university bandwidth if we are pushing the upper boundary! That&#8217;s pretty much all the time now.<\/p>\n<p>But, where does this bandwidth go to? Today I did an analysis of the last full 7 days to see which of the 4 would take up the most: sound packs, sound images (those colorful waveform displays), sound previews (the mp3 your hear when you hit play) or actual sounds! The total bandwidth used by these categories is 694.37GB, or split up:<\/p>\n<ol>\n<li>sounds <strong>40.4%<\/strong> (280.63GB)<\/li>\n<li>previews <strong>36.1% <\/strong>(250.63GB)<\/li>\n<li>packs <strong>22.4%<\/strong> (155.61GB)<\/li>\n<li>images <strong>1.1%<\/strong> (7.51GB)<\/li>\n<\/ol>\n<p>First of all, we can completely ignore the images. They are not our problem. PNG is a very nice format for images with few colors, and our waveform display are just that. Other than that it looks like sounds, previews and packs are&#8230; well, more or less using the same amount of bandwidth. I&#8217;m a bit surprised that packs are only 22%, I thought people liked packs a lot more than files. Let&#8217;s see what happens if we split up the sound category:<\/p>\n<ol>\n<li>wav <strong>77.1%<\/strong> (216.34GB)<\/li>\n<li>aif 9.2% (25,96GB)<\/li>\n<li>mp3 8.2% (22.88GB)<\/li>\n<li>flac 5.3% (14.98GB)<\/li>\n<li>ogg 0.2% (0.47GB)<\/li>\n<\/ol>\n<p>People really like uncompressed sound and we have a lot of it at Freesound: wave files lead the way with a huge 77%!<\/p>\n<h3>Flac&#8230;<\/h3>\n<p><em>Free Lossless Audio Codec (FLAC) is a file format for audio data compression. Being a lossless compression format, FLAC does not remove information from the audio stream, as lossy compression formats such as MP3, AAC, and Vorbis do. (taken from <a href=\"http:\/\/en.wikipedia.org\/wiki\/Flac\">http:\/\/en.wikipedia.org\/wiki\/Flac<\/a>)<br \/>\n<\/em><\/p>\n<p>What would happen if we would compress all wave files to <a href=\"http:\/\/flac.sourceforge.net\/\">flac<\/a> (thanks to Nico for bringing this up so I had an excuse to do this analysis)? Flac has an average compression ratio of about 0.6 (1MB wave file &gt; 0.6MB flac file) so we would save about <strong>550GB<\/strong> per month which is quite a bit!<\/p>\n<p>On the other hand flac is a bit of a pain to support: many people don&#8217;t know flac and like to be able to use their wave files immediately after downloading. There&#8217;s no visual guides for people how to use flac, nor is there a cross-platform unified interface for using flac. A great format, but not very user-friendly if you don&#8217;t like the command line! Flac developers, prove me wrong and I will make freesound the biggest proponent of flac!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Bandwidth&#8230; Freesound is using around 3 to 5 TeraByte per month these days, being capped at 2 MegaByte\/sec. This upper limit is imposed by the university. UPF still runs a 100 mbps network as far as I know, which means &hellip; <a href=\"https:\/\/blog.freesound.org\/?p=5\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[7],"class_list":["post-5","post","type-post","status-publish","format-standard","hentry","category-techtalk","tag-bandwidth-flac"],"_links":{"self":[{"href":"https:\/\/blog.freesound.org\/index.php?rest_route=\/wp\/v2\/posts\/5","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.freesound.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.freesound.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.freesound.org\/index.php?rest_route=\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.freesound.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=5"}],"version-history":[{"count":1,"href":"https:\/\/blog.freesound.org\/index.php?rest_route=\/wp\/v2\/posts\/5\/revisions"}],"predecessor-version":[{"id":334,"href":"https:\/\/blog.freesound.org\/index.php?rest_route=\/wp\/v2\/posts\/5\/revisions\/334"}],"wp:attachment":[{"href":"https:\/\/blog.freesound.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=5"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.freesound.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=5"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.freesound.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=5"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}