×

Method for scheduling threads in a many-core system based on a mapping rule between the thread map and core map

  • US 10,296,379 B2
  • Filed: 03/17/2017
  • Issued: 05/21/2019
  • Est. Priority Date: 03/18/2016
  • Status: Active Grant
First Claim
Patent Images

1. A method of scheduling threads in a many-cores system operating based on many-core processors including a plurality of cores, the method comprising:

  • generating a thread map where a connection relationship between a plurality of threads is represented by a frequency of inter-process communication (IPC) between all pairs of threads in the plurality of threads;

    generating a core map where a connection relationship between the plurality of cores is represented by hops between each of the plurality of cores; and

    respectively allocating the plurality of threads to the plurality of cores defined by the core map, based on a thread allocation policy defining a mapping rule between the thread map and the core mapwherein the respectively allocating of the plurality of threads to the plurality of cores comprises;

    combining the plurality of threads by twos to configure a plurality of thread pairs;

    selecting a first thread pair, which is the highest in frequency of IPC between the threads, from among the plurality of thread pairs;

    allocating a thread, selected front among two threads included in the first thread pair, to a center core; and

    allocating another unselected thread of the two threads to a core arbitrarily selected from among cores adjacent to the center core.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×