Wireless Access

 View Only
Expand all | Collapse all

test Internet bandwidth speed

This thread has been viewed 0 times
Alan_152

Alan_152Feb 07, 2011 11:25 AM

  • 1.  test Internet bandwidth speed

    Posted Feb 03, 2011 10:44 PM
    hi

    How is the best way to test Internet bandwidth speed?


  • 2.  RE: test Internet bandwidth speed

    Posted Feb 04, 2011 10:22 AM
    From One Linux node to another accross the internet or local internet?

    UNIX to UNIX (or Linux) I use:

    ftp> put "dd if=/dev/zero bs=1024k count =100" /dev/null


    That is pure network testing that does not involve Disk I/O


  • 3.  RE: test Internet bandwidth speed

    Posted Feb 04, 2011 10:23 AM
    Correction:

    ftp> put "|dd if=/dev/zero bs=1024k count =100" /dev/null


  • 4.  RE: test Internet bandwidth speed

    Posted Feb 04, 2011 11:04 AM
    Thx a lot, but can you pls give some more details what exactly does this command do?


  • 5.  RE: test Internet bandwidth speed

    Posted Feb 04, 2011 11:17 AM
    It reads from the zero device at a block size of 1MB up to 1000 times for a total of ~ 1GB (1024KB x 1000). Then the stream is written on the destination Linux or UNIX system to a NULL device -- so no DIsk I.O is involved.

    I've always used this trick to see if the bandwidth I should be seeing is available -- i.e. to find out if my GigE or 10GbE pipe is working according to spec.



  • 6.  RE: test Internet bandwidth speed

    Posted Feb 04, 2011 06:37 PM
    It does leave one at the mercy of FTP's selection of socket buffer and thus TCP window size, which can be quite important for "Internet" bandwidth.


  • 7.  RE: test Internet bandwidth speed

    Posted Feb 07, 2011 11:25 AM
    dslreports.com


  • 8.  RE: test Internet bandwidth speed

    Posted Mar 08, 2011 10:09 AM
    > Correction:

    ftp> put "|dd if=/dev/zero bs=1024k count =100" /dev/null

    I've tried on unix and linux and get this error:

    unix sco:

    ftp> put "|dd if=/dev/zero bs=1024k count =100" /dev/null
    local: |dd if=/dev/zero bs=1024k count =100 remote: /dev/null
    dd: bad arg: "count"
    200 PORT command successful
    550 /dev/null: No such file or directory

    linux debian:

    ftp> put "|dd if=/dev/zero bs=1024k count =100" /dev/null
    local: |dd if=/dev/zero bs=1024k count =100 remote: /dev/null
    dd: unrecognized operand `count'
    Try `dd --help' for more information.
    200 PORT command successful
    550 /dev/null: No such file or directory


  • 9.  RE: test Internet bandwidth speed

    Posted Mar 10, 2011 06:17 AM
    >dd: bad arg: "count"

    Cutting from your command, Alzhy and you shouldn't have a space before the "=".


  • 10.  RE: test Internet bandwidth speed

    Posted Mar 11, 2011 02:17 PM
    This may also come handy:
    http://bwmon.sourceforge.net/


  • 11.  RE: test Internet bandwidth speed

    Posted Mar 12, 2011 05:58 AM
    still doesn't work:

    ftp> put "|dd if=/dev/zero bs=1024k count=100" /dev/null
    ?Invalid command


  • 12.  RE: test Internet bandwidth speed

    Posted Mar 15, 2011 01:56 AM
    >still doesn't work: ?Invalid command

    I have no problems going from HP-UX to HP-UX, from Linux to Linux and from HP-UX to Linux.


  • 13.  RE: test Internet bandwidth speed

    Posted Mar 15, 2011 11:38 AM
    I suppose you might try using the full path to the dd command, on the off chance that it isn't in $PATH for that context.


  • 14.  RE: test Internet bandwidth speed

    Posted May 03, 2011 12:44 PM
    the best way to test your internet bandwidth is through this site. http://www.scanmyspeed.com/ try it.

    here is my result.
    downloads : 1.8Mbps
    uploads : 0.8Mbps

    i checked i through this site.