BookmarkSubscribeRSS Feed
ciaran2
Calcite | Level 5

It's not about theory, it's about real application.
Does anyone have experience that code written in DS2 actually executed faster than similar code written in 4gl?
Examples found on the Internet are artificial and not useful in practical use. Has anyone actually had faster code that executes multi-threaded?

4 REPLIES 4
yabwon
Onyx | Level 15

Did you read this one:

https://www.lexjansen.com/mwsug/2019/SP/MWSUG-2019-SP-031.pdf

 

Bart

_______________
Polish SAS Users Group: www.polsug.com and communities.sas.com/polsug

"SAS Packages: the way to share" at SGF2020 Proceedings (the latest version), GitHub Repository, and YouTube Video.
Hands-on-Workshop: "Share your code with SAS Packages"
"My First SAS Package: A How-To" at SGF2021 Proceedings

SAS Ballot Ideas: one: SPF in SAS, two, and three
SAS Documentation



SASKiwi
PROC Star

What is your actual use case? There are many more ways to speed up programs than just to look at multi-threading. In my experience most SAS processing is IO constrained unless you are using computationally intensive operations. Tuning IO can have a major impact on performance.

ciaran2
Calcite | Level 5

You write about your experience. So you had examples where multithreading gave good results? What was the problem you managed to solve?

SASKiwi
PROC Star

@ciaran2  - No I don't have any experiences to share regarding multi-threading. Have you read the paper linked above? Most DS2 multi-threaded examples tried were slower than a single-threaded version.

 

In my experience minimising and tuning IO results in significant performance improvements. Also if you really want to speed up a SAS application, parallel processing, if appropriate, can reduce processing time massively. I have one parallel processing job that originally took over 14 hours to run and now takes under 4 hours. The nice thing about parallel processing is you don't need to recode you just split it into separate SAS sessions.  

SAS Innovate 2025: Call for Content

Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!

Submit your idea!

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 4 replies
  • 770 views
  • 3 likes
  • 3 in conversation