[Samba] How well does printing support scale in Samba 2.2.x ?

Gunnar Gunnarsson gunnar at ki.ericsson.se
Mon May 13 07:21:03 GMT 2002


Gerald Carter writes:
 > On Wed, 8 May 2002, Gunnar Gunnarsson wrote:
 > 
 > > Hi, I'm working on a printing project consolidating a bunch of NT
 > > machines with a Solaris printing machine. I'm concerned about the
 > > scalability if I increase the number of printers from say 20 too 300.
 > > How does it effect the response time for looking up and changing device
 > > setting etc.
 > 
 > 2.2.4 scales the best out of all the 2.2.x releases.
 > Word of advice.  Administrative connections always take longer
 > since the windows NT/2k client tries to change things even 
 > when you don't  ask it to.

I've made some estimates on a samba 2.2.4 on Solaris 2.6 
and a NT machines looking up properties for a given printer and making
some changes to it.

	Samba		NT 4
	100		2-3		finding properties
	6		2		changing driver setup
numbers are seconds. 
Looking at debug information I se a lot of ?
  Running the command `lpstat -ogsm89' gave 0
[2002/05/13 15:48:26, 3] printing/printing.c:(417)
  0 jobs in queue for gsm89
  Running the command `lpstat -ogsm89' gave 0
  Running the command `lpstat -ogsm89' gave 0
  Running the command `lpstat -ogsm89' gave 0
  Running the command `lpstat -ogsm89' gave 0
  Running the command `lpstat -ogsm89' gave 0
  Running the command `lpstat -ogsm89' gave 0
  Running the command `lpstat -ogsm89' gave 0
  Running the command `lpstat -ogsm89' gave 0
  Running the command `lpstat -ogsm89' gave 0


My printing setup is:

        lpq cache time = 10
        printcap name = lpstat
        printing = sysv
        print command = lp -c -d%p %s; rm %s
        lpq command = lpstat -o%p
        lprm command = cancel %p-%j
        lppause command = lp -i %p-%j -H hold
        lpresume command = lp -i %p-%j -H resume




More information about the samba mailing list