Re: 答复: The speed of copy is very very slow when much files in the folder

Richard Sharpe realrichardsharpe at
Sat Apr 29 13:56:56 UTC 2017

On Sat, Apr 29, 2017 at 1:50 AM, Zhangxiaoxu via samba-technical
<samba-technical at> wrote:
> Hi,
> File System: EXT4
> The share folder is created in the system disk.

As the Doctor says: When it hurts, don't do that.

EXT4 is not the file system you are looking for.

> -----邮件原件-----
> 发件人: vlendec at [mailto:vlendec at] 代表 vl at
> 发送时间: 2017年4月28日 20:51
> 收件人: zhangxiaoxu 13123 (RD)
> 抄送: samba-technical at
> 主题: Re: The speed of copy is very very slow when much files in the folder
> On Fri, Apr 28, 2017 at 12:36:27PM +0000, Zhangxiaoxu via samba-technical wrote:
>> 100,000 files in my share.
>> When I copy some little files to the folder, the speed is very very slow.
>> I add some logs in the smbd, the “get_real_filename_full_scan” function cast about 1s. It’s too slow.
>> I think the function is used for comparing the dest name to the exist files to check whether the dest file is exist.
>> When I add “case sensitive = yes” to the configuration file, the speed is much quickly.
>> So, I think whether we has some method to improve the performance?
>> Could you give us some suggestion about the case.
>> Environment:
>>        Ubuntu 14.04
>>        Samba 4.3.11
>> Client:
>>        Windows 7
>> Configuration:
>>        clustering = yes
> What's your file system?
> Volker
> -------------------------------------------------------------------------------------------------------------------------------------
> 本邮件及其附件含有杭州华三通信技术有限公司的保密信息,仅限于发送给上面地址中列出
> 的个人或群组。禁止任何其他人以任何形式使用(包括但不限于全部或部分地泄露、复制、
> 或散发)本邮件中的信息。如果您错收了本邮件,请您立即电话或邮件通知发件人并删除本
> 邮件!
> This e-mail and its attachments contain confidential information from H3C, which is
> intended only for the person or entity whose address is listed above. Any use of the
> information contained herein in any way (including, but not limited to, total or partial
> disclosure, reproduction, or dissemination) by persons other than the intended
> recipient(s) is prohibited. If you receive this e-mail in error, please notify the sender
> by phone or email immediately and delete it!

Richard Sharpe

More information about the samba-technical mailing list