[Interest] NUMA and processing groups

Etienne Sandré-Chardonnal etienne.sandre at m4x.org
Tue Dec 22 12:05:44 CET 2015


I recently came across the following problem : my application, which does
heavy computing tasks distributed over multiple threads, uses
QThread::idealThreadCount() for deciding the optimal number of threads on
the system. One of my clients complained that the app was using only 50% of
the cores on its system, and I found that this is due to the NUMA
architecture on the machine, which makes system calls used by
idealThreadCount return the number of cores in the current processing
group, and not the full system.

Is there any plan for implementing a NUMA API in Qt? As NUMA is the future
of many core architectures, it would be very interesting to have a
cross-platform API for this.

Cheers!

Etienne
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20151222/e67a0560/attachment.html>


More information about the Interest mailing list