RE : Tuning for performance

2004-02-03 Thread COLLOT Jean-Yves
Actually, as you may guess, the bad performance is due to the number of
files in a directory (in fact, the size of the directory (.DIR) file), not
of the size of the files themselves. Because of the RMS directory caching
feature, the real gap is when the directory file is bigger than 127 blocks.

The bad performances in such a situation (huge .DIR file(s)) are not limited
to Samba, however. Even a simple DIR DCL command may be quite slow. When
you browse a Samba shared directory through the Windows Explorer, it's more
or less the same as executing a DIR/SIZE command on this directory. Is
Samba much slower than DIR/SIZE ?

The only thing I know that can enhance the performance problem in that case
is to increase the ACP_DIRCACHE sysgen parameter, in order to make it big
enough to cache the whole big directory. The first access to the directory
is slow, but subsequent accesses are notably better. 

Jean-Yves

-Message d'origine-
De : Profaizer, Joe [mailto:[EMAIL PROTECTED] 
Envoyé : lundi 2 février 2004 20:28
À : '[EMAIL PROTECTED]'
Objet : Tuning for performance

I just installed samba 2.2.8 and I have a subdirectory that is very large
(100GB of many files).  I'm curious as to what performance tuning parmeters
I can adjust to help performance.  The performance is extremely slow.


Thanks,

..Joe
PLEASE READ THIS IMPORTANT ETIQUETTE MESSAGE BEFORE POSTING:

http://www.catb.org/~esr/faqs/smart-questions.html
PLEASE READ THIS IMPORTANT ETIQUETTE MESSAGE BEFORE POSTING:

http://www.catb.org/~esr/faqs/smart-questions.html


RE : Tuning for performance

2004-02-03 Thread Jan-Erik Soderholm XA (TN/PAC)
Hi.
The original OP didn't say what VMS version.
AFAIK, the 127 block dir cache limit (and I don't
think raising ACP_DIRCACHE helped actualy) was
removed in some later VMS version. Maybe 7.x.

And deleting/moving files out of the DIR doesn't
make the DIR file smaller. Use DFU to compress
DIR files.

Jan-Erik.

 -Original Message-
 From:
 [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]
 ists.samba
 .org]On Behalf Of COLLOT Jean-Yves
 Sent: den 3 februari 2004 12:19
 To: 'Profaizer, Joe'; '[EMAIL PROTECTED]'
 Subject: RE : Tuning for performance
 
 
 Actually, as you may guess, the bad performance is due to the 
 number of
 files in a directory (in fact, the size of the directory 
 (.DIR) file), not
 of the size of the files themselves. Because of the RMS 
 directory caching
 feature, the real gap is when the directory file is bigger 
 than 127 blocks.
 
 The bad performances in such a situation (huge .DIR file(s)) 
 are not limited
 to Samba, however. Even a simple DIR DCL command may be 
 quite slow. When
 you browse a Samba shared directory through the Windows 
 Explorer, it's more
 or less the same as executing a DIR/SIZE command on this 
 directory. Is
 Samba much slower than DIR/SIZE ?
 
 The only thing I know that can enhance the performance 
 problem in that case
 is to increase the ACP_DIRCACHE sysgen parameter, in order to 
 make it big
 enough to cache the whole big directory. The first access to 
 the directory
 is slow, but subsequent accesses are notably better. 
 
 Jean-Yves
 
 -Message d'origine-
 De : Profaizer, Joe [mailto:[EMAIL PROTECTED] 
 Envoye : lundi 2 fevrier 2004 20:28
 A : '[EMAIL PROTECTED]'
 Objet : Tuning for performance
 
 I just installed samba 2.2.8 and I have a subdirectory that 
 is very large
 (100GB of many files).  I'm curious as to what performance 
 tuning parmeters
 I can adjust to help performance.  The performance is extremely slow.
 
 
 Thanks,
 
 ..Joe
 PLEASE READ THIS IMPORTANT ETIQUETTE MESSAGE BEFORE POSTING:
 
 http://www.catb.org/~esr/faqs/smart-questions.html
 PLEASE READ THIS IMPORTANT ETIQUETTE MESSAGE BEFORE POSTING:
 
 http://www.catb.org/~esr/faqs/smart-questions.html
 

This communication is confidential and intended solely for the addressee(s). Any 
unauthorized review, use, disclosure or distribution is prohibited. If you believe 
this message has been sent to you in error, please notify the sender by replying to 
this transmission and delete the message without disclosing it. Thank you.

E-mail including attachments is susceptible to data corruption, interruption, 
unauthorized amendment, tampering and viruses, and we only send and receive e-mails on 
the basis that we are not liable for any such corruption, interception, amendment, 
tampering or viruses or any consequences thereof.

PLEASE READ THIS IMPORTANT ETIQUETTE MESSAGE BEFORE POSTING:

http://www.catb.org/~esr/faqs/smart-questions.html


Tuning for performance

2004-02-02 Thread Profaizer, Joe
I just installed samba 2.2.8 and I have a subdirectory that is very large (100GB of 
many files).  I'm curious as to what performance tuning parmeters I can adjust to help 
performance.  The performance is extremely slow.


Thanks,

..Joe
PLEASE READ THIS IMPORTANT ETIQUETTE MESSAGE BEFORE POSTING:

http://www.catb.org/~esr/faqs/smart-questions.html