[cups.bugs] [LOW] STR #1284: Increase IPP_MAX_VALUES

twaugh.redhat twaugh at redhat.com
Thu Sep 29 06:20:42 PDT 2005


[STR New]

While analysing why CUPS cannot scale to 10000 queues, I discovered that a
large amount of time is spent in ippReadIO(), here:

  1052               /*
  1053                * Reset pointers in the list...
  1054                */
  1055
  1056                for (ptr = ipp->attrs; ptr && ptr->next != attr; ptr
= ptr->next);


By increasng IPP_MAX_VALUES in ipp.h from 10 to 100 I avoided this
scalability issue altogether.

Link: http://www.cups.org/str.php?L1284
Version: 1.1.23





More information about the cups-devel mailing list