Someone else might well know better but....
 
I believe this is a file system issue.  ext2/ext3 manipulate the directory entries using lists so if you have a great many files in one directory you will see performance issues as you describe.
 
The answer to this is to change filesystem - no mean feat with your data sizes.  Filesystems like XFS and ReiserFS use binary trees to manipulate the directory entries and it is a far faster way of doing things with crowded directories so you should see an improvemnet.
 
I suppose an alternative short term solution is to get the users to break large directories up into small ones if the data lends itself to it.
 
HTH
Noel
 
 
-----Original Message-----
From: Belgardt, Wolfgang [mailto:[EMAIL PROTECTED]]
Sent: 05 December 2002 20:45
To: [EMAIL PROTECTED]
Subject: [Samba] Samba Performance question

Dear all,

 

I have a difficult Problem with samba 2.2.5, I hope everyone can help me.

My customer has samba 2.2.5 running on a HP Alpha Server ES40 Cluster with Tru64 V5.1. The share on this Server has  3.1 million files in  16000 directories.

Some one this directories have 45000 files on it.

The problem is: if we try a search a file from this  big directory  via an   NT Client the response time is to large for the the customer.

He has run an similar application on a NT File server. NT responded after 1 sec  and samba need 6 sec.

Can someone explain me what I can do to increase the performance, please?

 

 

Kind Regards / Mit freundlichen Gr�ssen

 

 

Wolfgang Belgardt

Customer Support Consultant

 

Hewlett-Packard GmbH

Customer Support

Bonsiepen 5

D-45136 Essen

Phone: ++49 (0) 201 2663 258

Fax:     ++49 (0) 201 2663 200

mobil:   +49 (0171 3357 256)

E-mail:  [EMAIL PROTECTED]

http://www.hp.com/de

__________________________________________________________________________________

Hewlett-Packard GmbH

Gesch�ftsf�hrer: J�rg Menno Harms (Vorsitzender), J�rgen Banhardt, Wolfram Fischer,

 Rainer Kaczmarczyk, B�rbel Schmidt, Fritz Schuller, Regine Stachelhaus

Vorsitzender des Aufsichtsrats: Heribert Schmitz

Sitz der Gesellschaft: B�blingen, Amtsgericht B�blingen HRB 4081

 

Reply via email to