[Samba] Slow printing on Solaris 8/Samba 3.0.1 and oplopcks
William Enestvedt
William.Enestvedt at jwu.edu
Mon Feb 2 16:37:25 GMT 2004
I have Samba 3.0.1 running on Solaris 8 on a 4-CPU SunFire V480m and printing to a Printronix 5005B line printer is pretty slow -- as in five nmostly-empty 9"x5" pages per minute. (I only share out three local print queues and no filesystems on this Sun to Windows XP and some 98 clients.)
I would like to speed up the throughput, but I'm seeing a couple of errors.
First, I found a suggestion on the web to add the following to my smb.conf:
socket options = TCP_NODELAY IPTOS_LOWDELAY SO_KEEPALIVE
SO_SNDBUF=16384 SO_RCVBUF=16384
read raw = yes
write raw = yes
oplocks = no
Unfortunately, I get errors when I have the last item enabled; they say "Invalid combination of parameters for service <name_of_my_printer_queue>. Level II oplocks can only be set if oplocks are also set." Should I bother pursuing the oplocks option if I'm not serving out files?
Thanks for the suggestion.
-wde
--
Will Enestvedt
UNIX System Administrator
Johnson & Wales University -- Providence, RI
More information about the samba
mailing list