question

Upvotes
Accepted
32 3 7 13

event queue and thread affinity

Hi,

I am investigating different RFA configuration especially, 'Single and Dual Threaded with Event Queue' client model. Is it possible to pin CPU to thread that process RFA or event queue?

treprfarfa-apimulti-threading
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Java or C++ ?

c#

1 Answer

Upvotes
Accepted
7.6k 15 6 9

@s.tang

RFA.NET does not provide configuration or option to set thread affinity or binding to CPU.
However application may need to call .NET system class such as ProcessThread to set the Affinity instead.

There are some thread binding implementation in RFA.NET PerfTools. You can find details from RFANET_OpenSourcePerfToolsGuide.pdf document and check source files for the test projects from <RFA.NET install path>/PerfTools/. There are the tools that development team used to test RFA.NET consumer perforrmance. It seems to use the class to set the Affinity and binding Process.

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.