<html><body>
<p>Kevin Long wrote:</p>
<blockquote><p>Greetings, first post to the list.</p>
<p>I’ve been doing some initial research, started with docker and also LXC by way of Proxmox (which I use for virtualization).</p>
<p>Basically, I’m looking at rolling out Freeswitch for a whole bunch of my customers in an automated fashion, and using containers, whether via docker, LXD or proxmox is an attractive platform for this.</p>
<p>But everywhere I’ve raised the idea, IRC/forums etc, people are saying that Linux containers are still not really suitable for this, unless security is significantly compromised by allowing container processes to access features of the kernel that they normally would not be able to, in order to have a clocking mechanism that is reliable enough for real-time transcoding etc, and this also means the solution is not portable, as it presupposes that these escalated privileges will be available in all deployment environments.</p>
<p>Anyone have more specifics on this, is LXD any better/worse for this application than other containerization platforms, etc?</p>
<p>Thanks much!</p>
<p>Kevin Long</p></blockquote>
<p>Good rules for transcoding…</p>
<p>More slower cores better than less faster cores.</p>
<p>So 40 slow cores better than 8 fast cores.</p>
<p>Even better, building boxes around Intel's 60 core CPUs will be even better.</p>
<p>Trick for realtime transcoding is to keep processes pinned to a CPU, reduce context switching (when CPUs service many processes).</p>
<p>Also, target reducing all other processes. In other words, strip down your OS to run your bootable kernel + only freeswitch.</p>
<p>If you must use containers, using something like a BusyBox container + Freeswitch, with no other processes running.</p>
<p>Containers based on BusyBox or Alpine will like produce far less context switching, then say an Ubuntu based container.</p>
<img src="http://links.davidfavor.com/wf/open?upn=dR-2FDpsqbqS0pG-2FvtYnlwlYDAXhLtx9yTSf3jZyR4W4FJm5kgQqvrKRmmJ9iEttyd7pxwiSpeOxlfBXPs9M-2F3yMFJZrV2SzRCRoLDYa-2BRRcOH2WYHezTBVIQUIYqqNjuiD2G1aod-2Fn4iXOdMwA3en-2FnPwomqrBtxGQ5jFADbd29KVETwXR4eBoHgODCIbTE7uV-2BmkrczBbln7EEsP7ld10S-2BZqD4hVxmkhq25GIMsRcSbxr0Y-2FBAVECdrKQdtR5mX" alt="" width="1" height="1" border="0" style="height:1px !important;width:1px !important;border-width:0 !important;margin-top:0 !important;margin-bottom:0 !important;margin-right:0 !important;margin-left:0 !important;padding-top:0 !important;padding-bottom:0 !important;padding-right:0 !important;padding-left:0 !important;"/>
</body></html>