Showing posts with label Broadband. Show all posts
Showing posts with label Broadband. Show all posts

Tuesday, January 17, 2012

Fibre Broadband Performance - How to Test The Speed of Broadband?

Date:  Jan 17, 2012

WARNING!First part of the blog is OK for normal people.  The second part, will get a bit techie, and only sysadmin or netadmin will understand what I am doing.  But the end result is to proof that speedtest.net may not be accurate, to get more accurate results, there is a high learning curve, but at the end, the result is somewhat more accurate but still depending on network situations at that time.  But just look at the pictures will tell you everything about the network.

I have re-engineered my home network again.  I got my 2nd OpenNet network fibre up and running under ViewQwest.  ViewQwest recently launch Residential FiberNet Broadband.

A very common way of measuring the speed is to use http://speednet.net

Here is a screenshot of a random launched speednet that measure the speed to NewMedia Express, a hosting company in Singapore.  It is a Telco Neutral server.  So, most of the time when you launch speedtest, you end up using this.

Screen Shot 2012-01-17 at 6.44.47 AM.png

Here is a trick.  If you click on the RELOAD button to reload the web URL, they might give you another hosting company, such as Telin.  (Look at the bottom right corner - Hosted by Telin).  You will wonder why the number keep fluctuating.  Telin is the incumbent ISP in Indonesia, not sure why it gives a low download speed.

Screen Shot 2012-01-17 at 6.48.25 AM.png

Here is another example.  Hosted by SingTel.

Screen Shot 2012-01-17 at 6.50.21 AM.png

Lastly, I found the one the hosted by ViewQwest.  The PING is 4ms, the download speed is indeed close to 100Mbps.

Screen Shot 2012-01-17 at 6.51.35 AM.png

Now, if I re-run the test again.... I got this lower results.

Screen Shot 2012-01-17 at 6.55.00 AM.png

So, what does this mean?

This simply means that speedtest.net is not always accurate.

Most of the time, it depends on what the service provider or hosting partner has put in.  You can put a old server and run the speedtest server.  Or you can spent lots of money to put in a real server with high network load capacity, etc.  But when you think about it?  Will the operator put in such money?  Believe me, I worked in these ISP before, so, it is always a low priority, and good to have thingy, but you will almost certain that older server will be placed there (server recycle).

Also, what speedtest does is to download a large file over the same network interface.  So, under a very good condition, where there is only one person awake and he is the only one person that does the speedtest.  There is only 1 file being downloaded over the Gigabits network.  Of course, you will get a full speed.  But when there are 2 person, 3 person or a whole bunch of person downloading the file at the same time over the same network that hook up to the speedtest server, well, the tast will be divided, the resources will be divided.  So, most of the time, you almost end up waiting in a queue for other tasks to be completed.  By that, you will get a lesser download speed.

But it is a good benchmark tool, or at least the only one that is available to consumers to benchmark their ISP.  Sometimes I found it funny, as a technical person, you know this is stupid as it is not accurate.  But sometimes, you got to be amaze that how many people actually believe this.  HaHa.

Now, let's try another thing.  Turn off your WIRED connection (yes, turn off the gigabits switch port), and then, go into WIRELESS or WIFI mode.  So, as you can see, my IP is still the same, and I am switching to a WiFi router which far away from me.  Then, no matter how many times I do this, I get a max of 45Mbps.  Remember, I should be able to bring the network download up to 90+Mbps.  But when I switch to WIFI mode, it is different.  Try running this on a laptop, and move around.  If you get nearer to the WIFI access point, your download speed also increase.  So, WIFI network has limitation, and can give a false impression on your speed.  Not to mentioned those home that has a PLC/HomePlug (i.e. Aztech), Ethernet over Powerline that is sensitive to surrounding noise.

Screen Shot 2012-01-17 at 7.06.37 AM.png

So, what do we do?  How do we test the broadband speed?  Here is my attempt to try to figure things out.  It is not the accurate way, but at least it gives you a rough idea.

1.  You got to have two points to test the network.  A-End is at your home behind the ONT/Router.  B-End is somewhere on the Internet, local internet that you are sure to get good backbone capacity to Internet.  This is important.

2.  Either the end, i.e. A-End or B-End should run as server mode.  This is to test both way directions.

3.  I running this on my iMac.  OK, Mac is a decent port of "unix" that is truely multi-task.  I don't recommend it to be done on Windows machine, as sometimes, I don't know... the TCP stacks are "shitty".  HaHa (have you read Steve Jobs' biography yet??)

4.  First, on my iMac, I installed the program "MacPorts".  Download the latest MacPorts release: 2.0.3.  Download the Lion version if you are running Lion.  Install the program.

5.  Next, go to /opt/local/bin and run "sudo ./port install iperf".  Key in the password.  Yes, this is to install and compile your version of iPerf.  What is iPerf?  http://openmaniak.com/iperf.php so, basically, you run iPerf to measure the maximum TCP and UDP bandwidth performance.  Make sure you get a node from your Network admin before doing this, as iPerf can generate huge traffic and may disrupt your network.  :)

6.  Once you install iPerf at home, you can run this as a server.  So, "sudo /opt/local/bin/iperf -s".

7.  Go to "www.whatismyip.com", and try to figure out what is your IP address.  This is the IP address of your home PC.

Screen Shot 2012-01-17 at 7.29.09 AM.png

8.  But before you can reach this IP address to your home PC, you need to do Port Mapping on your router so that you map this IP address directly to your iMac.  So, on my Black Diamond case, I actually put the LAN IP of the iMac into the DMZ zone.  My ASUS Black Diamond will do all the rest, port mapping.

Screen Shot 2012-01-17 at 7.32.22 AM.png

9.  Then, I remote log in into my office MacBook Air.  I used "logmein", it's free!  https://secure.logmein.com/ Apple does has a remote desktop "Back to My Mac" application, but I found that the screen refresh is a bit jitter, that is why I did not use that.  I simply use logmein on my desktop, laptop, iPad or iPhone.  (yes, you need to pay for the iPad and iPhone app).

10.  Install the same thing, i.e. MacPorts, iperf.

11.  Then, on the command prompt (opps, why I am using DOS name).  key in "iperf -f m -i 4 -c 103.4.199.121" and wala... The iperf client is downloading lots of stuff from your iperf server at home.  As you can see, the biggest my network bandwidth that I can pump out from is about 73.4Mbps.

Screen Shot 2012-01-17 at 7.35.29 AM.png

12.  Of course, if you have a friend out there, can setup a iperf server, ask for his help then.  (I don't have control in Office Network Router, so, I cannot set the Port Forwarding to my MacBook Air).  So, I happen to have a friend help me to setup a server out there in Singapore.  And from my home iMac, I run as iperf client to connect to his iperf server.  And this is the result.

Screen Shot 2012-01-17 at 7.39.28 AM.png

13.  Of course, when you run it as server, you also can see the console.

Screen Shot 2012-01-17 at 7.40.36 AM.png

14.  Let's try a funny thing... and run 3 threads at the same time...  As you can see clearly, all three windows gives the similar results and the results is somewhat 1/3 of what I get when I run a single iperf.

Screen Shot 2012-01-17 at 7.42.22 AM.png

15.  Let's try it again!  With two this time...  and as expected the network performance splited into 1/2.

Screen Shot 2012-01-17 at 7.44.02 AM.png

Conclusions:

A.  Speedtest.Net is not always accurate.

B.  Broadband Network Speed is very depending on what are you doing at that time, and what are other people doing at that time.  So, what we can do, is to use simple tool to TRY to find the maximum bandwidth it can pass thru, but face the reality, there are too many people out there, and they may be doing the same thing as you.  So, sometimes, your traffic has to be splitted among them.

C.  It is the same on Hosting platform, where you try to download things from a single servers.  Think of 1 people download 1 file from 1 server.  Vs. 10000 people download the same 1 file from the same 1 server.  Things will hang.  By that time, don't blame the Network operator.

D.  Next, think of 1 people accessing the network to 1 website on a single pipe.  Vs. 10000 poeple download and accessing from 10000 website on a single pipe.  The pipe cannot be infinite.  So, soon, there will be a choke.

I don't know how much info you can get from this blog.  But, for me, today, I am happy with my ViewQwest.  Does not mean that tomorrow I will be happy with them.  So, since there is no certainty of anything, why don't we cherish what we have today and be happy about it!

Good Luck!

 

 

 

 

 

 

 

 

Friday, July 29, 2011

Home Network Improvement Plan - Asus Black Diamond

Date:  July 29, 2011

I just got a new router.  I bought it in Sim Lim for S$220.  But later, when I shop at IMM, one of the computer store beside Challenger is selling at S$209.

IMG_8499.JPG

Before that, I replaced my home Internet network router and throw away Singtel useless 2Wire 5012NV Fiber Broadband router (now it is only used for deliverying MIO TV).  I was using a D-link DIR-655.  The Wireless AP served me well for the pass two years.  It's time to change.

NewImage.jpg

My friend Larry introduced me to a website that has router comparisons.

http://www.smallnetbuilder.com/wireless/wireless-reviews/31436-asus-rt-n56u-black-diamond-dual-band-gigabit-wireless-n-router-reviewed

Go to this website, and start selecting your next router...  For me, I choose "Total Simultaneous Throughput" and you get ASUS Black Diamond Dual-Band Gigabit Wireless-N Router (RT-56U) as the top runner.

Screen Shot 2011-07-29 at 7.11.17 AM.png

And If I compare with the D-Link DIR-655, which is ranked 20th from the top.

Screen Shot 2011-07-29 at 7.14.03 AM.png

My Apple Extreme (ranked 14th) at home is much faster than the DIR-655 ...

Screen Shot 2011-07-29 at 7.15.48 AM.png

And in my office, I think they recently bought a Netgear WNR3500L which is ranked 18th ...

Screen Shot 2011-07-29 at 7.17.36 AM.png

But all these routers I have seen is no where compared with Asus Black Diamond!!!  It is three times faster than my Apple Extreme.  And the router is stylist too.  One thin piece of devise standing vertically.

IMG_8515.JPG

Now, how good is this router and its AP (Wireless) function... Here are some of the test I have done in the office and at home...

In Office We have two Wireless Access Point Router, where one ofthem is the newly bought Netplus WNR3500L... So, I run the speed test on it... As you can see I can achieve 5.7Mbps download and 7.8Mbps upload.  And I am doing the test ping to the Jakarta speed test server.

IMG_8502.PNG

Then, I disconnect the netplus, and log on to the 2nd wireless router.  I don't know what router is that, but I suspect is a cheap router too.  I will not use this AP router as a reference, as it goes to another broadband link that connects to NewMedia Test server.  I provided it here to give a reference.

IMG_8506.PNG

Then, when I plug in my new ASUS Black Diamond.... WOW... I am speechless.  I managed to get 9.1Mbps download and 14Mbps upload.  I am impressed.

IMG_8501.PNG

So, I re-run another round of testing... just to make sure I don't get some isolated results... and the results came back almost similar...

So, next thing I do, is to go back home immediately, and re-run the test at home.  So, at home, before replacing the router, this is what I get... 13.35Mbps DOWN and 16.71Mbps UP.

mouse before Test1.png

And after I plug that ASUS Black Diamond in, replacing the DIR-655...  The speed becomes 26.77Mbps DOWN and 23.85Mbps UP.  That is what I am talking about.  I had an OpenNet fiber, with Singtel Fiber Internet service of 50Mbps.  My speed should at least closer to 50Mbps, right.

wireless after door open Test1.png

So, I am speechless after I see all the result and I am very happy!

So, I go do more research.... For WAN to LAN Thruput, this is to let the Internet come into your home, handled by your router.

Screen Shot 2011-07-29 at 7.33.18 AM.png

For LAN to WAN Thruput, where your Internet going out...

Screen Shot 2011-07-29 at 7.35.40 AM.png

For Maximum Simultaneous Connections.... this is for P2P download... how mcuh you can handle when you download torrents... ASUS Black Diamond is #6 not too far behind..

Screen Shot 2011-07-29 at 7.36.18 AM.png

The 2.4Ghz Wireless Downlink thruput, Black Diamond scored #3...

Screen Shot 2011-07-29 at 7.37.53 AM.png

I think I made a right choice for the router... and I am damn happy about it.  The performance I get is much better than before... and I can feel the speed is very stable too.

GET IT NOW!

NewImage.jpg

I am still keeping my Apple Airport Extreme and Apple Airport for home Wifi access.  :)