[cups.general] Measuring time

Michael Sweet msweet at apple.com
Thu Jul 8 08:19:19 PDT 2010


On Jul 8, 2010, at 3:54 AM, ALi wrote:
> Hello ....
> i continue measuring time in machines for enqueue a file.
> i have compiled succesfull in aix the cups 1.4.2 adding the
> _cupsLangPrintError to file in cups/libcups_s.exp
> 
> 
> now i have the problem of time. The aix is a new machine power6 with 2
> dual core cpu (4 cores in total) at 5000 MHz the time enqueuing (lp -d
> queue file.ps) the file is 1000 ms (more or less) and the time in
> linux 2 intel quadcores 5430 (8cores in total) at 2.66 ghz is only 20
> ms 22ms 40 ms ......
> why is it so different? must i try some option in the compilation of
> cups for aix? i have try the typical -O2 but it doesnt compile

IIRC, AIX doesn't support domain sockets so we are connecting over localhost which will be slower.  Also, I think the AIX network stack in general isn't as tuned as Linux's, and in general Intel CPUs run circles around Power for integer-based operations.

________________________________________________________________________
Michael Sweet, Senior Printing System Engineer, PWG Chair








More information about the cups mailing list