I'm running: # smbd -V Version 3.0.24-2.28-1354-SUSE-CODE10 In a 600 print queues print server, but I'm experiencing a low performance while using the first queue. I was attaching ltrace/strace to some processes with "use mmap=no" and I found a BIG difference in information gathering in ntprinters.tdb between the first and the last print queue (using alphabetical sorting). This is the difference between the two strace outputs while clicking in printer properties option: -rw-r--r-- 1 root root 261K Nov 7 16:59 strace_first_printer.txt -rw-r--r-- 1 root root 9.1M Nov 7 17:00 strace_last_printer.txt Someone could explain why this behavior? Regards, Bruno Gomes Pessanha
Is it possible to split the ntprinters.tdb in many parts as print queues quantity? Sorry if I asked something too far from reality but I was wondering if could make things work faster. Bruno Gomes Pessanha
On Fri, Nov 09, 2007 at 03:56:48PM +0000, Bruno Gomes Pessanha wrote:> Is it possible to split the ntprinters.tdb in many > parts as print queues quantity? > > Sorry if I asked something too far from reality > but I was wondering if could make things work faster.You might try to do a "tdbbackup -n 10000 ntprinters.tdb" and replace the ntprinters.tdb by its backup file. The -n 10000 sets the new hash table size to 10000, much more than the default 131. Volker -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available Url : http://lists.samba.org/archive/samba/attachments/20071109/05ec54c6/attachment.bin