<?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: ls is slow in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/ls-is-slow/m-p/4345186#M34981</link>
    <description>filesystem is OCFS on that slice.&lt;BR /&gt;problem is directly related to the number of files in a dirctor on that slice. more the number of files, more time it will take to ls&lt;BR /&gt;total slice size is 122 GB and 84% is full.&lt;BR /&gt;no NFS involvment.&lt;BR /&gt;syslog (var/log/messages) shows everything normal. i take fc cable out; syslog shows that loop is no more there and then loop is back after cable is back. &lt;BR /&gt;&lt;BR /&gt;Single FC is used to share multiple slices on same disk. no such problem on other slices.&lt;BR /&gt;&lt;BR /&gt;disks are not multi-path.&lt;BR /&gt;&lt;BR /&gt;by the way, i m think now that OCFS is culprit. i dont know to what extent you people will agree with me. :(&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Asghar&lt;BR /&gt;</description>
    <pubDate>Wed, 28 Jan 2009 06:13:05 GMT</pubDate>
    <dc:creator>Muhammad Asghar_1</dc:creator>
    <dc:date>2009-01-28T06:13:05Z</dc:date>
    <item>
      <title>ls is slow</title>
      <link>https://community.hpe.com/t5/operating-system-linux/ls-is-slow/m-p/4345183#M34978</link>
      <description>Dears,&lt;BR /&gt;its a unique case. &lt;BR /&gt;machine is dl380 g3.&lt;BR /&gt;fc hba is qla2312 (rev 2). a slice is shared from XP with size 125 GB. OS is Linux EL4 kernel 2.4.&lt;BR /&gt;&lt;BR /&gt;my problem is regarding its response time. when i do ls, it goes in coma and come back after 1 to 5 minutes. slice has oracle file system and system is in production. your help in this regard will be appreciated.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Regards,</description>
      <pubDate>Tue, 27 Jan 2009 06:44:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/ls-is-slow/m-p/4345183#M34978</guid>
      <dc:creator>Muhammad Asghar_1</dc:creator>
      <dc:date>2009-01-27T06:44:41Z</dc:date>
    </item>
    <item>
      <title>Re: ls is slow</title>
      <link>https://community.hpe.com/t5/operating-system-linux/ls-is-slow/m-p/4345184#M34979</link>
      <description>What's the filesystem type on that slice? &lt;BR /&gt;&lt;BR /&gt;Does the problem happen in one directory only, or in all directories on that filesystem?&lt;BR /&gt;&lt;BR /&gt;Is there a huge number of files in a single directory?&lt;BR /&gt;&lt;BR /&gt;Is there anything special about those files? For example, are some of them links to a NFS share?&lt;BR /&gt;&lt;BR /&gt;Are there any related messages in syslog or in dmesg output? (e.g. scary-looking disk error messages appearing while the ls command is in coma?)&lt;BR /&gt;&lt;BR /&gt;MK</description>
      <pubDate>Tue, 27 Jan 2009 08:18:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/ls-is-slow/m-p/4345184#M34979</guid>
      <dc:creator>Matti_Kurkela</dc:creator>
      <dc:date>2009-01-27T08:18:34Z</dc:date>
    </item>
    <item>
      <title>Re: ls is slow</title>
      <link>https://community.hpe.com/t5/operating-system-linux/ls-is-slow/m-p/4345185#M34980</link>
      <description>Any relevant entries in /var/log/messages?. Are you using multipath?, check on both ends that the fibre is not loose.</description>
      <pubDate>Tue, 27 Jan 2009 21:56:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/ls-is-slow/m-p/4345185#M34980</guid>
      <dc:creator>Ciro  Iriarte</dc:creator>
      <dc:date>2009-01-27T21:56:09Z</dc:date>
    </item>
    <item>
      <title>Re: ls is slow</title>
      <link>https://community.hpe.com/t5/operating-system-linux/ls-is-slow/m-p/4345186#M34981</link>
      <description>filesystem is OCFS on that slice.&lt;BR /&gt;problem is directly related to the number of files in a dirctor on that slice. more the number of files, more time it will take to ls&lt;BR /&gt;total slice size is 122 GB and 84% is full.&lt;BR /&gt;no NFS involvment.&lt;BR /&gt;syslog (var/log/messages) shows everything normal. i take fc cable out; syslog shows that loop is no more there and then loop is back after cable is back. &lt;BR /&gt;&lt;BR /&gt;Single FC is used to share multiple slices on same disk. no such problem on other slices.&lt;BR /&gt;&lt;BR /&gt;disks are not multi-path.&lt;BR /&gt;&lt;BR /&gt;by the way, i m think now that OCFS is culprit. i dont know to what extent you people will agree with me. :(&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Asghar&lt;BR /&gt;</description>
      <pubDate>Wed, 28 Jan 2009 06:13:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/ls-is-slow/m-p/4345186#M34981</guid>
      <dc:creator>Muhammad Asghar_1</dc:creator>
      <dc:date>2009-01-28T06:13:05Z</dc:date>
    </item>
    <item>
      <title>Re: ls is slow</title>
      <link>https://community.hpe.com/t5/operating-system-linux/ls-is-slow/m-p/4345187#M34982</link>
      <description>I am not sure what distro 'Linux EL4 kernel2.4' is, but if you suspect the problem is with OCFS, and this is a Red Hat installation, then you need to be talking to the folks at Oracle.  &lt;BR /&gt;&lt;BR /&gt; If the platform is SLES9 or SLES10, then Novell is responsible for the OCFS implementation. &lt;BR /&gt;&lt;BR /&gt;In general, temporary pauses like this could be coming from a number of places, but I would suspect that some kernel thread has taken out the big kernel lock (BKL) and everyone is stacked up behind it.   In RHEL3 (2.4 kernel) there was a situation where a kernel thread would run periodically (kscand)&lt;BR /&gt;and try to find free pages.  While doing so, it would lock the page tables.   &lt;BR /&gt;&lt;BR /&gt;You should: &lt;BR /&gt;&lt;BR /&gt;- examine sar for excessive swapping&lt;BR /&gt;- see if the 'coma' is periodic&lt;BR /&gt;- examine Oracle Metalink database&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 28 Jan 2009 16:17:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/ls-is-slow/m-p/4345187#M34982</guid>
      <dc:creator>Rick Beldin</dc:creator>
      <dc:date>2009-01-28T16:17:17Z</dc:date>
    </item>
    <item>
      <title>Re: ls is slow</title>
      <link>https://community.hpe.com/t5/operating-system-linux/ls-is-slow/m-p/4345188#M34983</link>
      <description>&lt;!--!*#--&gt;I've seen this kind of "hang" with a loose FC cable on the switch side.&lt;BR /&gt;&lt;BR /&gt;How did you create the filesystem?, probably some tuning is needed.&lt;BR /&gt;&lt;BR /&gt;Apart of the obvious block size parameter, there are some "templates" that you can specify at creation time to improve performance.&lt;BR /&gt;&lt;BR /&gt;From mkfs.ocfs2 man:&lt;BR /&gt;&lt;BR /&gt;-T filesystem-type&lt;BR /&gt;       Specify how the filesystem is going to be used, so that mkfs.ocfs2 can chose optimal filesystem  parameters  for  that&lt;BR /&gt;       use. The supported filesystem types are:&lt;BR /&gt;&lt;BR /&gt;            mail   Appropriate for file systems which will have many meta data updates. Creates a larger journal.&lt;BR /&gt;&lt;BR /&gt;            datafiles&lt;BR /&gt;                   Appropriate  for file systems which will host a relatively small number of very large files. A small jourÃ¢&lt;BR /&gt;                   nal is selected. Cluster size will be at least 128K.</description>
      <pubDate>Wed, 28 Jan 2009 21:37:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/ls-is-slow/m-p/4345188#M34983</guid>
      <dc:creator>Ciro  Iriarte</dc:creator>
      <dc:date>2009-01-28T21:37:58Z</dc:date>
    </item>
    <item>
      <title>Re: ls is slow</title>
      <link>https://community.hpe.com/t5/operating-system-linux/ls-is-slow/m-p/4345189#M34984</link>
      <description>dears,&lt;BR /&gt;i have checked backup end , interconnect and OS. have asked oracle vendor to come-in and play. will update soon. any new idea in this regard will be much appreciated.&lt;BR /&gt;</description>
      <pubDate>Fri, 30 Jan 2009 07:03:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/ls-is-slow/m-p/4345189#M34984</guid>
      <dc:creator>Muhammad Asghar_1</dc:creator>
      <dc:date>2009-01-30T07:03:02Z</dc:date>
    </item>
  </channel>
</rss>

