Samba-VMS 2.2.4 performance tuning?
RR - Rod Regier
rr at dymaxion.ca
Fri Jan 24 18:44:32 GMT 2003
I'm testing SAMBA 2.2.4 as a possible replacement for Pathworks V5.
(DS10, V/A 7.1-2, TCPIP 5.1 ECO 4, ODS-2 on shadow sets).
My initial benchmark testing of SAMBA on the same VMS platform and same
small directory
(benchmark Pathworks, shutdown Pathworks, start SAMBA, benchmark SAMBA,
shutdown SAMBA, restart Pathworks)
generates SAMBA benchmark elapsed time performance that is inferior
to Pathworks by at least a factor of 50!
I am a SAMBA novice, so I have little idea which are the important
SAMBA parameters to tune for better performance. Hints or pointers
to good reference sources would be appreciated.
smb.conf file:
[global]
workgroup = WILMA
netbios name = DYMA
security = SERVER
password server = ntfs
encrypt passwords = Yes
update encrypted = Yes
log file = /samba_log/log.%m
deadtime = 10
printcap name = /sys$manager/ucx$printcap.dat
default service = default
guest account = DYMAX
create mask = 0777
print command = print
%f/queue=%p/delete/passall/name="""""%s"""""
lprm command = delete/entry=%j
map archive = No
share modes = No
[R]
comment = Operating system disk
path = /sys$sysdevice/000000
read only = No
create mask = 0775
guest ok = Yes
share modes = Yes
[S]
comment = Application shared tree
path = /dym$disk/000000
read only = No
create mask = 0775
guest ok = Yes
share modes = Yes
[printers]
comment = All Printers
path = /dsa1/pcfs_spool/default
create mask = 0700
guest ok = Yes
printable = Yes
browseable = No
\\
Benchmark program:
#======
#
# Script - NETBCH.PRL by D. Misener 8-OCT-99 / 8-OCT-99
#
# Purpose-
#
# Simple network performance benchmark
#
# Usage-
#
# PERL DYINT:NETBCK.PRL <drive> {fileCount}
#
# Example-
#
# PERL DYINT:NETBCK.PRL C:
# Time = 5 seconds
#
# PERL DYINT:NETBCK.PRL S: 1000
# Time = 823 seconds
#
# Index-
#
# Disk performance; Network; Benchmark
#
# Modifications-
#
# 8-OCT-99 DM / DM / RR 09=
# - Creation
#
#======
my $drive=shift;
die "--> Drive must be specified" unless length($drive);
my $files=shift||500;
$startTime=time();
for (1..$files){
open(OUTPUT,'>'.File($_));
print OUTPUT "Temporary file -- please delete\n";
close OUTPUT;
}
print "Create Time=",time()-$startTime," seconds\n";
$startTime=time();
for (1..$files){
open(OUTPUT,File($_));
close OUTPUT;
}
print "Read Time=",time()-$startTime," seconds\n";
$startTime=time();
for (1..$files){
unlink File($_);
}
print "Delete Time=",time()-$startTime," seconds\n";
sub File{
sprintf("${drive}NETBCH_%04d.tmp", at _[0]);
}
--
Rod Regier, Software Development bus: (902)422-1973 x108
Dymaxion Research Ltd., 5515 Cogswell St., fax: (902)421-1267
Halifax, Nova Scotia, B3J 1R2 Canada mailto:RRegier at dymaxion.ca
http://www.dymaxion.ca
"VMS is today what Microsoft wants Windows NT V8.0 to be!" Compaq,
22-Sep-1998
More information about the samba-vms
mailing list