- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: scp is slower then ftp
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
04-14-2009 03:36 AM
04-14-2009 03:36 AM
scp is slower then ftp
We are working in HP-UX 11i.v3 and using scp for coping file to remote location. It's very much slow, you can see below mention logs.
how can we improve the speed.
Here is the sample output of SCP and FTP file transfers
scp ESRSPATCH.rar.filepart 10.108.129.12:/tmp
918395
ESRSPATCH.rar.filepart 100% 897KB 24.2KB/s 00:37
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
ftp> put ESRSPATCH.rar.filepart
200 PORT command successful.
150 Opening BINARY mode data connection for ESRSPATCH.rar.filepart.
######################################################################################
######################################################################################
######################################################################################
######################################################################################
######################################################################################
######################################################################################
######################################################################################
######################################################################################
######################################################################################
######################################################################################
####################################
226 Transfer complete.
918395 bytes sent in 1.87 seconds (480.08 Kbytes/s)
Regards
Karki
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-14-2009 03:43 AM
04-14-2009 03:43 AM
Re: scp is slower then ftp
1. sftp/scp uses encryption where ftp does not. This will use more CPU (on both ends) and increase bandwith usage
2. sftp/scp probably uses compression, which causes increased CPU usage (on both ends) but /might/ decrease the bandwidth usage.
If compression is enabled and you transfer gzip/bzip2/lzma files, the size of the data sent will most likely be bigger than without compression, as compressing already compressed data will in most cases lead to a size increase instread of a size decrease
You can disable compression to specific machines in your ~/.ssh/config, somewhat like
--8<---
Host hostname
Compression no
-->8---
Enjoy, Have FUN! H.Merijn
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-14-2009 04:08 AM
04-14-2009 04:08 AM
Re: scp is slower then ftp
I 'm coping from root and have put the entry in vi /.ssh/config
Compression no
after that i copied 3 mb file but still very slow.
# scp -p PHSS_38527 10.108.129.33:/tmp/
Password:
PHSS_38527 7% 272KB 0.0KB/s - stalled -
Regards
Karki
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-14-2009 04:31 AM
04-14-2009 04:31 AM
Re: scp is slower then ftp
The default encryption method is 3des. If either end needs to go through big trouble to use that (HP-UX 11.00 and older do not have /dev/random support built in the kernel by default, so you need to install new modules to use that)
If the encryption is causing the slowdown, you have to look at your options. If the network you trandsfer over is really safe, just use rcp or ftp, otherwise you'll have to live with the encryption slowdown or experiment with setting different encryption algorithms for the slow machine. See 'man ssh_config'
Enjoy, Have FUN! H.Merijn
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-14-2009 05:30 PM
04-14-2009 05:30 PM
Re: scp is slower then ftp
Like it or worked !! Click kudos !!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-14-2009 07:36 PM
04-14-2009 07:36 PM
Re: scp is slower then ftp
Bill Hassell, sysadmin