Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9273501
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T16:07:58+00:00 2026-06-18T16:07:58+00:00

I’ve also posted this question on runsubmit.com , a site outside the SE network

  • 0

I’ve also posted this question on runsubmit.com, a site outside the SE network for SAS-related questions.

At work there are 2 sas servers I use. When I transfer a sas dataset from one to the other via proc upload, it goes at about 2.5MB/s. However, if I map the drive on one server as a network drive and copy and paste the file across, it runs much faster, around 80MB/s (over the same gigabit connection).

Could anyone suggest what might be causing this and what I can do either to fix it or as a workaround?

There is also a third server I use that cannot map network drives on the other two- SAS is the only available means of transferring files from that one, so I need a SAS-based solution. Although individual transfers from this one run at 2.5MB/s, I’ve found that it’s possible to have several transfers all going in parallel, each at 2.5MB/s.

Would SAS FTP via filenames and a data step be any faster than using proc upload? I might try that next, but I would prefer not to use this- we only have SAS 9.1.3, so SFTP isn’t available.

Update – Further details:

  • I’m connecting to a spawner, and I think it uses ‘SAS proprietary encryption’ (based on what I recall seeing in the logs).
  • The uploads are Windows client -> Windows remote in the first case and Unix client -> Windows remote in the second case.
  • The SAS datasets in question are compressed (i.e. by SAS, not some external compression utility).
  • The transfer rate is similar when using proc upload to transfer external files (.bz2) in binary mode.
  • All the servers have very fast disk arrays handled by enterprise-grade controllers (minimum 8 drives in RAID 10)

Potential solutions

  • Parallel PROC UPLOAD – potentially fast enough, but extremely CPU-heavy
  • PROC COPY – much faster than PROC UPLOAD, much less CPU overhead
  • SAS FTP – not secure, unknown speed, unknown CPU overhead

Update – test results

  • Parallel PROC UPLOAD: involves quite a lot of setup* and a lot of CPU, but works reasonably well.
  • PROC COPY: exactly the same transfer rate per session as proc upload, and far more CPU time used.
  • FTP: About 20x faster, minimal CPU (100MB/s vs. 2.5MB/s per parallel proc upload).

*I initially tried the following:

local session -> remote session on source server -> n remote sessions
on destination server -> Recombine n pieces on destination server

Although this resulted in n simultaneous transfers, they each ran at 1/n of the original rate, probably due to a CPU bottleneck on the source server. To get it to work with n times the bandwidth of a single transfer, I had to set it up as:

local session -> n remote sessions on source server -> 1 remote
session each on destination server -> Recombine n pieces on destination server

SAS FTP code

filename source ftp '\dir1\dir2'
host='servername'
binary dir
user="&username" pass="&password";

let work = %sysfunc(pathname(work));
filename target "&work";
data _null_;
infile source('dataset.sas7bdat') truncover;
input;
file target('dataset.sas7bdat');
put _infile_;
run;
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-18T16:07:59+00:00Added an answer on June 18, 2026 at 4:07 pm

    FTP, if available from the source server, is much faster than proc upload or proc copy. These both operate on a record-by-record basis and can be CPU-bound over fast network connections, especially for very wide datasets. A single FTP transfer will attempt to use all available bandwidth, with negligible CPU cost.

    This assumes that the destination server can use the unmodified transferred file – if not, the time required to make it usable might negate the increased transfer speed of FTP.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I know there's a lot of other questions out there that deal with this
I'm parsing an RSS feed that has an ’ in it. SimpleXML turns this
This could be a duplicate question, but I have no idea what search terms
I'm not entirely sure how I managed to jack this up. http://pretty-senshi.com If you
I have a string like this: La Torre Eiffel paragonata all’Everest What PHP function
For some reason, after submitting a string like this Jack’s Spindle from a text
link Im having trouble converting the html entites into html characters, (&# 8217;) i
this is what i have right now Drawing an RSS feed into the php,
I have this code to decode numeric html entities to the UTF8 equivalent character.
I have a French site that I want to parse, but am running into

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.