- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- NFS vs. SFTP which one faster?
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
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
тАО02-26-2009 01:05 PM
тАО02-26-2009 01:05 PM
My boss asked me a question about data transfer from one HP-UX server to another HP-UX server, which way (speed/rate)is faster? Using NFS remote mount point "local" copy or SFTP from one to another? How about FTP?
Thanks a lot. Any answers will be very appreciate.
-G
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-26-2009 01:17 PM
тАО02-26-2009 01:17 PM
SolutionWould they be over the same network interface? Here I can sneak a few sftp's over the gigabit backup network in the day time, but they would never allow an NFS mount over it.
What size files?
How many files?
How often?
FTP is generally frowned up on as being less secure. However if you are inside of your firewalls, and the data is not too sensitive then its an option.
Mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-26-2009 01:25 PM
тАО02-26-2009 01:25 PM
Re: NFS vs. SFTP which one faster?
Thanks a lot for your faster reply, through NFS or SFTP? Just a kidding.
The total size around 100-150GB. It's a daily job. How many files? not sure, just know it's some oracle data files.
NIC are all std 100MB mode, they are all located inside firewall internal environment.
Which one is faster?
-G
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-26-2009 01:30 PM
тАО02-26-2009 01:30 PM
Re: NFS vs. SFTP which one faster?
sftp will have lower overhead and therefor be quicker. Also the fact that it is a daily job, means there is no need for a permanent NFS connection.
One other idea for large files is tar to std out and remsh to the remote host:
tar cvf - filename | remsh hostname "cd /dir ; tar xvf -"
Good luck, other users might be able to make other suggestions.
Mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-26-2009 01:33 PM
тАО02-26-2009 01:33 PM
Re: NFS vs. SFTP which one faster?
Have a good day.
-Gary
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-26-2009 04:30 PM
тАО02-26-2009 04:30 PM
Re: NFS vs. SFTP which one faster?
Dave
I work at HPE
HPE Support Center offers support for your HPE services and products when and how you need it. Get started with HPE Support Center today.
[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-26-2009 04:35 PM
тАО02-26-2009 04:35 PM
Re: NFS vs. SFTP which one faster?
The answer is, of course "it depends" :)
Ignoring disc performance on the premis it affects both equally (assuming NFS read rather than write)...
NFS performance will depend on the size of the effective TCP windows and the number of outstanding NFS requests per mount and the number of TCP connections per mount. How those are changed will have to come from the likes of Dave Olker or another NFS guru.
FTP of a single file will depend on the size of the effective TCP window. FTP will otherwise shove as much into the socket at one time as it can. Socket buffer settings are controlled in ftp on ux via (iirc) a -B option - and IIRC FTP will always make explicit setsockopt() calls and not rely on the the system defaults so you need to check the ftp/ftpd manpage(s).
Attached is some TCP performance boilerplate which is a work-in-progress. It might have a slight Linux bias presently but the broad brush strokes should transfer pretty well.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-27-2009 07:22 AM
тАО02-27-2009 07:22 AM
Re: NFS vs. SFTP which one faster?
Thanks a lot for your good suggestions.
Have a good day.
-Gary
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-27-2009 09:20 AM
тАО02-27-2009 09:20 AM
Re: NFS vs. SFTP which one faster?
NFS would probably be a better choice I would think.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-27-2009 09:28 AM
тАО02-27-2009 09:28 AM
Re: NFS vs. SFTP which one faster?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-27-2009 09:38 AM
тАО02-27-2009 09:38 AM
Re: NFS vs. SFTP which one faster?
Thanks Rick again.
Yes, currently, this data transfer job spends around 3 or more hours per day. It was set in crontab job and started at 4:00 a.m., it looks like a little bit long, so that's the resson why I asked NFS vs. SFTP which one is faster.
Queston for Rick, could you provide me more details about IPSEC, like how to set it and how to get this ... is it network side or HP-UX server side? "running NFS over IPSEC..."
thanks.
-Gary
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-27-2009 09:43 AM - last edited on тАО11-13-2020 03:41 AM by Vajith V
тАО02-27-2009 09:43 AM - last edited on тАО11-13-2020 03:41 AM by Vajith V
Re: NFS vs. SFTP which one faster?
I am afraid I do not know the specifics of enabling IPSEC - one or more of the UX or networking manuals at https://support.hpe.com/hpesc/public/home should discuss it. I take it you are making these transfers over a network not entirely under your control?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-27-2009 09:46 AM
тАО02-27-2009 09:46 AM
Re: NFS vs. SFTP which one faster?
Thanks a lot.
Have a good day.
-G
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-27-2009 09:57 AM
тАО02-27-2009 09:57 AM
Re: NFS vs. SFTP which one faster?
o Kerberos Authentication
o Send & Receive Data Checksums
o End-to-end Data Encryption and Checksums
Of course adding any kind of security will "impact" performance (Hi Rick - he hates that. ;)
However, if you're running this stuff across a 100MB link you're probably not too overly concerned about performance anyway.
Dave
I work at HPE
HPE Support Center offers support for your HPE services and products when and how you need it. Get started with HPE Support Center today.
[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-27-2009 10:01 AM
тАО02-27-2009 10:01 AM
Re: NFS vs. SFTP which one faster?
Wisdom Teeth are impacted, people are affected by the effects of events.
Now, enabling security - especially encryption - will _affect_ :) service demand (quantity of CPU consumed per unit of work - something netperf will report for its tests if you ask it to), and a sufficiently large increase in service demand may _affect_ throughput.
How much is, of course, one of those (in)famous "it depends" sorts of questions.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-27-2009 10:04 AM
тАО02-27-2009 10:04 AM
Re: NFS vs. SFTP which one faster?
Those two HP-UX servers are running 11i v1 (although we do have v2 and v3 OS installation CD/DVD for so many years, but so far my boss no upgrade plan), I haven't heard Secure NFS in v1, It look like it using SSH protocol.
In this case, I think transfer speed is more important than security.
-G
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-27-2009 12:10 PM
тАО02-27-2009 12:10 PM
Re: NFS vs. SFTP which one faster?
The effect or impression of one thing on another:
"..still gauging the impact of automation on the lives.."
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-27-2009 06:07 PM
тАО02-27-2009 06:07 PM
Re: NFS vs. SFTP which one faster?
Good luck
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-28-2009 08:58 AM
тАО02-28-2009 08:58 AM
Re: NFS vs. SFTP which one faster?
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-28-2009 11:00 AM
тАО02-28-2009 11:00 AM
Re: NFS vs. SFTP which one faster?
If I _really_ wanted to know, rather than
asking people who know less than enough about
my whole environment, I'd run a test. (I
know that it's a radical concept, but I'm odd
that way.)
> tar cvf - filename | remsh hostname "cd /dir ; tar xvf -"
If your CPUs are faster than your network,
adding compression (gzip, bzip2, ...) to that
pipeline might help. Full command examples
abound in this forum.
>.Wisdom Teeth are impacted, people are
> affected by the effects of events.
Hmmm. I'd say that people are affected by
events, not, generally, by the effects of
events. (There may be a limit to the amount
of wisdom which can be crammed into one pithy
remark.)
> American Heritage sayeth thusly -
Sadly, even good dictionaries tend to include
defective usage when it becomes sufficiently
common. Diluting "impact" to mean no more
than "affect" (or "effect") destroys much of
its value. (Dare I say, its _impact_?) One
(perhaps the only) benefit of using "impact"
everywhere is that semi-literates who haven't
mastered the difference between "affect" and
"effect" seem to be able to cope with
"impact" and "impact".
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-02-2009 01:46 PM
тАО03-02-2009 01:46 PM
Re: NFS vs. SFTP which one faster?
-Gary