Here in the US, it is common for home builders to acquire a few acres of land and then offer to build custom homes. They usually offer three or four base model homes that are targeted at the needs of the typical home buyer and because the builder knows what materials are needed, the model homes can be built quickly and efficiently.
To satisfy the needs of home buyers with special preferences, builders offer to customize the model homes with any number of options. Want a screened porch instead of a patio? Want to upgrade the appliances? Want premium carpet, or paint, or fixtures? Want to choose custom paint colors instead of beige? The choices are endless and while some of the options affect the overall price, others are merely preferences and may not alter the price at all.
In much the same way, SAS provides the SAS Viya platform with a default set of options and settings that we feel will be appropriate as a starting point for most customers, a model deployment, if you will. Customers can start with the default deployment and then, over time, change it in an almost limitless number of ways.
A frequent driver of change is a desire to improve performance, whether that is throughput for SAS programs, model training, loading data into CAS, or simply starting the SAS Viya platform. Given the number of tuning options SAS Viya provides, one of the hardest questions we get is, "Do you have any tuning recommendations for us?"
Fortunately, SAS provides the SAS Viya Platform Administration: Tuning guide which offers tuning recommendations and considerations for when certain tuning options make sense.
The SAS Viya Platform Administration: Tuning guide focuses on tuning recommendations related to performance and scalability across a number of areas. The recommendations have been collected from a wide range of customer experiences, testing scenarios, and feedback from SAS consultants and technicians.
Select any image to see a larger version.
Mobile users: To view the images, select the "Full" version at the bottom of the page.
As an administrator, I appreciate how most of the tuning topics include a considerations section that describes when tuning or scaling might be appropriate and how following the recommendation could impact a deployment. Understanding when to apply certain tuning recommendations is crucial because not every tuning recommendation will be needed in every case and some of the recommendations have the potential to affect the overall cost of managing a deployment.
As of this writing, the SAS Viya Platform Administration: Tuning guide offers tuning points for a number of topics ranging from the cluster hardware, to the topology of your CAS server, to configuration of the SAS Programming Run-time servers, to configuration settings for PostgreSQL and JDBC connections.
I won't try to list every tuning item here but just to give you a taste of what's covered...
Provisioning Hardware for Performance includes
Tuning the CAS Server includes
Tuning Programming Resources and Programs covers
Tuning the PostgreSQL Server describes
Tuning SAS Visual Analytics includes
I encourage you, as a SAS Viya platform administrator, to revisit the SAS Viya Platform Administration: Tuning guide from time to time, The guide receives frequent updates as our SAS technical writers are made aware of new learnings. And you are always welcome to submit your own ideas for improvement by utilizing the Feedback menu item at the top of all SAS documentation pages.
Thanks for reading. Based on some recent experiences, it became apparent that many administrators were unaware of the tuning guide, so I thought it was worth a short article to advertise its existence.
Find more articles from SAS Global Enablement and Learning here.
Thank you bringing this tuning page under attention. We have already provisioned our cas disc cache and SAS Work. I see the next point is Visual Analytics. Is it possible to write a blog about how to enforce a physical memory limit for all the session processes that are started on a CAS server on Linux, I would like some more guidance here. thank you Karolina T
Thank you very much Scott for your answer, unfortunately I am not able to see the links where the requested info is. Pls advise.
My apologies, Karolina, the link information must have been stripped when I posted the comment via email.
CAS Resource Management for SAS Viya on Kubernetes:
CAS Resource Management for SAS Viya 3.5:
https://documentation.sas.com/doc/en/calcdc/3.5/calserverscas/n05000viyaservers000000admin.htm#n0503...
Hi,
My sas program run SAS viya (GKP with NAS mount)
In SAS Legacy(SAS EG)this program takes about 3hrs to run in Viya it took around 12hrs while writing to NAS text files converting from SASDATASETS
please let me know the solution for this
@soujanyak I advise you to create a new thread with your inquiry.
Doing so, please give as much information as possible, like SAS program, logs with performance statistics (OPTIONS STIMER;), and more detailed description on the environments you are comparing.
Join us for SAS Innovate 2025, our biggest and most exciting global event of the year, in Orlando, FL, from May 6-9. Sign up by March 14 for just $795.
Data Literacy is for all, even absolute beginners. Jump on board with this free e-learning and boost your career prospects.