- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- scp gives only 906.1KB/s between 2 data centers.
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-01-2005 11:22 AM
09-01-2005 11:22 AM
scp gives only 906.1KB/s between 2 data centers.
We have 2 data centers which are in different states and the second one just came up.
We have transferred one of our systems an RP8400 to the second Data Center.
Now i am trying to copy a 1Gb file bewteen two RP8400 but gets throughput of 1Mb/s. The scp happens over a WAN and there is no bandwidth issue.
Do you have any comments ?
Tx.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-01-2005 12:04 PM
09-01-2005 12:04 PM
Re: scp gives only 906.1KB/s between 2 data centers.
Also check your network settings at the remote site and make sure that the settings for the NIC is correct. Especially check the duplex settings and verify that there isn't a duplex mismatch between the card in the server and switch port.
Mis-matched duplex can cause problems like you see.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-01-2005 12:10 PM
09-01-2005 12:10 PM
Re: scp gives only 906.1KB/s between 2 data centers.
I have the similar settings on the NICs.
1000, NO NG, Full DUPLEX.
Also, we have other (OS) servers which can copy at a speed of 16mb/s.
Tx.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-01-2005 12:16 PM
09-01-2005 12:16 PM
Re: scp gives only 906.1KB/s between 2 data centers.
You might try the Auto negotiate settings and see what happens.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-01-2005 12:19 PM
09-01-2005 12:19 PM
Re: scp gives only 906.1KB/s between 2 data centers.
Speed = 1000 Full-Duplex.
Autonegotiation = Off.
I have assurance from Net Team that the switchs are in 1000 FD off....
Tx
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-01-2005 08:59 PM
09-01-2005 08:59 PM
Re: scp gives only 906.1KB/s between 2 data centers.
1. Using weak cipher for encrytion will definitely increase the throughput ( arcfour may be a good option)
2. You can also consider the steps available from the link
http://www.psc.edu/networking/projects/hpn-ssh/old-site/
All the best.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-02-2005 02:46 AM
09-02-2005 02:46 AM
Re: scp gives only 906.1KB/s between 2 data centers.
100BaseT Ethernet, normal PC and normal Switch: autoneg
100BaseT Ethernet, HP-UX and Cisco: Hard Full Duplex settings
1000BaseT Ethernet, any variation: autoneg
With 1000BTX autonegotiation is not something optional. :)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-02-2005 02:54 AM
09-02-2005 02:54 AM
Re: scp gives only 906.1KB/s between 2 data centers.
Also, set scp to "exchange of public/privat keys" authentication. What version of scp?? Old versins use, in-built random number generation and takes time in establshing a connection. Update to latest versions.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-02-2005 03:01 AM
09-02-2005 03:01 AM
Re: scp gives only 906.1KB/s between 2 data centers.
FTP is normally quicker than ssh/scp.
If the times are similar it points to a network problem.
If the ftp times are _much_ quicker and closer to your network speed, then it points to an ssh problem.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-02-2005 07:43 AM
09-02-2005 07:43 AM
Re: scp gives only 906.1KB/s between 2 data centers.
The reason is that simple protocols like scp generate a massive number of bidirectional packets and that will kill your network performance. The problem is that the turnaround time from transmit to receive is usually very slow, from dozens to hundreds of milliseconds. You can see this with a ping test. Run it for a minute or so and see what the delay is. On a 10Mbit LAN, the time is usually 0-2ms. On a WAN, it might be 50ms to 500ms. Now the data packets might run at 4Mbytes/sec but unless the data packets are streamed without waiting for a status (like ftp), each record will require an acknowledgement and will incur the WAN turnaround time. During that time, there is dead air (nothing going on in either direction).
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-02-2005 04:23 PM
09-02-2005 04:23 PM
Re: scp gives only 906.1KB/s between 2 data centers.
I would suggest trying a normal test ftp instead of scp and check the statistics using netstat or nwadmin. You might also want your network team to have some sniffers turned on for the WAN
thanks
DP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-02-2005 08:51 PM
09-02-2005 08:51 PM
Re: scp gives only 906.1KB/s between 2 data centers.
We are also facing the same problem. Because secure copy makes lot of encription during the file transfer and may slow down the data transfer.we are also getting only 1Mb/s max using secure copy between 2 data centers. finally tested the file transfer with normal FTP and found we are getting upto 12Mb/s.
Regards,
Syam
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-03-2005 06:45 AM
09-03-2005 06:45 AM
Re: scp gives only 906.1KB/s between 2 data centers.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-03-2005 07:42 AM
09-03-2005 07:42 AM
Re: scp gives only 906.1KB/s between 2 data centers.
ftp
scp
sftp
The encryption of scp is probably causing the slowdown.
Also, I wish to confirm that those GB cards must be set to autonegotiate.
You will under all circumstances get substantially less throughput than your band with due to encryption and other issues. The more CPU you have at both ends, the less of a problem this will be.
Its interesting that you are getting 1 Mb/s
A lot of Internet connections go 1.5 Mb/s and if this WAN is really a VPN over the public Internet the speeds you are getting are normal.
I'd be interested to see lanadmin -x output on the NIC cards involved.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-06-2005 04:44 AM
09-06-2005 04:44 AM
Re: scp gives only 906.1KB/s between 2 data centers.
1) Is _any_ CPU on _either_ side of the transfer "pegged" (ie saturated)? If so, then it is a case of crypto performance with scp and the crypto it is using
2) are there TCP retransmissions during the scp session. Do something like this:
netstat -p tcp > before; scp ... ; netstat -p tcp > after
and then get beforeafter from ftp.cup.hp.com dist/networking/tools/ and
beforeafter before after > delta
and look at delta
3) run a netperf TCP_STREAM test between the two systems. Vary the setting of -s and -S to see how large a socket buffer/TCP window you need to get link-rate on your WAN link
netperf -H
and try 64K, 128K, 256K etc until you see a peak.
www.netperf.org I prefer to use netperf over ftp because netperf "just" excercises the networking and not the filesystem.
The trouble could be that scp does not use a large enough window on top of the TCP window.
IIRC there have been some recentish changes in either ssh or scp, I cannot recall which, to let it put more data out onto a connection at one time.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-09-2005 03:47 AM
09-09-2005 03:47 AM
Re: scp gives only 906.1KB/s between 2 data centers.
Tx,
Nair.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-09-2005 03:56 AM
09-09-2005 03:56 AM
Re: scp gives only 906.1KB/s between 2 data centers.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-09-2005 01:38 PM
11-09-2005 01:38 PM
Re: scp gives only 906.1KB/s between 2 data centers.
Working with vendor to get a software which can give a faster throughput over the WAN.