<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">
<div class="">
<blockquote type="cite" class="">
<div class="">On Sep 10, 2019, at 10:34, Michael Di Domenico <<a href="mailto:mdidomenico4@gmail.com" class="">mdidomenico4@gmail.com</a>> wrote:</div>
<br class="Apple-interchange-newline">
<div class="">are there any plans to support -xdev to lfs find?</div>
</blockquote>
<br class="">
</div>
I don't think "lfs find -xdev" has never been a priority for Lustre, since it is rare for Lustre filesystems to be
<div class="">mounted in a nested manner.  Since people already run multiple "lfs find" tasks in parallel on different</div>
<div class="">clients to get better performance, it isn't hard to run separate tasks from the top-level mountpoint of</div>
<div class="">different filesystems.  What is the use case for this?</div>
<div class=""><br class="">
</div>
<div class="">You could file a feature request in Jira, but I don't think it would be a high priority vs. even some other</div>
<div class="">"lfs find" improvements (e.g. LSOM support, -nlink, -printf, -perm, MPI, etc) unless there was some</div>
<div class="">really important use case.  Of course, patches are also welcome.</div>
<div class=""><br class="">
</div>
<div class="">
<blockquote type="cite" class="">along the same vein, can anyone state whether there's any actual<br class="">
performance gain walking the filesystem using find vs lfs find?<br class="">
</blockquote>
</div>
<div class=""><br class="">
</div>
<div class="">For "find" vs. "lfs find" performance, this depends heavily on what the search parameters are.  If just</div>
<div class="">the filename, they will be the same.  If it includes some MDT-specific attributes (e.g. uid, gid) then</div>
<div class="">"lfs find" can be significantly faster (e.g 3-5x0.  If it is uses file size, then they will be about the same</div>
<div class="">unless there are other MDT-only parameters, or once LSOM support is landed (hopefully 2.13).</div>
<div class="">
<div><br class="">
</div>
<br class="">
<div class="">
<div dir="auto" style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">
<div dir="auto" style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">
<div dir="auto" style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">
<div dir="auto" style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">
<div dir="auto" style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">
<div>Cheers, Andreas</div>
<div>--</div>
<div>Andreas Dilger</div>
<div>Principal Lustre Architect</div>
<div>Whamcloud</div>
<div><br class="">
</div>
<div><br class="">
</div>
<div><br class="">
</div>
</div>
</div>
</div>
</div>
</div>
<br class="Apple-interchange-newline">
<br class="Apple-interchange-newline">
</div>
<br class="">
</div>
</body>
</html>