<?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 Poor performances using pipes  in Intel® Fortran Compiler</title>
    <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Poor-performances-using-pipes/m-p/901345#M80843</link>
    <description>Dear forumers,&lt;BR /&gt;&lt;BR /&gt;I have a question about the performances of pipes. I do the following exercise:&lt;BR /&gt;&lt;BR /&gt;- I open aC++ pipe in write access&lt;BR /&gt;- I open this pipe in Fortran with read access&lt;BR /&gt;- I read an ASCII file in C++ and i fill the pipe with all the file contents in buffer&lt;BR /&gt;- When C++ has finished writing in pipe, i read all the buffer in Fortran&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;SPAN style="text-decoration: underline;"&gt;Note:&lt;/SPAN&gt;&lt;/STRONG&gt; All is compiled in a same executable, this is a simple performance test.&lt;BR /&gt;&lt;BR /&gt;The file is &lt;STRONG&gt;+/- 10 MB&lt;/STRONG&gt; large: &lt;BR /&gt;&lt;BR /&gt;- C++ (VS 2008)takes &lt;STRONG&gt;0.5&lt;/STRONG&gt; second to read and fill the pipe.&lt;BR /&gt;- Fortran (Ifort 11.1)takes &lt;STRONG&gt;6 &lt;/STRONG&gt;seconds to read the pipe contents.&lt;BR /&gt;&lt;BR /&gt;If i read directly the file in Fortran, time is &lt;STRONG&gt;1&lt;/STRONG&gt; second.&lt;BR /&gt;&lt;BR /&gt;My feeling before using pipe was: &lt;EM&gt;"If i read something in pipe, it will be faster than if i read the file on the hard drive". &lt;/EM&gt;Is my feeling wrong?&lt;BR /&gt;&lt;BR /&gt;Sincerely yours,&lt;BR /&gt;&lt;BR /&gt;F-Xavier&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Thu, 06 Aug 2009 14:04:01 GMT</pubDate>
    <dc:creator>François-Xavier</dc:creator>
    <dc:date>2009-08-06T14:04:01Z</dc:date>
    <item>
      <title>Poor performances using pipes</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Poor-performances-using-pipes/m-p/901345#M80843</link>
      <description>Dear forumers,&lt;BR /&gt;&lt;BR /&gt;I have a question about the performances of pipes. I do the following exercise:&lt;BR /&gt;&lt;BR /&gt;- I open aC++ pipe in write access&lt;BR /&gt;- I open this pipe in Fortran with read access&lt;BR /&gt;- I read an ASCII file in C++ and i fill the pipe with all the file contents in buffer&lt;BR /&gt;- When C++ has finished writing in pipe, i read all the buffer in Fortran&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;SPAN style="text-decoration: underline;"&gt;Note:&lt;/SPAN&gt;&lt;/STRONG&gt; All is compiled in a same executable, this is a simple performance test.&lt;BR /&gt;&lt;BR /&gt;The file is &lt;STRONG&gt;+/- 10 MB&lt;/STRONG&gt; large: &lt;BR /&gt;&lt;BR /&gt;- C++ (VS 2008)takes &lt;STRONG&gt;0.5&lt;/STRONG&gt; second to read and fill the pipe.&lt;BR /&gt;- Fortran (Ifort 11.1)takes &lt;STRONG&gt;6 &lt;/STRONG&gt;seconds to read the pipe contents.&lt;BR /&gt;&lt;BR /&gt;If i read directly the file in Fortran, time is &lt;STRONG&gt;1&lt;/STRONG&gt; second.&lt;BR /&gt;&lt;BR /&gt;My feeling before using pipe was: &lt;EM&gt;"If i read something in pipe, it will be faster than if i read the file on the hard drive". &lt;/EM&gt;Is my feeling wrong?&lt;BR /&gt;&lt;BR /&gt;Sincerely yours,&lt;BR /&gt;&lt;BR /&gt;F-Xavier&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 06 Aug 2009 14:04:01 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Poor-performances-using-pipes/m-p/901345#M80843</guid>
      <dc:creator>François-Xavier</dc:creator>
      <dc:date>2009-08-06T14:04:01Z</dc:date>
    </item>
  </channel>
</rss>

