Executing SAS procedures in multi-threading

Reply
New Contributor
Posts: 4

Executing SAS procedures in multi-threading

Hi,

I have read in the following paper (http://www2.sas.com/proceedings/sugi28/282-28.pdf), that starting from SAS9, some procedures incorporate the multi-threading to run faster.

My question: is multi-threading activated by default in SAS 9.1.3 ? or we have to activate it with the option threads ? in my config file i have nothing about the option threads and i don't use it in my code.

So, i would like to know if my procedures already leverage the multi-threading or no ?

Thanks in advance !

Sidi

Occasional Contributor
Posts: 10

Re: Executing SAS procedures in multi-threading

Use PROC OPTIONS OPTION=THREADS ; RUN;  in your system to see if it's enabled by default....which it probably is.   It's merely a toggle between THREADS and NOTHREADS.

New Contributor
Posts: 4

Re: Executing SAS procedures in multi-threading

Thanks for the answer.

After running PROC OPTIONS OPTION=THREADS ; RUN;

I have the following information in the sas log:

THREADS           Threads are available for use with features of the SAS System that support threading

Does it mean that threads are activated ?

Best regards.

Occasional Contributor
Posts: 10

Re: Executing SAS procedures in multi-threading

Yep.  It would say NOTHREADS in the log if it was disabled.  Many (but not all) of the SAS PROCs will now utilize the multi-threads, provided your system has multiple cores.

New Contributor
Posts: 4

Re: Executing SAS procedures in multi-threading

OK, thanks!

Ask a Question
Discussion stats
  • 4 replies
  • 1072 views
  • 3 likes
  • 2 in conversation