Re: Huge lookup when recursively mkdir

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Oct 20, 2017 at 12:49 AM, Xiaoxi Chen <superdebuger@xxxxxxxxx> wrote:
> 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 ?
>

I don't see this behavior when running following commands in 4.13
kernel client and luminous version ceph-fuse. which client do you use?

mkdir d1
mkdir d1/d2
mkdir d1/d2/d3
mkdir d1/d2/d3/d4/
mkdir d1/d2/d3/d4/d5
touch d1/d2/d3/d4/d5/f

>      Xiaoxi
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [CEPH Users]     [Ceph Large]     [Information on CEPH]     [Linux BTRFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux