<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Multiple sessions slow in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Multiple-sessions-slow/m-p/383530#M91478</link>
    <description>&lt;P&gt;You wrote: &amp;nbsp;"&lt;SPAN&gt;all process launching are distributed in a normal gaussian not run all at same time."&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Are there any time overlapping processes that run at the same time?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Can it be that some resources are held by process-1 and makes process-2 to wait?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Running 300 processes takes overhead time to manage them.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Server may be busy with other jobs.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;can you monitor start time and end time of each process in order to check overlapping with long time processes?&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 28 Jul 2017 00:57:24 GMT</pubDate>
    <dc:creator>Shmuel</dc:creator>
    <dc:date>2017-07-28T00:57:24Z</dc:date>
    <item>
      <title>Multiple sessions slow</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Multiple-sessions-slow/m-p/383527#M91477</link>
      <description>&lt;P&gt;Hello everyone:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My server specs:&lt;/P&gt;&lt;P&gt;C.P.U.: 16 Cores Xeon&lt;/P&gt;&lt;P&gt;Memory: 128 Gb&lt;/P&gt;&lt;P&gt;H.D.: 5 Tb 7200 rpm and SAN&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a new question, i write a program to make a query to get some data from a table with 5 millions of observations.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i run the program from cli&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;lt;my SASHome&amp;gt;/SASFoundation/9.x/bin/sas_en program.sas&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;only one process takes 4 segs, but if I launch randomly 300 processes in a period of 15 - 20 mins these take from 5 secs to 15 minutes, all process launching are distributed in a normal gaussian not run all at same time.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I dont know why some processes take 15 mins to finish when i run the processes i use approximately 20 Gb of memory and 10-20% of each core of the server. Any idea?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 28 Jul 2017 00:23:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Multiple-sessions-slow/m-p/383527#M91477</guid>
      <dc:creator>nigromx</dc:creator>
      <dc:date>2017-07-28T00:23:48Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple sessions slow</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Multiple-sessions-slow/m-p/383530#M91478</link>
      <description>&lt;P&gt;You wrote: &amp;nbsp;"&lt;SPAN&gt;all process launching are distributed in a normal gaussian not run all at same time."&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Are there any time overlapping processes that run at the same time?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Can it be that some resources are held by process-1 and makes process-2 to wait?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Running 300 processes takes overhead time to manage them.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Server may be busy with other jobs.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;can you monitor start time and end time of each process in order to check overlapping with long time processes?&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 28 Jul 2017 00:57:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Multiple-sessions-slow/m-p/383530#M91478</guid>
      <dc:creator>Shmuel</dc:creator>
      <dc:date>2017-07-28T00:57:24Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple sessions slow</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Multiple-sessions-slow/m-p/383546#M91487</link>
      <description>&lt;P&gt;You still have 7200 rpm disks in a server? That means a lot of latencies, and that is revealed as soon as parallel usage happens.&lt;/P&gt;
&lt;P&gt;I bet your problems come from the I/O subsystem.&lt;/P&gt;
&lt;P&gt;Replace the disks with SSDs.&lt;/P&gt;</description>
      <pubDate>Fri, 28 Jul 2017 04:08:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Multiple-sessions-slow/m-p/383546#M91487</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2017-07-28T04:08:29Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple sessions slow</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Multiple-sessions-slow/m-p/383547#M91488</link>
      <description>&lt;P&gt;It is hard to understand what is happening on a system w/o more information. In a system, they normally operate on a round robin sort of flow so some things may be waiting for a system to free up. With loads of processes, and SAS jobs (in general), you are I/O bound.&lt;/P&gt;
&lt;P&gt;Normally SAS is I/O bound. The trick is to separate the I/O channels but that may not be your issue w/o more info.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can you split the jobs so that they are reading from different I/O channels? You indicate no issues on RAM or CPU but that is normally not what slows SAS down.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Too many jobs actually can hurt a system since it will constantly buffer in and out. You are normally better off finding the optimal level vs picking a random number, like 300, and shooting them all at the same time. Do 10, then 50, then 100, so on. Find a balance.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In general, the issue is 'normally' not a system issue but the code logic for what you are trying.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hip shooting here, just what I have seen.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 28 Jul 2017 04:09:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Multiple-sessions-slow/m-p/383547#M91488</guid>
      <dc:creator>AlanC</dc:creator>
      <dc:date>2017-07-28T04:09:57Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple sessions slow</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Multiple-sessions-slow/m-p/383554#M91492</link>
      <description>&lt;P&gt;+1 for I/O botleneck.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It's extremely likely that each of your job is trying the read a different part of your disk, and the disk spends (a lot) more time seeking than reading.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Create a RAM disk and load the data there. All these random accesses will be a lot faster.&lt;/P&gt;</description>
      <pubDate>Fri, 28 Jul 2017 05:44:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Multiple-sessions-slow/m-p/383554#M91492</guid>
      <dc:creator>ChrisNZ</dc:creator>
      <dc:date>2017-07-28T05:44:15Z</dc:date>
    </item>
  </channel>
</rss>

