Statistics on number of oplocks taken out on a Samba server

Kevin (HxPro) Wheatley hxpro at cinesite.co.uk
Fri Jan 4 01:46:03 GMT 2002


Richard Sharpe wrote:
> 
> Hi,
> 
> Could someone who has a busy Samba server send me an smbstatus listing.
> That should give me some base info, as smbstatus prints this stuf.
> 

Using netscape with served mail directories you get sommething like the
following per user:

DENY_ALL   RDWR on the active mail folder summary file

plus the odd

DENY_NONE  RDONLY on the active mail folder

Plus the Trash folder gets the odd

DENY_NONE  WRONLY

of course using IMAP based folders you don't get this.

There are RDRW locks made on the other files, like the *.db and *.na2
files as well, we get say 5-10 locks per user.

Using Alias' Maya (3D interactive application) if you use plugins housed
on a server, then each artist can easily use many plugins at once, you
get a DENY_WRITE RDONLY     EXCLUSIVE+BATCH per plugin per user - so
again perhaps 10 or so per user. Using renderman/MTOR we get locks on
the texture files used also this can be a very large number of textures
shared between different users.

Most other applications we use are simple one lock per open file, e.g.
Autocad, Word, etc. - 1-2 per user

Worst case for us is a 3D artist running netscape and maya, plus maybe
photoshop, the odd mp3, etc, but these go to different servers still we
can easily have one or two of our servers with hundreds of locks just
from 'normal' use under some situations this could be thousands.

Kevin

-- 
| Kevin Wheatley             | These are the opinions of nobody   |
| Technical Services Manager | and are not shared by my employers |
| Cinesite Digital Studios   |                                    |




More information about the samba-technical mailing list