<div dir="ltr"><div class="gmail_extra">I need to send binary to driver, do some  VERY cpu consumptive job with it (transcoding video) and return back.</div><div class="gmail_extra"><br></div><div class="gmail_extra"><br></div><div class="gmail_extra">I was trying to use dirty NIFs, but it seems to be very unstable: after several hours of work whole erlang machine becomes very, very slowly without any CPU usage.</div><div class="gmail_extra"><br></div><div class="gmail_extra">Now I try to migrate to erl drivers, but I've got new problem: I don't understand how to get zerocopy from erlang level to C level. </div><div class="gmail_extra"><br></div><div class="gmail_extra">Zerocopy of binaries is a must-have requirement, because copying raw video can take up to several gigabits per second inside single node.</div></div>