- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Speed differences archiving filesystems, ssh/remsh...
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
Discussions
Discussions
Forums
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
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
тАО03-06-2002 04:44 AM
тАО03-06-2002 04:44 AM
I have to move some 20 GB of data between hosts, and I was wondering if there are any speed differences between transfers either via nfs, or pipe via remote shell commands (e.g. ssh/remsh combined with tar, cpio, dd etc.)
The connection is a 100 MBit/sec Ethernet.
(let alone in-pipe compression, just a rough estimate needed,
ok it depends on current network load, so just a qualitative answer is expected)
Regards
Ralph
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-06-2002 04:52 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-06-2002 04:56 AM
тАО03-06-2002 04:56 AM
Re: Speed differences archiving filesystems, ssh/remsh vs. nfs
that's what I expected, since NFS uses this meta data type representation (forgot the exact term), and thus seems to me to have much more overhead.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-06-2002 07:59 AM
тАО03-06-2002 07:59 AM
Re: Speed differences archiving filesystems, ssh/remsh vs. nfs
To add on, from my experience, scp is slower than either rcp or ftp because of the encryption overhead, despite the compression.
Hope this helps. Regards.
Steven Sim Kok Leong
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-06-2002 08:17 AM
тАО03-06-2002 08:17 AM
Re: Speed differences archiving filesystems, ssh/remsh vs. nfs
As Steven says, ftp and rcp will be faster than scp or sftp because of the encryption overhead. With 20GB the difference could be very significant, especially on a box with cpu restraints (slower processors, single processor, heavily loaded system).
Darrell
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-06-2002 10:33 AM
тАО03-06-2002 10:33 AM
Re: Speed differences archiving filesystems, ssh/remsh vs. nfs
some switches / routers are configured to throttle down bandwidth for ftp-traffic.
I found "tar -cf- . | remsh .... tar -xf - "
to be the speediest one, esp. as you can create several streams in parallel.
(... but I got kicked when the network guys did find out :-)
Hope this helps
Volker
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-07-2002 12:48 AM
тАО03-07-2002 12:48 AM
Re: Speed differences archiving filesystems, ssh/remsh vs. nfs
that way I have done data transfers between hosts so far as well.
My only modification (despite the extra overhead for encryption, btw. when the session key once has been created ssh uses a much quicker symmetric encryption algorithm unlike the more secure assymetric during key negotiation) is that I still prefer ssh.
This way I usually do it:
# cd /source_tree
# tar cf - . | ssh remote_host \(cd /target_dir\; tar xf -\)
I think as root you can neglect tar's -p flag.
Usually I start this as a batch command sequence (nohup would also do), so that the process isn't associated with a terminal (cave SIGHUP).