Page 1 of 1

Benchmarking/encoding speed on fast CPUs

Posted: Thu Jan 07, 2021 10:58 pm
by Carsten
There is a new DCP-o-matic benchmark number now for the new AMD Ryzen 9 5950X CPU.

https://dcpomatic.com/benchmarks/input.php?id=1

Now, that is an impressive number for a single CPU. CPU configurations that come close to that number so far cost a lot more.

https://www.cpubenchmark.net/high_end_cpus.html

There were some issues recently getting decent performance figures for the AMD Threadripper Server CPUs that feature very many cores. I don't know if Carl already had the time to dig into them.
Well, at least from the numbers for the Ryzen 9 5950X we see now that this CPU architecture works very well with DOMs encoding, and that there is no AMD penalty compared to Intel CPUs.

The Ryzen 9 5950X is a 1200 US$ CPU, though. From the passmark figures, you can see that it's lower grade brother, the Ryzen 5900X, and it's predecessor, the Ryzen 9 3950X go for at lot less and perform close enough to the more costly 5950X.


- Carsten

Re: Benchmarking/encoding speed on fast CPUs

Posted: Mon Feb 01, 2021 10:57 pm
by jamiegau
I would recommend DCP-O-Matic consider asking kakadu software to offer a paid (minimal cost) addition to DCP-O-Matic to allow the speed to jump 4-8 times the current speed. This would allow real time encoding on pretty stock kit, and 2-3 times real time on faster machines that have the IO needed to maintain that speed.

Also, the DCP-O-Matic player would then become for more usable.

Is that an option the community would be open to?

If so I can contact Kakadu and discuss, the GM/Director is a friend.

James

Re: Benchmarking/encoding speed on fast CPUs

Posted: Tue Feb 02, 2021 9:25 am
by carl
It's something I've thought about on and off for years. The last time I made enquiries, the cost was definitely not minimal, which put me off a bit (I can't remember the details now, though, and that was many years ago). Also for a long time I've been keen to keep things 100% open-source.

My feelings are softening a bit on this, now, though. I've done maybe 70% of the work to integrate a closed-source GPU-based {en,de}coder, which looks promising, and which I am planning to release at some point after 2.16.0. The main snag with that is that it only supports Windows and Linux, which is a bit of a shame when there seem to be quite a few macOS users of DoM. Also it is nvidia-only, so a bit restrictive in that sense.

I have some practical concerns, e.g. who's administering licences and who's doing technical support, things like that, but I would be interested to hear what Kakadu people think about it. So, if you have a contact there, that would be great.

Re: Benchmarking/encoding speed on fast CPUs

Posted: Fri Feb 19, 2021 3:04 am
by Carsten
Wondering wether you could build just a Kakadu encoding server. Now, it makes not much sense to have a very fast encoding server actually working remotely due to network saturation effects (a fast networked encoder can not receive enough frames over gigabit ethernet to show its full performance).

However, it IS possible to run the Kakadu optimised encoding server locally, and disable the J2K encoding in DCP-o-matic main. That way you could offer/license 'just' the Kakadu encoding server alone. The same could work at some point with the GPU encoder. And if someone uses 10G networks, they could also be utilised as actual network encoders. That approach would also make it easier to keep the licensed Kakadu Encoder more or less static und proceed with general DCP-o-matic development as usual.


- Carsten

Re: Benchmarking/encoding speed on fast CPUs

Posted: Sat Feb 20, 2021 10:26 pm
by carl
That's an interesting idea, thanks... it might be the easiest way to handle things. I think I could just dynamically link (at runtime) the Kakadu libraries from DoM; and if they're there, use them... but that is kind of fiddly.

I do like the idea of just "download this binary and run it and your DoM encodes get faster".

Re: Benchmarking/encoding speed on fast CPUs

Posted: Sun Feb 21, 2021 2:54 am
by Carsten
That approach would also make it possible to use a networked NVDIA GPU encoder running in windows from a Mac once it is available.

Re: Benchmarking/encoding speed on fast CPUs

Posted: Sun Feb 21, 2021 11:09 pm
by carl
Another good point!