Dear Till, I'am very sorry to bother you again. We are still working hard to looking for cause why Ubuntu 16.04 printing performance slowdown.
We doing the investigation whether GhostScript slowdown the printing performance with GhostScript Developer. But they figure out that GhostScript affected very small. we use the below command to test many version ghostscript's printing performance on Ubuntu 16.04 and Ubuntu 14.04. "./gs -q -dBATCH -dPARANOIDSAFER -dNOPAUSE -dNOINTERPOLATE -sDEVICE=pxlcolor -r600x600 -sPAPERSIZE=a4 -sOutputFile=/dev/null sample.pdf" We think that CUPS may be the key to slowdown the printing performance. Below is our research on CUPS process: 1. We use a script tool (print_sample.sh) to simulate printing many jobs (10 and 20) in the one time. 2. Satistics the print time of each print round jobs by the method of counting the time from “Adding start banner page "none".” To “Job completed.” The result (test_cases_detail_times.xlsx) shows that Ubuntu 16.04 cost almost twice time then Ubuntu 14.04. We are not able to research deeper why Ubuntu 16.04 slowdown. So we appreciate that CUPS can do the investigation why 16.04's printing performance slowdown. Attach file introduction: ---------------------------------------------------------- Test log: Test Shell Tool: \log\print_sample.sh Test Sample File: \log\sample.pdf Test Detail Time: \log\test_cases_detail_times.xlsx Ubuntu14.04,Job881-Job980: \log\Ubuntu_14.04_error_log_Job881_980 Ubuntu16.04,Job721-Job820: \log\Ubuntu_16.04_error_log_Job721_820 ---------------------------------------------------------- Test Driver: Driver carry by Ubuntu14.04 and Ubuntu16.04 itself :”Ricoh MP C5503 PXL” We test many commercial’s drivers (below), it shows that other drivers(use ghostsrcipt) have the similar slower phenomenon: HP Color LaserJet 2500 Foomatic/pxlcolor HP Color LaserJet 3600 Foomatic/pxljr Brother HL-7050 Foomatic/pxlmono Brother MFC9840CDW Foomatic/pxlcolor GhostScript discussion reference: https://bugs.ghostscript.com/show_bug.cgi?id=700380 Best Regards, ?field.comment=Dear Till, I'am very sorry to bother you again. We are still working hard to looking for cause why Ubuntu 16.04 printing performance slowdown. We doing the investigation whether GhostScript slowdown the printing performance with GhostScript Developer. But they figure out that GhostScript affected very small. we use the below command to test many version ghostscript's printing performance on Ubuntu 16.04 and Ubuntu 14.04. "./gs -q -dBATCH -dPARANOIDSAFER -dNOPAUSE -dNOINTERPOLATE -sDEVICE=pxlcolor -r600x600 -sPAPERSIZE=a4 -sOutputFile=/dev/null sample.pdf" We think that CUPS may be the key to slowdown the printing performance. Below is our research on CUPS process: 1. We use a script tool (print_sample.sh) to simulate printing many jobs (10 and 20) in the one time. 2. Satistics the print time of each print round jobs by the method of counting the time from “Adding start banner page "none".” To “Job completed.” The result (test_cases_detail_times.xlsx) shows that Ubuntu 16.04 cost almost twice time then Ubuntu 14.04. We are not able to research deeper why Ubuntu 16.04 slowdown. So we appreciate that CUPS can do the investigation why 16.04's printing performance slowdown. Attach file introduction: ---------------------------------------------------------- Test log: Test Shell Tool: \log\print_sample.sh Test Sample File: \log\sample.pdf Test Detail Time: \log\test_cases_detail_times.xlsx Ubuntu14.04,Job881-Job980: \log\Ubuntu_14.04_error_log_Job881_980 Ubuntu16.04,Job721-Job820: \log\Ubuntu_16.04_error_log_Job721_820 ---------------------------------------------------------- Test Driver: Driver carry by Ubuntu14.04 and Ubuntu16.04 itself :”Ricoh MP C5503 PXL” We test many commercial’s drivers (below), it shows that other drivers(use ghostsrcipt) have the similar slower phenomenon: HP Color LaserJet 2500 Foomatic/pxlcolor HP Color LaserJet 3600 Foomatic/pxljr Brother HL-7050 Foomatic/pxlmono Brother MFC9840CDW Foomatic/pxlcolor GhostScript discussion reference: https://bugs.ghostscript.com/show_bug.cgi?id=700380 Best Regards, ** Bug watch added: Ghostscript (AFPL) Bugzilla #700380 http://bugs.ghostscript.com/show_bug.cgi?id=700380 ** Attachment added: "20181227 log file" https://bugs.launchpad.net/ubuntu/+source/cups/+bug/1801496/+attachment/5225286/+files/log.zip -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to cups in Ubuntu. https://bugs.launchpad.net/bugs/1801496 Title: Printing job in 16.04 is slower than in 14.04 Status in cups package in Ubuntu: Incomplete Bug description: Ubuntu 16.04LTS OS Version: 16.04.5 CUPS Version: 2.1.3 Ghostscript Version: 9.25 (2018-09-13) Printing job in 16.04 is slower than in 14.04 We(RICOH printer driver developer) are report a problem from our printer users: I print file Ubuntu 14.04.5, CUPS 2.1.3,Ghostscript 9.25 is fast(12 Seconds). But, after I update to Ubuntu 16.04, CUPS 2.1.3, Ghostscript 9.25, I print the same file with the same driver is slow(326 Seconds). I figure out that all the print jobs is much slower on Ubuntu 16.04. I view the "CUPS Error Log", it shows that there are three points which maybe the reasons that makes the print job slowly. FIRST: ---------------------------------------------------------------------------- By counting the time from "Starting renderer" to "renderer exited with status 0", we figure out that 16.04 spend more time than 14.04 on "renderer" process. So we assuming that:"renderer" is one of the key process that makes the print job slowly. "Starting renderer with command: \"printf \'\\033%%-12345X@PJL JOB\\012\';printf \'@PJL SET DATAMODE=TWIN\\ ........ @PJL EOJ\\012\\033%%-12345X\'\"" ..... renderer exited with status 0" ---------------------------------------------------------------------------- SECOND: ============================================================================ On 16.04, a print job outputs lots of logs as below: "[Job xxx] Removing document files." This step(“Removing document files”)does not exsit on 14.04. ============================================================================ The phenomenon that print jobs slower in 16.04 is more obvious when printing many jobs in the same time. THIRD We tried drivers form other company(HP,Brother…), the printings also slow down in Ubuntu 16.04 than 14.04. Our question is: 1. Do you have any plan to improve the performance of printing on Ubuntu 16.04? 2. Do you have any workaround before this problems fixed? To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/cups/+bug/1801496/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp