Intel® Moderncode for Parallel Architectures
Support for developing parallel programming applications on Intel® Architecture.

Dedicating apps to run on a single core

postaquestion
Beginner
240 Views

I'm looking for information on running or dedicating applications to running a single core.

Also, I need information on how to build an application to run in a secure mode on a single core, with all of its resources (memory, stack etc) isolated from other cores or how to run in an encrypted state.

Any information you can provide would be helpful.

0 Kudos
2 Replies
TimP
Honored Contributor III
240 Views
This is an extremely broad question. Maybe you should work with browser searches to narrow your focus. You may or may not be interested in application level affinity calls, or in methods external to the application for setting preferences for mapping threads to cores.
In general, there probably isn't very good support for security between multiple applications running on a multi-core system, beyond what is required to make them work reliably, and the same basic stuff you would have on any system. Each core has its own stack and lowest level cache, but higher level cache and main memory will be shared among cores.
0 Kudos
Roman_D_Intel
Employee
240 Views
Hi, I agree with Tim the question is very broad. For
I'm looking for information on running or dedicating applications to running a single core.
you can start to look into the taskset or numactl ulitities that can set application affinities to particular cores and sockets within Linux OS. Separation of applications using virtualization (running each application in its own virtual machine) is often considered as a method to increase security. Roman
0 Kudos
Reply