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
Amethyst | Level 16

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.  

hackathon24-white-horiz.png

2025 SAS Hackathon: There is still time!

Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!

Register Now

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.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

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