<?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: low performance when running 'grep' and 'awk' scripting over large text file in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/low-performance-when-running-grep-and-awk-scripting-over-large/m-p/5025859#M65482</link>
    <description>This is a long shot by what is environment variable LANG set to?&lt;BR /&gt;&lt;BR /&gt;In the past it's been reported that grep, sort and friends can be slow if LANG is set to one of the UTF variants.&lt;BR /&gt;&lt;BR /&gt;Try&lt;BR /&gt;&lt;BR /&gt;$ LANG=C grep ...</description>
    <pubDate>Thu, 01 Feb 2007 03:02:28 GMT</pubDate>
    <dc:creator>Ermin Borovac</dc:creator>
    <dc:date>2007-02-01T03:02:28Z</dc:date>
    <item>
      <title>low performance when running 'grep' and 'awk' scripting over large text file</title>
      <link>https://community.hpe.com/t5/operating-system-linux/low-performance-when-running-grep-and-awk-scripting-over-large/m-p/5025858#M65481</link>
      <description>Our application algorithm has to parse 12 times over a large text file (size=148MB).&lt;BR /&gt;We ran the same script over the same file on different machines and strangelly the worst performante was produced on our brand new server: an HP Proliant DL380G5 w/ 10krpm SAS disks. I suppose that it must be a question of tunning the kernel. What can i do to enhance the application processing time on this server?&lt;BR /&gt; &lt;BR /&gt;TEST RESULTS (same script, same large file, different servers): &lt;BR /&gt;i) Laptop PC w/ Celeron processor runnig GentoOS (BEST PERFORM) - 1'38" &lt;BR /&gt;ii) HP Proliant DL380G3 Xeon 3GHz running RHEL3.6 - 6'14" &lt;BR /&gt;iii) HP Proliant DL380G5 2xXeon 2-core 3,4GHz running RHEL4.4 - 11'26" &lt;BR /&gt;</description>
      <pubDate>Wed, 31 Jan 2007 16:54:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/low-performance-when-running-grep-and-awk-scripting-over-large/m-p/5025858#M65481</guid>
      <dc:creator>Alberto Rocha</dc:creator>
      <dc:date>2007-01-31T16:54:21Z</dc:date>
    </item>
    <item>
      <title>Re: low performance when running 'grep' and 'awk' scripting over large text file</title>
      <link>https://community.hpe.com/t5/operating-system-linux/low-performance-when-running-grep-and-awk-scripting-over-large/m-p/5025859#M65482</link>
      <description>This is a long shot by what is environment variable LANG set to?&lt;BR /&gt;&lt;BR /&gt;In the past it's been reported that grep, sort and friends can be slow if LANG is set to one of the UTF variants.&lt;BR /&gt;&lt;BR /&gt;Try&lt;BR /&gt;&lt;BR /&gt;$ LANG=C grep ...</description>
      <pubDate>Thu, 01 Feb 2007 03:02:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/low-performance-when-running-grep-and-awk-scripting-over-large/m-p/5025859#M65482</guid>
      <dc:creator>Ermin Borovac</dc:creator>
      <dc:date>2007-02-01T03:02:28Z</dc:date>
    </item>
    <item>
      <title>Re: low performance when running 'grep' and 'awk' scripting over large text file</title>
      <link>https://community.hpe.com/t5/operating-system-linux/low-performance-when-running-grep-and-awk-scripting-over-large/m-p/5025860#M65483</link>
      <description>Shalom,&lt;BR /&gt;&lt;BR /&gt;Interesting results.&lt;BR /&gt;&lt;BR /&gt;The Os is different.&lt;BR /&gt;&lt;BR /&gt;The processor is different.&lt;BR /&gt;&lt;BR /&gt;The amount ofmemory is likely different.&lt;BR /&gt;&lt;BR /&gt;The Patch level is different.&lt;BR /&gt;&lt;BR /&gt;The storage(disk) performance is likely different.&lt;BR /&gt;&lt;BR /&gt;Any of the factors above could impact the results.&lt;BR /&gt;&lt;BR /&gt;More memory and a larger buffer cache will normally improve performance in such sitations. There are a lot of variables here.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Thu, 01 Feb 2007 06:30:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/low-performance-when-running-grep-and-awk-scripting-over-large/m-p/5025860#M65483</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2007-02-01T06:30:58Z</dc:date>
    </item>
    <item>
      <title>Re: low performance when running 'grep' and 'awk' scripting over large text file</title>
      <link>https://community.hpe.com/t5/operating-system-linux/low-performance-when-running-grep-and-awk-scripting-over-large/m-p/5025861#M65484</link>
      <description>BINGO! That is impressive: setting var env LANG, the execution time has reduced from 11' to 48". Thank you Ermin Borovac.</description>
      <pubDate>Thu, 01 Feb 2007 07:41:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/low-performance-when-running-grep-and-awk-scripting-over-large/m-p/5025861#M65484</guid>
      <dc:creator>Alberto Rocha</dc:creator>
      <dc:date>2007-02-01T07:41:30Z</dc:date>
    </item>
  </channel>
</rss>

