<?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: PCIe SSD read speed in Administration and Deployment</title>
    <link>https://communities.sas.com/t5/Administration-and-Deployment/PCIe-SSD-read-speed/m-p/326587#M7121</link>
    <description>&lt;P&gt;SPD Engine is helpful ! Jusk using a single pathway and&amp;nbsp;then it can reach&amp;nbsp;a 1.2g/s read speed.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;libname PCIE spde 'D:\data' partsize=1024;&lt;/PRE&gt;&lt;P&gt;Thanks a lot, and I'll try more setting to tune the performance of SPD Engine.&lt;/P&gt;</description>
    <pubDate>Sun, 22 Jan 2017 15:54:11 GMT</pubDate>
    <dc:creator>Jack_Lin</dc:creator>
    <dc:date>2017-01-22T15:54:11Z</dc:date>
    <item>
      <title>PCIe SSD read speed</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/PCIe-SSD-read-speed/m-p/325167#M7065</link>
      <description>&lt;P&gt;I have a huge data set and trying to cut down &lt;SPAN&gt;the operation time. The code i usually using&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;:&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE&gt;DATA x; SET LIB.set1; &lt;BR /&gt;	/*set1 is 4.6GB for following example. For real work always &amp;gt; 20 sets or more*/
WHERE code1 in: ("sas","test"); RUN;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I find that&amp;nbsp;when using different storage device,&amp;nbsp;the&amp;nbsp;operation time (sec) is&amp;nbsp;followin with this simple formula:&amp;nbsp;&lt;STRONG&gt;Data size (GB)&amp;nbsp;/ Device speed (GB/s). &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN&gt;When my LIB is setting on a traditional 2.5" HDD (~0.1g/s) the&amp;nbsp;real time is&amp;nbsp;49.8 sec,&amp;nbsp;a&lt;/SPAN&gt;&lt;SPAN&gt;nd when&amp;nbsp;LIB&amp;nbsp;is setting on&amp;nbsp;SATA SSD (~0.4GB/s) it takes 11.7 sec.&amp;nbsp;I also try the ram disk and it only&amp;nbsp;takes 2.1 sec (~2g/s).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;libname HDD 'E:/';&lt;BR /&gt;data H;set HDD.set1;where code1 in: ("401","402","403","404","405") or code2 in: ("401","402","403","404","405") or code3 in: ("401","402","403","404","405");&lt;BR /&gt;run;&lt;BR /&gt;/*NOTE: DATA statement used (Total process time):&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; real time&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 49.80 seconds&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; user cpu time&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3.43 seconds&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; system cpu time&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2.79 seconds&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; memory&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1014.28k&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; OS Memory&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 18672.00k*/&lt;BR /&gt;
libname SSD 'C:/test';
data S;set SSD.set1;where code1 in: ("401","402","403","404","405") or code2 in: ("401","402","403","404","405") or code3 in: ("401","402","403","404","405");
run;
/*NOTE: DATA statement used (Total process time):
      real time           11.71 seconds
      user cpu time       1.34 seconds
      system cpu time     0.87 seconds
      memory              1014.28k
      OS Memory           18672.00k*/

libname RAM 'S:/';
data R;set RAM.set1;where code1 in: ("401","402","403","404","405") or code2 in: ("401","402","403","404","405") or code3 in: ("401","402","403","404","405");
run;
/*NOTE: DATA statement used (Total process time):
      real time           2.13 seconds
      user cpu time       1.45 seconds
      system cpu time     0.64 seconds
      memory              1285.28k
      OS Memory           18416.00k*/&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It is hard to have a bigger ram disk more than 20GB for me.&amp;nbsp; But it's easy to reach 500GB by using PCIe SSD with a 1.5g/sec read speed. However, when i using a PCIe SSD with same code and same data set, it only runs 0.37G/sec and takes 12.4 sec.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;libname PCIE 'D:/cd';
data P;set PCIE.set1;where code1 in: ("401","402","403","404","405") or code2 in: ("401","402","403","404","405") or code3 in: ("401","402","403","404","405");
run;
/*NOTE: DATA statement used (Total process time):
      real time           12.43 seconds
      user cpu time       1.09 seconds
      system cpu time     1.04 seconds
      memory              1014.28k
      OS Memory           18928.00k*/&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So i wonder that whether SAS does NOT support PCIe 3.0*4, or it is lead by any other reason that i have to do some setting to reach the optimal read speed of PCIE SSD.&amp;nbsp; Thanks!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ps1. The read speed is cheecked by watching the Task Manager.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;ps2. WORK library is located at Ram Disk to increase the comparability and minimize the effect of the write speed bound of each storage device.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;ps3. The PCIe SSD can reach 1.5g/s on my laptop for&amp;nbsp;normal seq-read work.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;ps4. SAS 9.4 on WIN10 home&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 17 Jan 2017 03:20:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/PCIe-SSD-read-speed/m-p/325167#M7065</guid>
      <dc:creator>Jack_Lin</dc:creator>
      <dc:date>2017-01-17T03:20:58Z</dc:date>
    </item>
    <item>
      <title>Re: PCIe SSD read speed</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/PCIe-SSD-read-speed/m-p/325185#M7066</link>
      <description>I'm not a PC engineer so let the PCI question to others, I stick with commenting on the SAS part.&lt;BR /&gt;Since you have a where clause consider creating an index.&lt;BR /&gt;Also, store the data in a SPDE library, that among other things allows for multi threaded I/O.</description>
      <pubDate>Tue, 17 Jan 2017 07:18:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/PCIe-SSD-read-speed/m-p/325185#M7066</guid>
      <dc:creator>LinusH</dc:creator>
      <dc:date>2017-01-17T07:18:53Z</dc:date>
    </item>
    <item>
      <title>Re: PCIe SSD read speed</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/PCIe-SSD-read-speed/m-p/325188#M7067</link>
      <description>&lt;P&gt;It might be something in the PCIe settings that slows down your bus performance and makes your PCIe disk slower than the more directly attached SATA SSD. Or there is an additional device on the PCIe that slows the whole bus down.&lt;/P&gt;
&lt;P&gt;Since you have a notebook that performs better, you have something to compare the settings with.&lt;/P&gt;
&lt;P&gt;There ARE reasons why dedicated server computers (ie a pSeries) are more expensive. One being that they are perfectly tuned (HW- and SW-wise) out of the box.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 17 Jan 2017 11:25:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/PCIe-SSD-read-speed/m-p/325188#M7067</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2017-01-17T11:25:19Z</dc:date>
    </item>
    <item>
      <title>Re: PCIe SSD read speed</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/PCIe-SSD-read-speed/m-p/326587#M7121</link>
      <description>&lt;P&gt;SPD Engine is helpful ! Jusk using a single pathway and&amp;nbsp;then it can reach&amp;nbsp;a 1.2g/s read speed.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;libname PCIE spde 'D:\data' partsize=1024;&lt;/PRE&gt;&lt;P&gt;Thanks a lot, and I'll try more setting to tune the performance of SPD Engine.&lt;/P&gt;</description>
      <pubDate>Sun, 22 Jan 2017 15:54:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/PCIe-SSD-read-speed/m-p/326587#M7121</guid>
      <dc:creator>Jack_Lin</dc:creator>
      <dc:date>2017-01-22T15:54:11Z</dc:date>
    </item>
    <item>
      <title>Re: PCIe SSD read speed</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/PCIe-SSD-read-speed/m-p/326588#M7122</link>
      <description>&lt;P&gt;Yes, the current ssd is a tlc budget one. Maybe it is lead by&amp;nbsp;the tlc cache&amp;nbsp;or any other reason still not sure.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm trying to using another MLC PCIE ssd and hope it&amp;nbsp;can succeed !&lt;/P&gt;</description>
      <pubDate>Sun, 22 Jan 2017 16:07:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/PCIe-SSD-read-speed/m-p/326588#M7122</guid>
      <dc:creator>Jack_Lin</dc:creator>
      <dc:date>2017-01-22T16:07:43Z</dc:date>
    </item>
    <item>
      <title>Re: PCIe SSD read speed</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/PCIe-SSD-read-speed/m-p/327096#M7144</link>
      <description>&lt;P&gt;Jack,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;SAS won't be concerned with your device level drivers for your PCIe bus. The speeds you're reaching are already quite decent. I suspect you're most likely hitting an I/O operations (iops) wall rather than a PCIe bus throughput limit, whether in the hardware or in the kernel/cache.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Try reducing the number of IO operations required by increasing the BLKSIZE on your sesssion / data, and also&amp;nbsp;&lt;A href="https://support.sas.com/resources/papers/proceedings09/327-2009.pdf" target="_self"&gt;experimenting with SGIO&lt;/A&gt;. I'm guessing you'll see a 20-30% increase in read speed by upping the blksize, and a much more drastic change by using SGIO. However, don't be surprised if you struggle&amp;nbsp;to max out your disk with a single thread. A better test of your hardware will be to run a few of these jobs in parallel - you may be able to push your disk much closer to the limit that way. The Windows i/o subsystem also isn't the greatest.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What kind of speeds are you seeing with tools like CrystalDiskMark?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Nik&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 24 Jan 2017 16:09:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/PCIe-SSD-read-speed/m-p/327096#M7144</guid>
      <dc:creator>boemskats</dc:creator>
      <dc:date>2017-01-24T16:09:36Z</dc:date>
    </item>
  </channel>
</rss>

