如何测试VPS/服务器给的10M/100M带宽是否有水分?
  • 我们经常买了vps或服务器,机房说给了10Mbps带宽,给了100Mbps带宽,我们怎么知道他是不是有水分呢? linux下面,有很简单的测试方法,那就是用   wget 下载,一般多下载几个机房的文件观察最大速度,如果能有1.1MB/秒,那么就是没有任何水分的10Mbps独享带宽,能跑满。 如果能有11MB/秒 的下载速度,那就就是没有任何水分的100Mbps独享带宽,能跑满。

    这里的10Mbps单位是bit,是和我们电信 adsl 用单位一样。比如我们2M的电信adsl,下载最大就是 2M / 8=256KB每秒

    wget下载演示10M带宽效果:

    [root@www.654z.com]# wget http://www.wdc01.softlayer.com/downloads/test100.zip


    --2010-08-09 12:25:43--  http://www.wdc01.softlayer.com/downloads/test100.zip


    Resolving www.wdc01.softlayer.com... 208.43.118.51


    Connecting to www.wdc01.softlayer.com|208.43.118.51|:80... connected.


    HTTP request sent, awaiting response... 200 OK


    Length: 104874307 (100M) [application/zip]


    Saving to: `test100.zip'



    26% [=======================>                                                                   ] 28,037,373  1.12M/s  eta 70s   


    [root@www.654z.com]# wget http://www.softlayer.com/downloads/test100.zip


    --2010-08-09 12:26:51--  http://www.softlayer.com/downloads/test100.zip


    Resolving www.softlayer.com... 66.228.118.51, 2607:f0d0:1000:11:1::1


    Connecting to www.softlayer.com|66.228.118.51|:80... connected.


    HTTP request sent, awaiting response... 200 OK


    Length: 104874307 (100M) [application/zip]


    Saving to: `test100.zip.1'



     3% [==>                                                                                        ] 3,634,480   1.11M/s  eta 90s   


    [root@www.654z.com]# wget http://184.105.207.135/test.zip


    --2010-08-09 12:27:01--  http://184.105.207.135/test.zip


    Connecting to 184.105.207.135:80... connected.


    HTTP request sent, awaiting response... 200 OK


    Length: 104857600 (100M) [application/zip]


    Saving to: `test.zip'



     3% [=>                                                                                         ] 3,246,146   1.10M/s              


    [root@www.654z.com]# wget http://66.96.192.92/bigtest.tgz


    --2010-08-09 12:27:22--  http://66.96.192.92/bigtest.tgz


    Connecting to 66.96.192.92:80... connected.


    HTTP request sent, awaiting response... 200 OK


    Length: 129672769 (124M) [application/x-tar]


    Saving to: `bigtest.tgz'



     4% [===>                                                                                       ] 5,730,344   1.12M/s  eta 1m 55s



     



    100M带宽效果:



    [root@www.654z.com]# wget http://184.105.207.135/test.zip


    --2010-08-09 12:32:29--  http://184.105.207.135/test.zip


    Connecting to 184.105.207.135:80... connected.


    HTTP request sent, awaiting response... 200 OK


    Length: 104857600 (100M) [application/zip]


    Saving to: `test.zip'



    47% [==========================================>                                                ] 49,570,562  11.2M/s  eta 7s    

  •  

  • 点这里复制本页地址发送给您QQ/MSN上的好友
  • 300*300广告