On 2022-09-06 06:56, per...@o2.pl wrote:
Hi,
Fruits aside, that was a valid question. Cause of bad performance when
combining DPDK with GNU Radio is a topic that needs to be addressed.
My hypothesis regarding the cause was:
DPDK needs few processor cores for itself only. GNU Radio runs a lot
of thread (one thread per block +) and it doesn’t care that it tries
to run on cores that are busy with DPDK related work. And that causes
problems.
I'll point out that at the end of the day, it's the *OS kernel* that
makes thread scheduling decisions--the application can
give it hints (sometimes strong ones), but at the end of the day, the
kernel assigns work to threads. An application, per se,
doesn't "know" whether a given core is busy--it's not the one
assigning work to cores...
The resulting solution that solved the problem for me:
For every block of the flow-graph run set_processor_affinity with a
list of all processor cores minus DPDK cores, that you set in the
/etc/uhd/uhd.conf file.
Best Regards,
Piotr Krysik
_______________________________________________
USRP-users mailing list -- usrp-users@lists.ettus.com
To unsubscribe send an email to usrp-users-le...@lists.ettus.com
_______________________________________________
USRP-users mailing list -- usrp-users@lists.ettus.com
To unsubscribe send an email to usrp-users-le...@lists.ettus.com