<?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: Performance - please suggest in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/performance-please-suggest/m-p/4158152#M31889</link>
    <description>Your performance may be limited by by grep rather than NFS.  You could compare the speed of your search to the speed of&lt;BR /&gt;find -name out.\*.gz -mtime -5 -exec zcat {} \; &amp;gt; /dev/null&lt;BR /&gt;&lt;BR /&gt;Why should a simple grep be slower than an NFS transfer?  First, zcat may expand the files a lot after the NFS transfer.  Second, grep in RHEL4U3 has a really bad performance problem with locales that have utf8 character encoding.&lt;BR /&gt;See the comment about "Back-ported egf-speedup patch (bug #179636)." in&lt;BR /&gt;&lt;A href="http://www.redhat.com/docs/manuals/enterprise/RHEL-4-Manual/release-notes/as-x86/RELEASE-NOTES-U4-x86-en.html" target="_blank"&gt;http://www.redhat.com/docs/manuals/enterprise/RHEL-4-Manual/release-notes/as-x86/RELEASE-NOTES-U4-x86-en.html&lt;/A&gt;&lt;BR /&gt;and the defect report at&lt;BR /&gt;&lt;A href="https://bugzilla.redhat.com/show_bug.cgi?id=69900" target="_blank"&gt;https://bugzilla.redhat.com/show_bug.cgi?id=69900&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;You can work around the grep performance problem by setting "export LANG=C" before running grep.</description>
    <pubDate>Wed, 12 Mar 2008 03:08:17 GMT</pubDate>
    <dc:creator>Mike Stroyan</dc:creator>
    <dc:date>2008-03-12T03:08:17Z</dc:date>
    <item>
      <title>Performance - please suggest</title>
      <link>https://community.hpe.com/t5/operating-system-linux/performance-please-suggest/m-p/4158145#M31882</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;The user is executing below find command on a NFS/NAS share.  This command is executed on a RHEL4 U3 64bit Virtual machine(1CPU, 1GB RAM).&lt;BR /&gt;&lt;BR /&gt;find -name out.\*.gz -mtime -5 -exec zcat {} \; | grep -c "date_posted"&lt;BR /&gt;&lt;BR /&gt;The time required to complete this is 28 minutes.  &lt;BR /&gt;Please suggest/recommend what can be done to get this done quickly.&lt;BR /&gt;&lt;BR /&gt;Thanks.</description>
      <pubDate>Mon, 10 Mar 2008 01:14:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/performance-please-suggest/m-p/4158145#M31882</guid>
      <dc:creator>GnanaShekar</dc:creator>
      <dc:date>2008-03-10T01:14:43Z</dc:date>
    </item>
    <item>
      <title>Re: Performance - please suggest</title>
      <link>https://community.hpe.com/t5/operating-system-linux/performance-please-suggest/m-p/4158146#M31883</link>
      <description>Shalom,&lt;BR /&gt;&lt;BR /&gt;There probably is no way to speed this up.&lt;BR /&gt;&lt;BR /&gt;Your speed is effected most by NFS read/seek time.&lt;BR /&gt;&lt;BR /&gt;The inquiry itself is complex, if you could simplify it and make it less CPU intensive that would help.&lt;BR /&gt;&lt;BR /&gt;What are you trying to accomplish? check the contents of some zcat'd files for certain content? That is hard on the disk and the CPU.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Mon, 10 Mar 2008 13:19:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/performance-please-suggest/m-p/4158146#M31883</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2008-03-10T13:19:47Z</dc:date>
    </item>
    <item>
      <title>Re: Performance - please suggest</title>
      <link>https://community.hpe.com/t5/operating-system-linux/performance-please-suggest/m-p/4158147#M31884</link>
      <description>I generally agree with Steven.  However, you might want to make sure that your network connectivity is optimized as well as possible.  Check the connection rate, duplexing, and if any errors are being reported.</description>
      <pubDate>Mon, 10 Mar 2008 16:04:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/performance-please-suggest/m-p/4158147#M31884</guid>
      <dc:creator>Alan_152</dc:creator>
      <dc:date>2008-03-10T16:04:20Z</dc:date>
    </item>
    <item>
      <title>Re: Performance - please suggest</title>
      <link>https://community.hpe.com/t5/operating-system-linux/performance-please-suggest/m-p/4158148#M31885</link>
      <description>Can this be ran directly on the NFS server?  I have seen some performance increases when running find on the NFS server vs.  across the NFS mount.   If this is not possible maybe two step the processes, generate the list with find then zcat grep the list?  Just a thought.</description>
      <pubDate>Mon, 10 Mar 2008 18:32:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/performance-please-suggest/m-p/4158148#M31885</guid>
      <dc:creator>Justin_99</dc:creator>
      <dc:date>2008-03-10T18:32:53Z</dc:date>
    </item>
    <item>
      <title>Re: Performance - please suggest</title>
      <link>https://community.hpe.com/t5/operating-system-linux/performance-please-suggest/m-p/4158149#M31886</link>
      <description>I think that NFSv4 will help.&lt;BR /&gt;&lt;BR /&gt;Also, you could split your command in more than one, if you have enought cpu available and your network/disk bandwidth allows it.&lt;BR /&gt;&lt;BR /&gt;For example:&lt;BR /&gt;&lt;BR /&gt;RES1=`find /path1 -name out.\*.gz -mtime -5 -exec zcat {} \; | grep -c "date_posted"`&lt;BR /&gt;RES2=`find /path2 -name out.\*.gz -mtime -5 -exec zcat {} \; | grep -c "date_posted"`&lt;BR /&gt;RES3=`find /path3 -name out.\*.gz -mtime -5 -exec zcat {} \; | grep -c "date_posted"`&lt;BR /&gt;&lt;BR /&gt;expr $RES1 + $RES2 + $RES3&lt;BR /&gt;&lt;BR /&gt;Using this approach, ensure that your find command does not overlaps parent/child directories.</description>
      <pubDate>Mon, 10 Mar 2008 21:19:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/performance-please-suggest/m-p/4158149#M31886</guid>
      <dc:creator>Ivan Ferreira</dc:creator>
      <dc:date>2008-03-10T21:19:48Z</dc:date>
    </item>
    <item>
      <title>Re: Performance - please suggest</title>
      <link>https://community.hpe.com/t5/operating-system-linux/performance-please-suggest/m-p/4158150#M31887</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Thanks for all your inputs.&lt;BR /&gt;&lt;BR /&gt;We want to run the find / grep commands on the NFS/NAS mounts.&lt;BR /&gt;&lt;BR /&gt;During this operation, I want to measure the network traffic.  I want to measure what is the download speed.&lt;BR /&gt;&lt;BR /&gt;I guess there will be a lot of data being downloaded from the NFS/NAS share on to the temporary local filesystems for processing (correct me if I am wrong).&lt;BR /&gt;&lt;BR /&gt;I guess the time that this operation takes will depend on the network speed, local memory and cpu capabilities (correct me if I am wrong).&lt;BR /&gt;&lt;BR /&gt;Please suggest,&lt;BR /&gt;</description>
      <pubDate>Tue, 11 Mar 2008 11:41:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/performance-please-suggest/m-p/4158150#M31887</guid>
      <dc:creator>GnanaShekar</dc:creator>
      <dc:date>2008-03-11T11:41:39Z</dc:date>
    </item>
    <item>
      <title>Re: Performance - please suggest</title>
      <link>https://community.hpe.com/t5/operating-system-linux/performance-please-suggest/m-p/4158151#M31888</link>
      <description>You are asking find to read every file on the NFS that matches *.gz.  This means every one of those files will be transfered across the NFS mount in order to grep for the string.  Running the command locally on the NFS server or via an rsh command would likely sped things up for you.</description>
      <pubDate>Tue, 11 Mar 2008 12:48:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/performance-please-suggest/m-p/4158151#M31888</guid>
      <dc:creator>Robin T. Slotten</dc:creator>
      <dc:date>2008-03-11T12:48:27Z</dc:date>
    </item>
    <item>
      <title>Re: Performance - please suggest</title>
      <link>https://community.hpe.com/t5/operating-system-linux/performance-please-suggest/m-p/4158152#M31889</link>
      <description>Your performance may be limited by by grep rather than NFS.  You could compare the speed of your search to the speed of&lt;BR /&gt;find -name out.\*.gz -mtime -5 -exec zcat {} \; &amp;gt; /dev/null&lt;BR /&gt;&lt;BR /&gt;Why should a simple grep be slower than an NFS transfer?  First, zcat may expand the files a lot after the NFS transfer.  Second, grep in RHEL4U3 has a really bad performance problem with locales that have utf8 character encoding.&lt;BR /&gt;See the comment about "Back-ported egf-speedup patch (bug #179636)." in&lt;BR /&gt;&lt;A href="http://www.redhat.com/docs/manuals/enterprise/RHEL-4-Manual/release-notes/as-x86/RELEASE-NOTES-U4-x86-en.html" target="_blank"&gt;http://www.redhat.com/docs/manuals/enterprise/RHEL-4-Manual/release-notes/as-x86/RELEASE-NOTES-U4-x86-en.html&lt;/A&gt;&lt;BR /&gt;and the defect report at&lt;BR /&gt;&lt;A href="https://bugzilla.redhat.com/show_bug.cgi?id=69900" target="_blank"&gt;https://bugzilla.redhat.com/show_bug.cgi?id=69900&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;You can work around the grep performance problem by setting "export LANG=C" before running grep.</description>
      <pubDate>Wed, 12 Mar 2008 03:08:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/performance-please-suggest/m-p/4158152#M31889</guid>
      <dc:creator>Mike Stroyan</dc:creator>
      <dc:date>2008-03-12T03:08:17Z</dc:date>
    </item>
  </channel>
</rss>

