Program processing apparatus and method, and image forming apparatus
First Claim
Patent Images
1. A program processing apparatus that executes a plurality of threads, comprising:
- a memory storing a control program; and
a multi-core processor that includes a plurality of processor cores and respective caches for the plurality of processor cores, wherein when the control program is executed by the multi-core processor it causes the multi-core processor to perform a method comprising;
storing an identifier of a generated thread;
setting an operation state to be an activation processing state, when a specific program starts activation processing of an application program, and setting the operation state to be an activation processing complete state, after completion of the activation processing of an application program that is being executed, wherein the application program continues to execute after the activation processing state completes; and
while the operation state is the activation processing state, fixedly allocating a generated thread of the specific program to a specific processor core, and after the operation state is set to the activation processing complete state, allocating the generated thread of the specific program to a plurality of processor cores determined by an operating system,wherein the same data is not cached in the respective caches for the plurality of processor cores by fixedly allocating the generated thread of the specific program to the specific processor core while the operation state is the activation processing state.
1 Assignment
0 Petitions
Accused Products
Abstract
Threads that are generated during specific processing are managed, with an operation core of threads that are generated during activation processing being fixed to a specific core, and an operation core of threads for specific processing that are generated after the activation processing is complete not being set. Also, the setting of the operation core of threads for specific processing that were generated before the timing at which the activation processing is completed is restored to an original setting.
-
Citations
13 Claims
-
1. A program processing apparatus that executes a plurality of threads, comprising:
-
a memory storing a control program; and a multi-core processor that includes a plurality of processor cores and respective caches for the plurality of processor cores, wherein when the control program is executed by the multi-core processor it causes the multi-core processor to perform a method comprising; storing an identifier of a generated thread; setting an operation state to be an activation processing state, when a specific program starts activation processing of an application program, and setting the operation state to be an activation processing complete state, after completion of the activation processing of an application program that is being executed, wherein the application program continues to execute after the activation processing state completes; and while the operation state is the activation processing state, fixedly allocating a generated thread of the specific program to a specific processor core, and after the operation state is set to the activation processing complete state, allocating the generated thread of the specific program to a plurality of processor cores determined by an operating system, wherein the same data is not cached in the respective caches for the plurality of processor cores by fixedly allocating the generated thread of the specific program to the specific processor core while the operation state is the activation processing state. - View Dependent Claims (2, 3, 4)
-
-
5. An image processing apparatus comprising:
a program processing device configured to execute a plurality of threads, the program processing device including; a memory storing a control program; and a multi-core processor that includes a plurality of processor cores and respective caches for the plurality of processor cores, wherein when the control program is executed by the multi-core processor it causes the multi-core processor to perform a method comprising; storing an identifier of a generated thread; setting an operation state to be an activation processing state, when a specific program starts activation processing of an application program, and setting the operation state to be an activation processing complete state, after completion of the activation processing of an application program that is being executed, wherein the application program continues to execute after the activation processing state completes; and while the operation state is the activation processing state, fixedly allocating a generated thread of the specific program to a specific processor core, and after the operation state is set to the activation processing complete state, allocating the generated thread of the specific program to a plurality of processor cores determined by an operating system; wherein the same data is not cached in the respective caches for the plurality of processor cores by fixedly allocating the generated thread of the specific program to the specific processor core while the operation state is the activation processing state; a printer configured to print an image; a scanner; and a control unit configured to provide an interface between the scanner, the printer and an application program that is executed by the program processing device.
-
6. A program processing method for executing a plurality of threads with a multi-core processor that includes a plurality of processor cores and respective caches for the plurality of processor cores, comprising:
-
storing an identifier of a generated thread; setting an operation state to be an activation processing state, when a specific program starts activation processing of an application program, and setting the operation state to be an activation processing complete state, after completion of the activation processing of an application program that is being executed, wherein the application program continues to execute after the activation processing state completes; and while the operation state is the activation processing state, fixedly allocating a generated thread of the specific program to a specific processor core, and after the operation state is set to the activation processing complete state, allocating the generated thread of the specific program to a plurality of processor cores determined by an operating system, wherein the same data is not cached in the respective caches for the plurality of processor cores by fixedly allocating the generated thread of the specific program to the specific processor core while the operation state is the activation processing state. - View Dependent Claims (7, 8, 9)
-
-
10. A non-transitory computer-readable medium storing a program for causing a computer that executes a plurality of threads using a multi-core processor that includes a plurality of processor cores and a respective caches for the plurality of processor cores to execute a process, the process comprising:
-
storing an identifier of a generated thread; setting an operation state to be an activation processing state, when a specific program starts activation processing of an application program, and setting the operation state to be an activation processing complete state, after completion of the activation processing of an application program that is being executed, wherein the application program continues to execute after the activation processing state completes; and while the operation state is the activation processing state, fixedly allocating a generated thread of the specific program to a specific processor core, and after the operation state is set to the activation processing complete state, allocating the generated thread of the specific program to a plurality of processor cores determined by an operating system, wherein the same data is not cached in the respective caches for the plurality of processor cores by fixedly allocating the generated thread of the specific program to the specific processor core while the operation state is the activation processing state. - View Dependent Claims (11, 12, 13)
-
Specification