PrincetonUniversity/openpiton

Are There Existing Implementations for Assigning Specific Computations to Specific Processor Cores in OpenPiton and Linux?

pychen121 opened this issue · 6 comments

Hi,

I am working on a project that utilizes the OpenPiton framework and boots a Linux operating system. I seek to assign specific computations to designated processor cores. Has anyone attempted such an implementation? Alternatively, how can I modify the operating system scheduling to accomplish this objective?

For our prior work we have simply used taskset which is a linux utility to put applications on specific cores.

@Jbalkind Thank you for your help. I will definitely try your suggestion.
Is it possible to set the direction of routers of a tile so that the output of a tile is always directed to an adjacent tile? If so, what files can I refer to and configure?

This isn't really how openpiton works. The L2 cache is distributed across all tiles. Traffic depends on which parts of the address space are being accessed. Requests are routed via multiple tiles to get to their destinations.

@Jbalkind Thank you for your help. If I want to specify that the result of a code executed in Tile1 is stored at a specific address in the L2 cache, and Tile2 accesses this address to get the data for subsequent calculations, what files do I need to modify to achieve this effect?

If you're running bare metal and you're writing C, then you can use whatever addresses you like in your C code. You don't need to modify the OpenPiton design to make that possible. You could check (and potentially change) which home allocation method (

home_alloc_method <= `HOME_ALLOC_MIXED_ORDER_BITS;
) you use to make the job easier.

@Jbalkind Thank you very much for your suggestions. I will try it.