LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-29-2007, 05:51 PM   #1
MikeyCarter
Member
 
Registered: Feb 2003
Location: Orangeville
Distribution: Fedora
Posts: 492

Rep: Reputation: 31
Internet Speed test for ssh


My ISP has been throttling Bit Torrents for a while now. It seems that two-three weeks ago they started throttling my SSH/VPN connections as well. (Although they won't admit to it)

They keep going to a http speed test and saying "see your internet is fine". Does anyone out there know a speed test that goes encrypted, either through SSH or SSL type connections?

I want something more concrete to work with.
 
Old 08-29-2007, 10:04 PM   #2
bartonski
Member
 
Registered: Jul 2006
Location: Louisville, KY
Distribution: Fedora 12, Slackware, Debian, Ubuntu Karmic, FreeBSD 7.1
Posts: 443
Blog Entries: 1

Rep: Reputation: 48
Pipe /dev/random to a file, get 5 or 10 megs worth of data. Use the time command and scp the file to a host that's fairly close, preferably the first hop off of your ISP's network.

When the upload is complete, the time command will tell you how long the upload took to complete. Divide size in bytes by seconds, you get upload speed. Do the same for download. You might want to try this several times and take the mean.

Since the files being uploaded are random bits, they won't compress; this should give you accurate data rates.
 
Old 08-29-2007, 10:09 PM   #3
bartonski
Member
 
Registered: Jul 2006
Location: Louisville, KY
Distribution: Fedora 12, Slackware, Debian, Ubuntu Karmic, FreeBSD 7.1
Posts: 443
Blog Entries: 1

Rep: Reputation: 48
Note, you might want to try /dev/urandom; this generates data much faster.
 
Old 08-30-2007, 08:12 AM   #4
MikeyCarter
Member
 
Registered: Feb 2003
Location: Orangeville
Distribution: Fedora
Posts: 492

Original Poster
Rep: Reputation: 31
Quote:
Originally Posted by bartonski View Post
Note, you might want to try /dev/urandom; this generates data much faster.
/dev/urandom is good to know thanks. My only problem now is where do I upload/download it. I only have one machine out in the internet which I have SSH access to and they limit my download to 200kb/s Which is no good to do tests on.

Any ideas?
 
Old 11-20-2009, 12:18 AM   #5
mangledorf
LQ Newbie
 
Registered: Nov 2009
Posts: 2

Rep: Reputation: 0
script to test ssh speed

Here's a bash script to test your SSH connection speed, upload and download: http://www.alecjacobson.com/weblog/?p=635
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
speed test daashag Linux - Networking 4 03-30-2006 01:29 PM
speed test Yomaoni Linux - Software 4 07-18-2005 04:33 PM
Is there a tool to monitor Internet connection speed and also network speed? xleft4dexy Linux - Networking 4 10-14-2003 10:29 PM
need help High speed digital test Babba General 1 02-20-2003 08:41 AM
high speed digital test, Help! Babba General 0 02-02-2003 09:24 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:23 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration