Potential Speed Improvements
Posted: Tue Sep 29, 2026 11:38 am
One method we have been looking at has been assigning the Retro-Printer software to a specific CPU instance and CUPS to another one, which appears to speed things up and overcome some bottlenecks.
To try this you will need to do:
CTRL x to save and exit.
Do the same with
Where the file should start with:
This file should then start with:
CTRL x to save and exit.
Then enter:
Upload the new attached
file
And that should do it - the Retro-Printer code should all run in CPU1 and CUPS in CPU2
Interested to hear about feedback on this.
To try this you will need to do:
This file should then start with:systemctl edit cups.service
Code: Select all
### Editing /etc/systemd/system/cups.service.d/override.conf
### Anything between here and the comment below will become the new contents of>
[Service]
CPUAffinity=2Do the same with
Code: Select all
systemctl edit retroprinter.serviceThis file should then start with:
Code: Select all
### Editing /etc/systemd/system/cups.service.d/override.conf
### Anything between here and the comment below will become the new contents of>
[Service]
CPUAffinity=1Then enter:
Code: Select all
systemctl restart retroprinter
systemctl restart cups
Code: Select all
/etc/init,d/retroprinter Code: Select all
update-rc.d retroprinter defaultsInterested to hear about feedback on this.