<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
    <title></title>
  </head>
  <body text="#000000" bgcolor="#ffffff">
    On 9/30/10 3:01 AM, Jeremy Filizetti wrote:
    <blockquote
      cite="mid:AANLkTi=q2XwYnhWPRUJha-o8dxCV5DZ6_so_P5RbHzN4@mail.gmail.com"
      type="cite">
      <div class="gmail_quote">
        <blockquote class="gmail_quote" style="padding-left: 1ex;
          margin: 0px 0px 0px 0.8ex; border-left: 1px solid rgb(204,
          204, 204);">
          <div bgcolor="#ffffff" text="#000000"><br>
            On the other hand, Large readdir RPCs is basic of another
            metadata read performance improvement features - "readdir+",
            which is quite useful for "ls -l" operation (for large
            directory), and reduce lookup/getattr RPC as much as
            possible. In such feature, MDS will pack more dir-item's
            attribute (not only name/ino as does currently by readdir,
            but also mode/owner, and etc) information back to
            client-side in "readdir+" RPC. That means the dir-item count
            in one "readdir+" page is less than in the traditional
            readdir page, then more pages to be sent back to client. If
            without "Large readdir RPCs", the advantage of "readdir+"
            will be discounted.<br>
          </div>
        </blockquote>
        <div> </div>
        <div>I'd be interested in working this as well but probably as a
          separate effort since SOM isn't in 1.8 and that's my main
          focus.  In our testing, SOM had significant benefits over the
          WAN and I'd expect even better from readdir+.  I have tried
          Oleg's patch for asynchronous ll_glimpse_size but oddly I've
          seen someone erradic performance where at times it was worse
          then statahead and synchronous ll_glimpse_size.</div>
        <div> </div>
        <div>Jeremy</div>
        <div> </div>
      </div>
    </blockquote>
    Yes, SOM is another important feature for metadata reading
    performance improvement by bypassing the glimpse RPC between client
    and OSS. Engineers from Lustre Group worked for that for some time,
    hope can be released soon.<br>
    <br>
    As for the asynchronous ll_glimpse_size maybe cause bad performance
    occasionally, one possible reason is that: glimpse RPC maybe not
    obtain extent lock(s) if some others in using such lock(s), so the
    file size information obtained by asynchronous glimpse is invalid
    when it is really used later, means the caller ("stat") has to send
    synchronous glimpse again. Anyway, I did not study such patch, so it
    is just a guess.<br>
    <br>
    <br>
    Cheers,<br>
    Nasf<br>
  </body>
</html>