<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Keeping tabs on your bandwidth usage</title>
	<atom:link href="http://www.imel.co.za/bandwidth/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.imel.co.za/bandwidth</link>
	<description>A practicle approach</description>
	<lastBuildDate>Tue, 08 May 2012 06:08:17 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
	<item>
		<title>By: Rudolf Meijering</title>
		<link>http://www.imel.co.za/bandwidth/comment-page-1/#comment-539</link>
		<dc:creator>Rudolf Meijering</dc:creator>
		<pubDate>Fri, 03 Sep 2010 19:29:08 +0000</pubDate>
		<guid isPermaLink="false">http://imel.co.za/?p=5976#comment-539</guid>
		<description>Hi Imel,

I have recently setup a very similar network for providing Internet access. I use many of the same applications but don&#039;t quite see the advantage in using a transparent proxy in bridged mode. This would make more sense if we had access to cheap public IP&#039;s in South Africa. With your solution you are just postponing NAT from the server to the ADSL gateway.

Performing the PPPoE connection(s) and NAT from the server has several advantages such as being able to use several PPPoE connections and split local and international traffic (save more more money). But with cheaper uncapped connections being available this is not necessary anymore. 

The biggest problem with sharing internet however is users saturating the link with bulk downloads as ISP&#039;s use very large buffers to increase throughput. These however, once full, increases network delay dramatically. In my experience ping times change from 50ms to 1500+ms. This gives a sluggish connection and the appearance that &quot;the internet is slow&quot;. The solution is to cap throughput to just below the maximum level (I found about 5% to work well) in order to keep the buffers empty at all times. Packets are then classified according to amongst other things packet size to determine how interactive the traffic is. Small packets like ping, ssh, telnet and small http traffic gains priority while http downloads, p2p file sharing and ftp get a low priority. Thus even when a user is saturating the link with a file sharing application, another user&#039;s request for an http page would fly through the network server and won&#039;t be hindered by ISP buffers.

Implementing this is as simple as installing wondershaper (sudo apt-get install wondershaper) and specifying the gateway interface and ADSL downlink and uplink speeds in kbps (wondershaper eth1 315 150 for a 384kpbs line). These speeds should be the achieved throughput from an internet speed test minus 5% as the adsl line speed is not accurate.

My network is almost always saturated, but web pages still load quickly and users don&#039;t notice. Let me know if you get around to implementing this.</description>
		<content:encoded><![CDATA[<p>Hi Imel,</p>
<p>I have recently setup a very similar network for providing Internet access. I use many of the same applications but don&#8217;t quite see the advantage in using a transparent proxy in bridged mode. This would make more sense if we had access to cheap public IP&#8217;s in South Africa. With your solution you are just postponing NAT from the server to the ADSL gateway.</p>
<p>Performing the PPPoE connection(s) and NAT from the server has several advantages such as being able to use several PPPoE connections and split local and international traffic (save more more money). But with cheaper uncapped connections being available this is not necessary anymore. </p>
<p>The biggest problem with sharing internet however is users saturating the link with bulk downloads as ISP&#8217;s use very large buffers to increase throughput. These however, once full, increases network delay dramatically. In my experience ping times change from 50ms to 1500+ms. This gives a sluggish connection and the appearance that &#8220;the internet is slow&#8221;. The solution is to cap throughput to just below the maximum level (I found about 5% to work well) in order to keep the buffers empty at all times. Packets are then classified according to amongst other things packet size to determine how interactive the traffic is. Small packets like ping, ssh, telnet and small http traffic gains priority while http downloads, p2p file sharing and ftp get a low priority. Thus even when a user is saturating the link with a file sharing application, another user&#8217;s request for an http page would fly through the network server and won&#8217;t be hindered by ISP buffers.</p>
<p>Implementing this is as simple as installing wondershaper (sudo apt-get install wondershaper) and specifying the gateway interface and ADSL downlink and uplink speeds in kbps (wondershaper eth1 315 150 for a 384kpbs line). These speeds should be the achieved throughput from an internet speed test minus 5% as the adsl line speed is not accurate.</p>
<p>My network is almost always saturated, but web pages still load quickly and users don&#8217;t notice. Let me know if you get around to implementing this.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: imel</title>
		<link>http://www.imel.co.za/bandwidth/comment-page-1/#comment-497</link>
		<dc:creator>imel</dc:creator>
		<pubDate>Thu, 04 Mar 2010 08:21:56 +0000</pubDate>
		<guid isPermaLink="false">http://imel.co.za/?p=5976#comment-497</guid>
		<description>Hi Gerhard, does it have to be someone based in Cape Town? 
Maybe you can open up ssh or openvpn access to the box for someone to do the config remotely?</description>
		<content:encoded><![CDATA[<p>Hi Gerhard, does it have to be someone based in Cape Town?<br />
Maybe you can open up ssh or openvpn access to the box for someone to do the config remotely?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gerhard</title>
		<link>http://www.imel.co.za/bandwidth/comment-page-1/#comment-496</link>
		<dc:creator>Gerhard</dc:creator>
		<pubDate>Thu, 04 Mar 2010 07:50:26 +0000</pubDate>
		<guid isPermaLink="false">http://imel.co.za/?p=5976#comment-496</guid>
		<description>Hi, does anyone know of someone in Cape Town who can set up/maintain my Linux proxy currently running Squid?</description>
		<content:encoded><![CDATA[<p>Hi, does anyone know of someone in Cape Town who can set up/maintain my Linux proxy currently running Squid?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: imel</title>
		<link>http://www.imel.co.za/bandwidth/comment-page-1/#comment-490</link>
		<dc:creator>imel</dc:creator>
		<pubDate>Thu, 25 Feb 2010 11:21:55 +0000</pubDate>
		<guid isPermaLink="false">http://imel.co.za/?p=5976#comment-490</guid>
		<description>Hi Stephen, I use dansguardian to virus scan traffic but also to filter out illegal movies and mp3 downloads.
There is also a quality issue, as I want all users to get a good connection. If someone downloads a large file (movie) then it takes all the bandwidth and all the other users get a degraded service.
I did look at darkstat but it is a bit too limited in the depth of stats it provides, but agree, it is usefull where a lightweight monitoring solution is required.</description>
		<content:encoded><![CDATA[<p>Hi Stephen, I use dansguardian to virus scan traffic but also to filter out illegal movies and mp3 downloads.<br />
There is also a quality issue, as I want all users to get a good connection. If someone downloads a large file (movie) then it takes all the bandwidth and all the other users get a degraded service.<br />
I did look at darkstat but it is a bit too limited in the depth of stats it provides, but agree, it is usefull where a lightweight monitoring solution is required.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Stephen</title>
		<link>http://www.imel.co.za/bandwidth/comment-page-1/#comment-489</link>
		<dc:creator>Stephen</dc:creator>
		<pubDate>Thu, 25 Feb 2010 06:53:57 +0000</pubDate>
		<guid isPermaLink="false">http://imel.co.za/?p=5976#comment-489</guid>
		<description>If your clients are paying to use the internet, why use dansguardian to filter content? You should have them pay per gb and have them do what they want with it. The more gb&#039;s they use, the more they have to buy from you. 

Instead of Ntop, have you had a look at Darkstat yet? I&#039;ve seen that ntop is quite a resource hog.</description>
		<content:encoded><![CDATA[<p>If your clients are paying to use the internet, why use dansguardian to filter content? You should have them pay per gb and have them do what they want with it. The more gb&#8217;s they use, the more they have to buy from you. </p>
<p>Instead of Ntop, have you had a look at Darkstat yet? I&#8217;ve seen that ntop is quite a resource hog.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

