View Bug Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0002184 | DCP-o-matic | Bugs | public | 2022-02-09 05:07 | 2023-09-01 21:51 |
Reporter | robn | Assigned To | carl | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Platform | Apple M1 | OS | macOS | OS Version | 12.2 |
Target Version | 2.16.x | ||||
Summary | 0002184: DOM Encode Server halves performance when screen is locked on macOS | ||||
Description | I noticed that the performance (CPU usage and fps) of the DOM Encode Server is It is probably something the OS does to the DOM process. I use the Mac mini as a remote encoding host on the network. I tested with DOM 2.16.0 (both on the encoding Mac and the main Linux machine) | ||||
Steps To Reproduce |
After unlocking the screen the %CPU is restored to 750%. | ||||
Tags | No tags attached. | ||||
Branch | 2184-macos-sleep | ||||
Estimated weeks required | |||||
Estimated work required | Undecided | ||||
|
Could you please try the build from here: https://dcpomatic.com/temp/2184-macos-sleep/c3ce1bf/osx-10.10/ |
|
The observed %CPU goes to approx. 680% (instead of approx. 450%). But the framerate does not appear to really suffer from it. It's also possible that the percentages shown by "top" have a slightly different meaning But this change is definitely a big improvement! |
|
Thanks for checking it. I guess a really good test would be to transcode the same DCP twice, once with the server kept awake (by moving the mouse or whatever) and once without, and to see how long it took in each case. |
|
@carl merged this change to |
|
Already working on it .. :-) |
|
Amazing, thanks! |
|
I tested with 10 minutes of blu-ray content (14400 frames) The results: 2.16.1 + screen unlocked: 8.92 fps So the fix almost completely restores the screen-locked performance! PS: the fps in the log file is only presented as an integer (for example "2" instead of "2.50"). |
|
Great! Thanks for checking it out. Which log file are you talking about with the integer FPS? |
|
I get a file called "log" in the project directory.
Maybe the content depends on the settings? |
|
These are my Log settings |
|
Got it, thanks! |
|
I've added a fix for the decimal places in the log locally. |
Date Modified | Username | Field | Change |
---|---|---|---|
2022-02-09 05:07 | robn | New Bug | |
2022-02-09 12:30 | carl | Assigned To | => carl |
2022-02-09 12:30 | carl | Status | new => acknowledged |
2022-02-09 12:31 | carl | Severity | tweak => minor |
2022-02-09 12:31 | carl | Target Version | => 2.16.x |
2022-02-09 12:31 | carl | Estimated work required | => Undecided |
2022-02-16 23:57 | carl | Status | acknowledged => in progress |
2022-02-16 23:57 | carl | Branch | => 2184-macos-sleep |
2022-02-17 07:12 | carl | Status | in progress => feedback |
2022-02-17 07:12 | carl | Note Added: 0004878 | |
2022-02-17 08:53 | robn | Note Added: 0004879 | |
2022-02-17 08:53 | robn | Status | feedback => assigned |
2022-02-17 08:56 | carl | Note Added: 0004880 | |
2022-02-17 08:59 | carl | Note Added: 0004881 | |
2022-02-17 08:59 | robn | Note Added: 0004882 | |
2022-02-17 09:00 | carl | Note Added: 0004883 | |
2022-02-17 09:00 | carl | Status | assigned => feedback |
2022-02-17 18:49 | robn | Note Added: 0004885 | |
2022-02-17 18:49 | robn | Status | feedback => assigned |
2022-02-17 19:21 | carl | Note Added: 0004886 | |
2022-02-17 19:33 | carl | Status | assigned => feedback |
2022-02-17 19:45 | robn | Note Added: 0004887 | |
2022-02-17 19:45 | robn | Status | feedback => assigned |
2022-02-17 19:46 | robn | Note Added: 0004888 | |
2022-02-17 19:46 | robn | File Added: log_settings.png | |
2022-02-17 20:38 | carl | Note Added: 0004889 | |
2022-02-17 20:47 | carl | Status | assigned => resolved |
2022-02-17 20:47 | carl | Resolution | open => fixed |
2022-02-17 20:47 | carl | Note Added: 0004890 | |
2023-09-01 21:51 | carl | Status | resolved => closed |