[Samba] Windows 2K outperform Linux/Samba very much?

Jeremy Allison jra at samba.org
Wed Jul 7 17:00:49 GMT 2004


On Wed, Jul 07, 2004 at 05:07:17PM +0800, Jacky Kim wrote:
> Sorry, I miss the follow informations:
> 1. There are 100,000 files in shared directory.

That's the problem. Because Samba has to present a case insensitive
view of a case-sensitive filesystem we have to scan the entire
directory to ensure a file doesn't exist.

The answer to the "why is Samba slow" question in this case is
"don't do that" (put 100,000 files in a directory).

Jeremy


More information about the samba mailing list