We have what I think is somewhat of a "strange" problem. We have a share being hosted off of our Samba server. The Samba server is an RS/6000 H-80, 1Gb of Ram, dual RISC processors, FCAL connected RAID disk, running AIX 4.3.3 untuned, out of the box. Samba is version 2.2.0 from the distribution set on the Samba.org website. When I do an NT map to the drive share, and then browse it with windows explorer, it takes around 20 to 30 seconds to show the information in the windows explorer window. Further, while my machine is building this explorer window, if I were to go to a DOS prompt and do a DIR from a different machine, the share itself would appear to be "locked" until the explorer window updates. Share structure is as below \SERVERNAME\CIMS \XXX \YYYY \2001-06-14 This directory has over 13,000 files, with the smallest being 43K and the largest being 4M. The average is around 150Kb. I have included the smb.conf file (global section, and the section responsible for the share). Any thoughts on as to why we experience this slowdown would be appreciated. [global] workgroup = XXXXX netbios name = SERVERNAME server string = IBM/AIX (Samba) Dev Image and Data Server security = DOMAIN encrypt passwords = Yes password server = XXXXX username map = /var/samba/users.map log file = /var/samba/log/log.%m name resolve order = wins bcast lmhosts host load printers = No max xmit = 32768 socket options = TCP_NODELAY SO_SNDBUFF=8192 SO_RCVBUF=8192 lm announce = False local master = No wins server = 10.232.20.10 oplock break wait time = 100 guest account = smbguest dos filetimes = Yes [CIMS] comment = Cims image files storage area path = /sambadev/cims valid users = mtsdev, smbguest write list = mtsdev read only = No guest ok = Yes Greg Brentnell - Technology Solutions Team Information Services Corp. Phone: 787-9992 Fax: (306)787-4617 greg.brentnell@isc-online.ca
On Tue, 16 Oct 2001, Brentnell, Greg ISC wrote:> When I do an NT map to the drive share, and then browse it with windows > explorer, it takes around 20 to 30 seconds to show the information in the....> This directory has over 13,000 files, with the smallest being 43K and the^^^^^^^^^^^^> largest being 4M. The average is around 150Kb.That's why. Remember that smbd has to generate 8.3 filenames and perform case insensitive matching. Any chance of reorganizing your directory structure? cheers, jerry --------------------------------------------------------------------- www.samba.org SAMBA Team jerry_at_samba.org www.plainjoe.org jerry_at_plainjoe.org --"I never saved anything for the swim back." Ethan Hawk in Gattaca--
Yes it is possible to reorg some of the directories, particularily the converted plans. COMS would also have to be rewritten to space out file locations. Can the 8.3 notation be turned off ? We do not need backward compatibility. Can case insensitivity be turned off ? Almost all of our file names are numbers eg. 12123_12133. We appreciate the assistance, Tom Yarnton, Senior Project Manager EDS bluesphere - Saskatchewan, E.solutions, EDS 1800 - 1881 Scarth St. Regina S4P 4K9 *Office (306) 525-7100 *Cellular: *Pager: * Fax: (306) 352-8100 *email: tom.yarnton@eds.com *Pager e-mail:> -----Original Message----- > From: Gerald (Jerry) Carter [SMTP:jerry@samba.org] > Sent: Wednesday, October 17, 2001 8:54 AM > To: Brentnell, Greg ISC > Cc: 'samba@lists.samba.org'; Miller, Greg ISC; Yarnton, Tom ISC; Leach, > Guy ISC > Subject: Re: Slow response in Windows Explorer Window > > On Tue, 16 Oct 2001, Brentnell, Greg ISC wrote: > > > When I do an NT map to the drive share, and then browse it with windows > > explorer, it takes around 20 to 30 seconds to show the information in > the > .... > > This directory has over 13,000 files, with the smallest being 43K and > the > ^^^^^^^^^^^^ > > largest being 4M. The average is around 150Kb. > > That's why. Remember that smbd has to generate 8.3 filenames > and perform case insensitive matching. > > > Any chance of reorganizing your directory structure? > > > > > > > > > cheers, jerry > --------------------------------------------------------------------- > www.samba.org SAMBA Team jerry_at_samba.org > www.plainjoe.org jerry_at_plainjoe.org > --"I never saved anything for the swim back." Ethan Hawk in Gattaca--
On Wed, 17 Oct 2001, Yarnton, Tom ISC wrote:> Yes it is possible to reorg some of the directories, particularily the > converted plans. COMS would also have to be rewritten to space out file > locations. > > Can the 8.3 notation be turned off ? We do not need backward compatibility.Not currently. What clients are you using? Win9x? or NT/2000?> Can case insensitivity be turned off ? Almost all of our file names are > numbers eg. 12123_12133.case sensitive = yes but it may break some applications. cheers, jerry --------------------------------------------------------------------- www.samba.org SAMBA Team jerry_at_samba.org www.plainjoe.org jerry_at_plainjoe.org --"I never saved anything for the swim back." Ethan Hawk in Gattaca--
Our current settings are: case sensitive = no preserve case = Yes short preserve case = Yes Is this not the most optimized method already? Our current clients are NT/2000 only... Greg -----Original Message----- From: Gerald (Jerry) Carter [mailto:jerry@samba.org] Sent: Wednesday, October 17, 2001 10:22 AM To: Yarnton, Tom ISC Cc: Brentnell, Greg ISC; 'samba@lists.samba.org'; Miller, Greg ISC; Leach, Guy ISC Subject: RE: Slow response in Windows Explorer Window On Wed, 17 Oct 2001, Yarnton, Tom ISC wrote:> Yes it is possible to reorg some of the directories, particularily the > converted plans. COMS would also have to be rewritten to space out file > locations. > > Can the 8.3 notation be turned off ? We do not need backwardcompatibility. Not currently. What clients are you using? Win9x? or NT/2000?> Can case insensitivity be turned off ? Almost all of our file names are > numbers eg. 12123_12133.case sensitive = yes but it may break some applications. cheers, jerry --------------------------------------------------------------------- www.samba.org SAMBA Team jerry_at_samba.org www.plainjoe.org jerry_at_plainjoe.org --"I never saved anything for the swim back." Ethan Hawk in Gattaca--