|
From: | L A Walsh |
Subject: | Re: Performance issue of find function in Gluster File System |
Date: | Wed, 16 Aug 2017 20:05:18 -0700 |
User-agent: | Thunderbird |
Zhao Li wrote:
So I am wondering what C code you use for "ls" and "find" and how you explain "*" in "ls" and "find" to lead to this big difference in Gluster File System.
--- Nothing to do with Gluster, bash, ls or find, but w/the example. I did both w/output to files in ./tmp -- you need to start at the same place in both. your 'find' command should be: time find tmp/*.txt -path '*tmp*' -name '*.txt'> /dev/null I.e.: use the same starting point: 'tmp/*.txt'
[Prev in Thread] | Current Thread | [Next in Thread] |