[Samba] MAXScript over SAMBA

Nicholas McDowell mcdowell at lincolnam.com
Thu Sep 16 20:30:01 GMT 2004


MAXScript over SAMBA

We are experiencing a major time discrepancy between running a 3ds max 
script from a samba share versus a windows share.

 From a windows share, the total time it takes for the script to run and 
the application to become responsive is about 1 second.

When running the same script from a samba share, the process takes 
around 40 seconds.

The script itself is 80KB.   Copying identical files from either server 
yields similar times.

Output from tcpdump on the samba server shows a multitude of small 
(63-65 bytes) data transfers back and forth between the
client-server with the PUSH flag set in the packet.  This output 
continues for the ~40 seconds until 3ds max becomes responsive
again.

We are running 3ds max 6.0 SP1 on Win2k and running the script by 
choosing 'Run Script...' from the MAXScript pulldown menu.

Samba version:  3.0.5

smb.conf:

[global]
    workgroup = theorphanage
    netbios name = altix
    server string = Altix
    log level = 1
    max disk size = 512000
    max xmit = 65535
    oplocks = no
    level2 oplocks = no
    kernel oplocks = no
    strict locking = no
    guest account = orphan
    log file = /var/log/samba/log.%m
    max log size = 50
    security = share
    getwd cache = yes
    socket options = TCP_NODELAY SO_RCVBUF=262144 SO_SNDBUF=262144
    interfaces = 192.168.2.219/0xffffff00 192.168.2.8/0xffffffff
    local master = no
    os level = 0
    domain master = no
    preferred master = no
    wins support = no
    wins server = 192.168.2.11
    dns proxy = no
[TEST]
   comment = ATEST
   path = /TEST
   browseable = yes
   read only = no
   writable = yes
   guest ok = yes
   force group = orphan
   force directory mode = 0777
   force create mode = 0777



More information about the samba mailing list