All of lore.kernel.org
 help / color / mirror / Atom feed
* Huge lookup when recursively mkdir
@ 2017-10-19 16:49 Xiaoxi Chen
  2017-10-20  2:55 ` Yan, Zheng
  0 siblings, 1 reply; 11+ messages in thread
From: Xiaoxi Chen @ 2017-10-19 16:49 UTC (permalink / raw)
  To: Ceph Development, John Spray, Yan, Zheng

Hi,

      I am seeing a lot of lookup request when doing recursive mkdir.
      The workload behavior is like:
          mkdir DIR0
          mkdir DIR0/DIR1
          mkdir DIR0/DIR1/DIR2
          ....
          mkdir DIR0/DIR1/DIR2......./DIR7
          create DIR0/DIR1/DIR2......./DIR7/FILE1

      and concurrently run on 50+ clients, the dir name in different
clients may or maynot be the same.

       from the admin socket I was seeing ~50K create requests, but
got 400K lookup requests. The lookup eat up most of the mds capability
so file create is slow.

       Where is the lookup comes from and can we have anyway to
optimize it out ?

     Xiaoxi

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2017-10-23  7:41 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-10-19 16:49 Huge lookup when recursively mkdir Xiaoxi Chen
2017-10-20  2:55 ` Yan, Zheng
2017-10-20  7:28   ` Xiaoxi Chen
2017-10-20  8:39     ` Yan, Zheng
2017-10-20 16:54       ` Xiaoxi Chen
2017-10-20 18:09         ` Xiaoxi Chen
2017-10-22 15:27           ` Xiaoxi Chen
2017-10-23  0:44             ` Yan, Zheng
2017-10-23  6:01               ` Xiaoxi Chen
2017-10-23  6:58                 ` 陶冬冬
2017-10-23  7:41                 ` Yan, Zheng

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.