printing in 2.2.0
dm at belkam.com
Sat May 12 06:53:12 GMT 2001
Damian Ivereigh wrote:
> Dmitry Melekhov wrote:
> > Damian Ivereigh wrote:
> > > There are two main places this happens:-
> > >
> > > 1) When looking up printer, driver and forms info it has to troll
> > > through the entire ntdrivers.tdb file
> > I think that main problem is here, becase the more drivers I install, the
> > slower printer properties works.
> > I.e. I have 6 printers in printcap, when I download driver for one printer all
> > is OK, when download driver (or alternate driver)
> > for second printer printer properties works slower , etc...
> I am surprised this is already hitting you at 6 printers. I would have
> though you would need to get to about 30 or so. There may yet be
> something special to Solaris.
> What happens when you try this under Linux?
With 2.2 from CVS nothing very bad :)
But opening printer properties take 2 seconds for one printer with drivers, 5
two printers with installed drivers and abou 10 secs for 6 printers with drivers.
2.2.0 eats CPU at about 100% and opening printer properties takes more than minute.
> To my mind it often gets all the printer info when it doesn't actually
> need it all, so hopefully there could be some relatively quick fixups.
> If your interested most of the code is in printing/ntprinting.c
I understand. But I know nothing about NT printing system and I didn't write any
C code last 6 years :(
> > This change nothing in my case.
> I think this will only become apparent when you have a large number of
> clients connecting to you and there are a significant number of jobs
> in the queue.
I think so too. And I never have more than 2-3 jobs in queue.
> Damian Ivereigh
> CEPS Team Lead
> Desk: +61 2 8446 6344
> Mob: +61 418 217 582
Wire connection and Windows reinstallation senior engineer
2:5050/11.23 at fidonet
More information about the samba-technical