<?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: Nfs Slow in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/nfs-slow/m-p/4672721#M528545</link>
    <description>Then you already have some caching daemon running...&lt;BR /&gt;&lt;BR /&gt;But with 522000 files being questioned within 400 seconds, with date-conversion and all, your system isn't as slow as you suspect...&lt;BR /&gt;&lt;BR /&gt;If you calculate the time per directory entry, it is comparable with the times I need on a local filesystem per file...&lt;BR /&gt;The only difference is the caching on local filesystems: when running the same time ll command again, the directory information is cached, resulting in a really quick response. Since NFS is not really cachable, that doesn't work. You might look at the ac* mount options, but I don't think they really help with this number of files.&lt;BR /&gt;&lt;BR /&gt;If you really need it faster, and the storage is only used on this server, you might think about using different protocols for accessing the data, for instance iSCSI.</description>
    <pubDate>Wed, 11 Aug 2010 10:24:16 GMT</pubDate>
    <dc:creator>Elmar P. Kolkman</dc:creator>
    <dc:date>2010-08-11T10:24:16Z</dc:date>
    <item>
      <title>Nfs Slow</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nfs-slow/m-p/4672707#M528531</link>
      <description>Hi guys,&lt;BR /&gt;This is a scenario:&lt;BR /&gt;Server nfs with 350Gb file system exported to clients. This file system contains 550000 file of 1kb anyone.Nfs work fine also that&lt;BR /&gt;The problem is from ll from the client. If i do "ll command" in the nfs imported file system from the client it work in 9 minutes.&lt;BR /&gt;How Can i improve nfs performance for the "ll" from the client?&lt;BR /&gt;</description>
      <pubDate>Tue, 10 Aug 2010 10:04:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nfs-slow/m-p/4672707#M528531</guid>
      <dc:creator>gigiz</dc:creator>
      <dc:date>2010-08-10T10:04:23Z</dc:date>
    </item>
    <item>
      <title>Re: Nfs Slow</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nfs-slow/m-p/4672708#M528532</link>
      <description>I assume those 550,000 files aren't in the same directory?&lt;BR /&gt;&lt;BR /&gt;You might want to look at Dave's replies about READDIR:&lt;BR /&gt;&lt;A href="http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1376095" target="_blank"&gt;http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1376095&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1081327" target="_blank"&gt;http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1081327&lt;/A&gt;</description>
      <pubDate>Tue, 10 Aug 2010 11:00:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nfs-slow/m-p/4672708#M528532</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2010-08-10T11:00:12Z</dc:date>
    </item>
    <item>
      <title>Re: Nfs Slow</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nfs-slow/m-p/4672709#M528533</link>
      <description>unfortunately yes 550000 files in the same directory ... :-(&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 10 Aug 2010 11:06:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nfs-slow/m-p/4672709#M528533</guid>
      <dc:creator>gigiz</dc:creator>
      <dc:date>2010-08-10T11:06:49Z</dc:date>
    </item>
    <item>
      <title>Re: Nfs Slow</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nfs-slow/m-p/4672710#M528534</link>
      <description>&lt;!--!*#--&gt;&amp;gt; unfortunately yes 550000 files in the same directory ... :-(&lt;BR /&gt;&lt;BR /&gt;"Doctor, it hurts when I do this."&lt;BR /&gt;&lt;BR /&gt;"Don't do that."</description>
      <pubDate>Tue, 10 Aug 2010 12:11:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nfs-slow/m-p/4672710#M528534</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2010-08-10T12:11:44Z</dc:date>
    </item>
    <item>
      <title>Re: Nfs Slow</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nfs-slow/m-p/4672711#M528535</link>
      <description>Yes but i am the doctor !!</description>
      <pubDate>Tue, 10 Aug 2010 12:29:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nfs-slow/m-p/4672711#M528535</guid>
      <dc:creator>gigiz</dc:creator>
      <dc:date>2010-08-10T12:29:23Z</dc:date>
    </item>
    <item>
      <title>Re: Nfs Slow</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nfs-slow/m-p/4672712#M528536</link>
      <description>&lt;!--!*#--&gt;&amp;gt; Yes but i am the doctor !!&lt;BR /&gt;&lt;BR /&gt;Physician, heal thyself.&lt;BR /&gt;&lt;BR /&gt;Keeping many thousands of files in one&lt;BR /&gt;directory is simply asking for poor&lt;BR /&gt;performance (for many different OS and&lt;BR /&gt;file-system combinations).&lt;BR /&gt;&lt;BR /&gt;There may be some directory cache parameters&lt;BR /&gt;which you could adjust in the NFS client or&lt;BR /&gt;server (about which I know nothing), but I'd&lt;BR /&gt;expect that a real solution to this problem&lt;BR /&gt;would involve re-designing your data storage&lt;BR /&gt;architecture to avoid having so many files in&lt;BR /&gt;one directory.&lt;BR /&gt;&lt;BR /&gt;A few bad decisions can overcome a great deal&lt;BR /&gt;of computing power.</description>
      <pubDate>Tue, 10 Aug 2010 12:53:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nfs-slow/m-p/4672712#M528536</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2010-08-10T12:53:54Z</dc:date>
    </item>
    <item>
      <title>Re: Nfs Slow</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nfs-slow/m-p/4672713#M528537</link>
      <description>&amp;gt;Physician, heal thyself&lt;BR /&gt;eh eh !! :-)&lt;BR /&gt;&lt;BR /&gt;i have find this scenario from my customer.&lt;BR /&gt;I agree with you but i must improve the performance.&lt;BR /&gt;Help me&lt;BR /&gt;&lt;BR /&gt;I tested the server file system and &lt;BR /&gt;the ll in server is very slow:&lt;BR /&gt;time ll&lt;BR /&gt;real     7:50.1&lt;BR /&gt;user       19.1&lt;BR /&gt;sys      1:22.9&lt;BR /&gt;&lt;BR /&gt;I think that a problem is the file system and not nfs !!&lt;BR /&gt;any idea ?!!?</description>
      <pubDate>Tue, 10 Aug 2010 14:23:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nfs-slow/m-p/4672713#M528537</guid>
      <dc:creator>gigiz</dc:creator>
      <dc:date>2010-08-10T14:23:55Z</dc:date>
    </item>
    <item>
      <title>Re: Nfs Slow</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nfs-slow/m-p/4672714#M528538</link>
      <description>&lt;!--!*#--&gt;&amp;gt; I tested the server file system and&lt;BR /&gt;&amp;gt; the ll in server is very slow:&lt;BR /&gt;&amp;gt; [...]&lt;BR /&gt;&lt;BR /&gt;Do you find this amazing?  (I don't.)&lt;BR /&gt;&lt;BR /&gt;&amp;gt; Keeping many thousands of files in one&lt;BR /&gt;&amp;gt; directory is simply asking for poor&lt;BR /&gt;&amp;gt; performance (for many different OS and&lt;BR /&gt;&amp;gt; file-system combinations).&lt;BR /&gt;&lt;BR /&gt;I believe that that's still true.&lt;BR /&gt;&lt;BR /&gt;&amp;gt; I think that a problem is the file system&lt;BR /&gt;&amp;gt; and not nfs !!&lt;BR /&gt;&amp;gt; any idea ?!!?&lt;BR /&gt;&lt;BR /&gt;Only the same idea: "Don't do that."&lt;BR /&gt;&lt;BR /&gt;&amp;gt; i have find this scenario from my customer.&lt;BR /&gt;&lt;BR /&gt;Advise _him_ not to do that.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;You're not the first person to observe this&lt;BR /&gt;effect.  A Forum search for keywords like,&lt;BR /&gt;say:&lt;BR /&gt;      many files directory slow&lt;BR /&gt;might find threads like these:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1331134" target="_blank"&gt;http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1331134&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1120029" target="_blank"&gt;http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1120029&lt;/A&gt;&lt;BR /&gt;[...]</description>
      <pubDate>Tue, 10 Aug 2010 17:07:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nfs-slow/m-p/4672714#M528538</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2010-08-10T17:07:54Z</dc:date>
    </item>
    <item>
      <title>Re: Nfs Slow</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nfs-slow/m-p/4672715#M528539</link>
      <description>Have you looked at Dave's READDIR threads?  They may make your "ll"s faster?</description>
      <pubDate>Tue, 10 Aug 2010 22:14:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nfs-slow/m-p/4672715#M528539</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2010-08-10T22:14:33Z</dc:date>
    </item>
    <item>
      <title>Re: Nfs Slow</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nfs-slow/m-p/4672716#M528540</link>
      <description>Have you looked at either of Dennis Handly's replies?</description>
      <pubDate>Wed, 11 Aug 2010 04:03:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nfs-slow/m-p/4672716#M528540</guid>
      <dc:creator>Dave Olker</dc:creator>
      <dc:date>2010-08-11T04:03:08Z</dc:date>
    </item>
    <item>
      <title>Re: Nfs Slow</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nfs-slow/m-p/4672717#M528541</link>
      <description>Ok the last test :&lt;BR /&gt;In my nfs Server :&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;In my nfs Client :&lt;BR /&gt;&lt;BR /&gt;The problem could be a file system exported from a Server and not NFS?&lt;BR /&gt;The file system in the nfs server are degraded from export or no ?&lt;BR /&gt;I still check READDIR and READDIR+?&lt;BR /&gt;</description>
      <pubDate>Wed, 11 Aug 2010 07:31:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nfs-slow/m-p/4672717#M528541</guid>
      <dc:creator>gigiz</dc:creator>
      <dc:date>2010-08-11T07:31:15Z</dc:date>
    </item>
    <item>
      <title>Re: Nfs Slow</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nfs-slow/m-p/4672718#M528542</link>
      <description>ops &lt;BR /&gt;&lt;BR /&gt;last test on my server :&lt;BR /&gt;time ll|wc -l&lt;BR /&gt;&lt;BR /&gt;real     6:39.5&lt;BR /&gt;user       18.6&lt;BR /&gt;sys      1:18.7&lt;BR /&gt;522511&lt;BR /&gt;&lt;BR /&gt;last test from my client :&lt;BR /&gt; time ll|wc -l&lt;BR /&gt;&lt;BR /&gt;real    13:17.6&lt;BR /&gt;user       18.6&lt;BR /&gt;sys        38.5&lt;BR /&gt;522487&lt;BR /&gt;</description>
      <pubDate>Wed, 11 Aug 2010 08:18:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nfs-slow/m-p/4672718#M528542</guid>
      <dc:creator>gigiz</dc:creator>
      <dc:date>2010-08-11T08:18:25Z</dc:date>
    </item>
    <item>
      <title>Re: Nfs Slow</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nfs-slow/m-p/4672719#M528543</link>
      <description>Is pwgr running on the server ?&lt;BR /&gt;The problem is caused by collecting all info on the files and translating things like userid's and groupid's to the end-user-readable form with usernames and group names.&lt;BR /&gt;&lt;BR /&gt;You might try something like 'ls -nl' to see if it's faster. If that is faster, tools like pwgr and nscd might help.</description>
      <pubDate>Wed, 11 Aug 2010 08:39:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nfs-slow/m-p/4672719#M528543</guid>
      <dc:creator>Elmar P. Kolkman</dc:creator>
      <dc:date>2010-08-11T08:39:28Z</dc:date>
    </item>
    <item>
      <title>Re: Nfs Slow</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nfs-slow/m-p/4672720#M528544</link>
      <description>Good idea ... &lt;BR /&gt;but :-( same result :&lt;BR /&gt;&lt;BR /&gt;from a server &lt;BR /&gt;ls -nl|wc -l&lt;BR /&gt;&lt;BR /&gt;real     6:32.2&lt;BR /&gt;user       18.1&lt;BR /&gt;sys      1:18.9&lt;BR /&gt;522709</description>
      <pubDate>Wed, 11 Aug 2010 09:30:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nfs-slow/m-p/4672720#M528544</guid>
      <dc:creator>gigiz</dc:creator>
      <dc:date>2010-08-11T09:30:51Z</dc:date>
    </item>
    <item>
      <title>Re: Nfs Slow</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nfs-slow/m-p/4672721#M528545</link>
      <description>Then you already have some caching daemon running...&lt;BR /&gt;&lt;BR /&gt;But with 522000 files being questioned within 400 seconds, with date-conversion and all, your system isn't as slow as you suspect...&lt;BR /&gt;&lt;BR /&gt;If you calculate the time per directory entry, it is comparable with the times I need on a local filesystem per file...&lt;BR /&gt;The only difference is the caching on local filesystems: when running the same time ll command again, the directory information is cached, resulting in a really quick response. Since NFS is not really cachable, that doesn't work. You might look at the ac* mount options, but I don't think they really help with this number of files.&lt;BR /&gt;&lt;BR /&gt;If you really need it faster, and the storage is only used on this server, you might think about using different protocols for accessing the data, for instance iSCSI.</description>
      <pubDate>Wed, 11 Aug 2010 10:24:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nfs-slow/m-p/4672721#M528545</guid>
      <dc:creator>Elmar P. Kolkman</dc:creator>
      <dc:date>2010-08-11T10:24:16Z</dc:date>
    </item>
    <item>
      <title>Re: Nfs Slow</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nfs-slow/m-p/4672722#M528546</link>
      <description>As mentioned before, 550k files is a terrible design but sometimes you are stuck with it. What is worse is that NFS makes this even slower. So there are two fixes:&lt;BR /&gt; &lt;BR /&gt;1. DON'T use ll. Instead, create your own hash table or file index and look at the index to find the matches. Convenient? Probably not, but this is a side effect of a bad design.&lt;BR /&gt; &lt;BR /&gt;2. Change your network to 10 Gbit links, switches and routers. Also, change the storage for the 550k files to a RAMdisk appliance. And if necessary, upgrade your computer to more and faster processors.&lt;BR /&gt; &lt;BR /&gt;Either of these should improve performance. Did I mention that these choices are the result of a bad directory design?</description>
      <pubDate>Wed, 11 Aug 2010 10:55:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nfs-slow/m-p/4672722#M528546</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2010-08-11T10:55:57Z</dc:date>
    </item>
    <item>
      <title>Re: Nfs Slow</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nfs-slow/m-p/4672723#M528547</link>
      <description>another test do similiar result between client and server:&lt;BR /&gt;&lt;BR /&gt;SERVER&lt;BR /&gt;real     5:44.8&lt;BR /&gt;user       18.1&lt;BR /&gt;sys      1:14.9&lt;BR /&gt;521782&lt;BR /&gt;&lt;BR /&gt;CLIENT&lt;BR /&gt;real     7:50.1&lt;BR /&gt;user       19.1&lt;BR /&gt;sys      1:22.9&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;uhhmm ?&lt;BR /&gt;</description>
      <pubDate>Wed, 11 Aug 2010 10:59:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nfs-slow/m-p/4672723#M528547</guid>
      <dc:creator>gigiz</dc:creator>
      <dc:date>2010-08-11T10:59:42Z</dc:date>
    </item>
    <item>
      <title>Re: Nfs Slow</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nfs-slow/m-p/6987999#M528548</link>
      <description>&lt;P&gt;Hello Bill,&lt;/P&gt;&lt;P&gt;What would be a good directory design?&lt;/P&gt;&lt;P&gt;I'm facing a situation at customer site, where thousands of files in several directories.&lt;/P&gt;&lt;P&gt;Can you please advice me about NFS directory tree design for better performance.&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Thu, 09 Nov 2017 15:36:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nfs-slow/m-p/6987999#M528548</guid>
      <dc:creator>Orlando-Torres</dc:creator>
      <dc:date>2017-11-09T15:36:22Z</dc:date>
    </item>
  </channel>
</rss>

