JP6500707B2 - Image forming apparatus, task control method in the same apparatus, and task control program - Google Patents

Image forming apparatus, task control method in the same apparatus, and task control program Download PDF

Info

Publication number
JP6500707B2
JP6500707B2 JP2015173731A JP2015173731A JP6500707B2 JP 6500707 B2 JP6500707 B2 JP 6500707B2 JP 2015173731 A JP2015173731 A JP 2015173731A JP 2015173731 A JP2015173731 A JP 2015173731A JP 6500707 B2 JP6500707 B2 JP 6500707B2
Authority
JP
Japan
Prior art keywords
task
threshold
core cpu
cpu
load
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2015173731A
Other languages
Japanese (ja)
Other versions
JP2017050767A (en
Inventor
実 矢口
実 矢口
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Konica Minolta Inc
Original Assignee
Konica Minolta Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Konica Minolta Inc filed Critical Konica Minolta Inc
Priority to JP2015173731A priority Critical patent/JP6500707B2/en
Publication of JP2017050767A publication Critical patent/JP2017050767A/en
Application granted granted Critical
Publication of JP6500707B2 publication Critical patent/JP6500707B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Description

この発明は、例えば、コピー機能、プリンタ機能、ファクシミリ機能、スキャン機能等の複数の機能を有する多機能デジタル複合機であるMFP(Multi Function Peripheral)等の画像形成装置、同装置におけるタスク制御方法及びタスク制御プログラムに関する。   The present invention relates to, for example, an image forming apparatus such as MFP (Multi Function Peripheral) which is a multifunction digital multifunction machine having a plurality of functions such as a copy function, a printer function, a facsimile function, and a scan function, and a task control method in the apparatus It relates to a task control program.

ARM社が開発した「big.LITTLE」と称される省電力技術は、基本構成として、複数のコアを有し、消費電力が大きいが処理性能は高い第1のマルチコアCPUと、この第1のマルチコアCPUの各コアと対になった複数のコアを有し、第1のマルチコアCPUよりも消費電力が相対的に小さく処理性能が相対的に低い第2のマルチコアCPUとが、SoC(System-on-a-Chip)と称されるように一つの半導体チップに実装されてなる。   The power saving technology called “big. LITTLE” developed by ARM has a basic configuration with a first multi-core CPU with multiple cores and high power consumption but high processing performance, and this first A second multi-core CPU that has a plurality of cores paired with each core of a multi-core CPU and has relatively lower power consumption and relatively lower processing performance than the first multi-core CPU is a SoC (System- It is mounted on one semiconductor chip so as to be called on-a-chip).

このような省電力技術を実施する動作モデルの一つとして、第1及び第2のマルチコアCPUの全てのコアが常時ONとなるマルチプロセッシングモデルがあり、中でも、GTS(Global Task Scheduling)というソフトウェアモデルがあり、このモデルを前述したMFP等の画像形成装置に応用することが考えられている。   As one of operation models implementing such power saving technology, there is a multi-processing model in which all cores of the first and second multi-core CPUs are always on, and above all, a software model called GTS (Global Task Scheduling) It is considered to apply this model to an image forming apparatus such as the MFP described above.

ここで、GTSモデルとは、オペレーティングシステムのスケジューラーが負荷に応じて第1のマルチコアCPUと第2のマルチコアCPUの全てのコアを対象としてタスクを振り分けるものである。具体的には、タスクの負荷に応じて第1のマルチコアCPUのコアと第2のマルチコアCPUのコア間でタスクを移動させ、そのタスクの実行履歴からタスクの動作を再開させるときにロードするCPUを自動的に判断してくれるものであり、その結果、処理性能と省エネルギの両立が可能となる。   Here, in the GTS model, a scheduler of the operating system distributes tasks targeting all cores of the first multi-core CPU and the second multi-core CPU according to the load. Specifically, according to the task load, move the task between the core of the first multi-core CPU and the core of the second multi-core CPU, and load the task when restarting the task operation from the execution history of the task Automatically, and as a result, both processing performance and energy saving can be achieved.

しかし、このようなモデルをそのままMFP等に適用した場合、MFPの処理特性上、マルチコアCPUの特性を十分に発揮できない状況が発生する。   However, when such a model is applied as it is to an MFP or the like, a situation occurs in which the characteristics of the multi-core CPU can not be sufficiently exhibited due to the processing characteristics of the MFP.

すなわち、例えば、画像をスキャンすることにより得られた画像データを所定宛先に送信するスキャンジョブにおいて、画像データをユーザー等により指定されたファイルフォーマットに変換する処理が行われる。例えばコンパクトPDF(CPDFと記す。PDF:Portable Document Format)と称されるフォーマットのように、ファイルフォーマットによっては高負荷な処理を行うことになる場合があるが、一度高負荷な処理を実施した場合、次以降は処理性能の高い第1のマルチコアCPUにスキャンジョブタスクが割り当てられるようになる。   That is, for example, in a scan job for transmitting image data obtained by scanning an image to a predetermined destination, processing for converting the image data into a file format designated by a user or the like is performed. For example, depending on the file format, such as the format called Compact PDF (referred to as CPDF: PDF: Portable Document Format), high-load processing may be performed, but when high-load processing is performed once After that, the scan job task will be assigned to the first multi-core CPU with high processing performance.

しかし、ファイルフォーマットが高負荷な変換処理を必要としないJPEG(Joint Photographic Experts Group)やTIFF(Tagged Image File Format)等の場合は、消費電力の大きい第1のマルチコアCPUで処理を行う必要は無いにもかかわらずそのまま処理が継続される結果、不必要な電力消費が発生するという問題があった。   However, in the case of JPEG (Joint Photographic Experts Group), TIFF (Tagged Image File Format), etc. where the file format does not require high-load conversion processing, it is not necessary to perform processing with the first multi-core CPU with high power consumption. Nevertheless, as a result of continuing the processing as it is, there was a problem that unnecessary power consumption occurred.

また、逆に、画像変換処理タスクが第2のマルチコアCPUのコアに割り当てられた場合であって、高負荷な画像変換処理が必要な場合は、早期に第1のマルチコアCPUにタスクを移行した方が処理時間が早くなるにもかかわらず、負荷が予め設定された閾値に達するまではタスクを第1のマルチコアCPUに移行できないという問題もあった。   Also, conversely, when the image conversion processing task is assigned to the core of the second multi-core CPU, and high-load image conversion processing is required, the task was promptly transferred to the first multi-core CPU Although the processing time is faster, there is also a problem that the task can not be transferred to the first multi-core CPU until the load reaches a preset threshold.

なお、特許文献1には、複数のプロセッサそれぞれにキャッシュメモリが設けられており、キャッシュ状況算出部はタスク毎にメモリアクセス数やキャッシュヒット率等のキャッシュ使用状況を算出し、あるプロセスの演算量が所定の閾値を超えた場合、割当管理部はキャッシュ使用状況を参照して前記プロセス内の複数のタスクのうちメモリアクセス数がより少ないもの、あるいはキャッシュヒット率がより高いものを優先的に移動対象タスクとして選択し、異なるプロセスを処理している別プロセッサに割り当てるマルチプロセッサシステムが開示されている。   In Patent Document 1, a cache memory is provided for each of a plurality of processors, and the cache status calculation unit calculates cache usage status such as the number of memory accesses and cache hit rate for each task, and the operation amount of a certain process If the threshold exceeds a predetermined threshold, the allocation management unit refers to the cache usage status and preferentially moves one of a plurality of tasks in the process with a smaller number of memory accesses or a higher cache hit rate. A multiprocessor system is disclosed that is selected as a target task and assigned to another processor that is processing a different process.

また特許文献2には、第1および第2のプロセッサと、各々のプロセッサの各々がそれぞれに実行予定のスレッドを保持するタスクキューとを有するマルチプロセッサシステムで、消費電力記録手段から消費電力情報を収集する消費電力情報収集手段と、複数のプロセッサのうち第1のプロセッサの消費電力が第1の閾値を超えた場合に、第1のプロセッサ以外の第2のプロセッサの消費電力が第1の閾値より小さい第2の閾値を超えていなければ、スレッドの移動が必要であると判断する判断手段と、第1のプロセッサのタスクキューに保持されているスレッドを第2のプロセッサのタスクキューに移動させるスレッド移動手段とを備えたマルチプロセッサシステムが開示されている。   Further, Patent Document 2 shows a multiprocessor system having first and second processors and task queues in which each of the processors holds a thread to be executed respectively. When the power consumption of the first processor among the plurality of processors exceeds the first threshold, the power consumption of the second processor other than the first processor is the first threshold. If the second threshold smaller than the second threshold is not exceeded, determination means for determining that it is necessary to move the thread, and the thread held in the task queue of the first processor is moved to the task queue of the second processor A multiprocessor system is disclosed which comprises a thread moving means.

WO2010/093003号公報WO 2010/093003 特開2010−39802号公報JP, 2010-39802, A

しかし、上記特許文献1及び特許文献2に記載の技術は、所定の閾値を超えた場合にタスクを移動させる技術ではあるが、一度高負荷な処理を実施したために次以降は処理性能の高い第1のマルチコアCPUにタスクが割り当てられた場合に、次のジョブが高負荷な変換処理を必要としないにもかかわらず消費電力の大きい第1のマルチコアCPUで処理が継続されるというような問題に対して、解決策を提供しうるものではなかった。   However, the techniques described in Patent Document 1 and Patent Document 2 are techniques for moving a task when a predetermined threshold is exceeded, but since high-load processing is performed once, the processing performance is high in the subsequent processes. When a task is assigned to one multi-core CPU, processing continues in the first multi-core CPU with high power consumption even though the next job does not require high-load conversion processing. In contrast, it was not possible to provide a solution.

この発明は、このような技術的背景に鑑みてなされたものであって、タスクが第1のマルチコアCPUに割り当てられているが高負荷な処理は必要の無い場合や、タスクが第2のマルチコアCPUに割り当てられているが高負荷な処理が必要であるためにタスクを早期に第1のマルチコアCPUに移行させる必要がある場合等に、タスクを一方のマルチコアCPUから他方のマルチコアCPUに早期に移行させることができる画像形成装置、同装置におけるタスク制御方法及びタスク制御プログラムを提供することを課題とする。   The present invention has been made in view of such technical background, and a task is assigned to a first multi-core CPU, but high-load processing is not necessary, or a task is a second multi-core If tasks need to be transferred to the first multi-core CPU early because they are assigned to CPUs but require high-load processing, the tasks can be transferred from one multi-core CPU to the other multi-core CPU early It is an object of the present invention to provide an image forming apparatus capable of transitioning, a task control method in the same apparatus, and a task control program.

上記課題は、以下の手段によって解決される。
(1)複数のコアを有する第1のマルチコアCPUと、前記第1のマルチコアCPUと同一のチップに実装されるとともに、複数のコアを有し、前記第1のマルチコアCPUよりも消費電力が相対的に小さく処理性能が相対的に低い第2のマルチコアCPUと、
オペレーティングシステムに基づき、前記第1のマルチコアCPUと第2のマルチコアCPUにおけるタスクによる負荷を監視する負荷監視手段と、前記負荷監視手段により監視される負荷と予め設定された第1の閾値とに基づいて、タスクを前記第1のマルチコアCPUから第2のマルチコアCPUへ移行させるかどうか、または前記負荷監視手段により監視される負荷と予め設定された第2の閾値とに基づいて、タスクを前記第2のマルチコアCPUから第1のマルチコアCPUへ移行させるかどうか、を判定するタスク移行判定手段と、前記タスク移行判定手段によりタスクを移行させることが判定された場合に、オペレーティングシステムに基づき、前記第1のマルチコアCPUと第2のマルチコアCPUとの間でタスクを移行させる制御を行うタスク移行制御手段と、前記第1のマルチコアCPUまたは第2のマルチコアCPUで起動されるタスクに対して前記第1の閾値または第2の閾値の少なくとも何れかを、該タスクの処理時間と消費電力とに基づいて予め設定された変更内容に従って変更する閾値変更手段と、を備え、前記タスク移行判定手段は、前記閾値変更手段により前記第1の閾値または第2の閾値が変更された場合は、前記負荷監視手段により監視される負荷と変更後の第1の閾値または第2の閾値とに基づいてタスクを移行させるかどうかを判定することを特徴とする画像形成装置。
(2)前記タスク移行判定手段は、タスクによる負荷に応じて、前記第1のマルチコアCPUか第2のマルチコアCPUのいずれで起動するかを指定する前項1に記載の画像形成装置。
(3)前記タスクが前記第2のマルチコアCPUの複数のコアで分割して処理を実施するタスクであり、かつ分割された各タスクによる各コアの負荷が均一でない場合には、前記閾値変更手段は、変更内容に従い、前記タスクが前記第1のマルチコアCPUで動作するように前記第2の閾値を変更する前項1に記載の画像形成装置。
(4)前記タスクが、スキャンされた画像データを指定されたファイルフォーマットに画像変換処理して送信するスキャン送信ジョブにおける画像変換処理タスクである場合、前記閾値変更手段は、前記ファイルフォーマットの種類に応じて設定されている変更内容に従って前記第1の閾値または第2の閾値の少なくとも何れかを変更する前項1または2に記載の画像形成装置。
(5)前記ファイルフォーマットがPPTX、CXPS及びCPDFの何れかである場合は、前記閾値変更手段は、変更内容に従い、前記第1のマルチコアCPUで動作するように閾値を変更する前項4に記載の画像形成装置。
(6)前記タスク移行判定手段は、前記タスクについて第1のマルチコアCPUでの起動を指定する前項5に記載の画像形成装置。
(7)前記ファイルフォーマットがJPEG、TIFF及びPDFの何れかである場合は、前記閾値変更手段は、変更内容に従い、前記第2のマルチコアCPUで動作するように閾値を変更する前項4に記載の画像形成装置。
(8)前記タスク移行判定手段は、前記タスクについて第2のマルチコアCPUでの起動を指定する前項7に記載の画像形成装置。
(9)前記閾値変更手段は、ジョブの解像度に応じて設定されている変更内容に従って前記第1の閾値または第2の閾値の少なくとも何れかを変更する前項1、2、4〜8の何れかに記載の画像形成装置。
(10)複数のコアを有する第1のマルチコアCPUと、前記第1のマルチコアCPUと同一のチップに実装されるとともに、複数のコアを有し、前記第1のマルチコアCPUよりも消費電力が相対的に小さく処理性能が相対的に低い第2のマルチコアCPUと、を備えた画像形成装置が、オペレーティングシステムに基づき、前記第1のマルチコアCPUと第2のマルチコアCPUにおけるタスクによる負荷を監視する負荷監視ステップと、前記負荷監視ステップにより監視される負荷と予め設定された第1の閾値とに基づいて、タスクを前記第1のマルチコアCPUから第2のマルチコアCPUへ移行させるかどうか、または前記負荷監視ステップにより監視される負荷と予め設定された第2の閾値とに基づいて、タスクを前記第2のマルチコアCPUから第1のマルチコアCPUへ移行させるかどうか、を判定するタスク移行判定ステップと、前記タスク移行判定ステップによりタスクを移行させることが判定された場合に、オペレーティングシステムに基づき、前記第1のマルチコアCPUと第2のマルチコアCPUとの間でタスクを移行させる制御を行うタスク移行制御ステップと、前記第1のマルチコアCPUまたは第2のマルチコアCPUで起動されるタスクに対して前記第1の閾値または第2の閾値の少なくとも何れかを、該タスクの処理時間と消費電力とに基づいて予め設定された変更内容に従って変更する閾値変更ステップと、を実施し、前記タスク移行判定ステップでは、前記閾値変更ステップにより前記第1の閾値または第2の閾値が変更された場合は、前記負荷監視ステップにより監視される負荷と変更後の第1の閾値または第2の閾値とに基づいてタスクを移行させるかどうかを判定することを特徴とする画像形成装置におけるタスク制御方法。
(11)複数のコアを有する第1のマルチコアCPUと、前記第1のマルチコアCPUと同一のチップに実装されるとともに、複数のコアを有し、前記第1のマルチコアCPUよりも消費電力が相対的に小さく処理性能が相対的に低い第2のマルチコアCPUと、を備えた画像形成装置のCPUに、オペレーティングシステムに基づき、前記第1のマルチコアCPUと第2のマルチコアCPUにおけるタスクによる負荷を監視する負荷監視ステップと、前記負荷監視ステップにより監視される負荷と予め設定された第1の閾値とに基づいて、タスクを前記第1のマルチコアCPUから第2のマルチコアCPUへ移行させるかどうか、または前記負荷監視ステップにより監視される負荷と予め設定された第2の閾値とに基づいて、タスクを前記第2のマルチコアCPUから第1のマルチコアCPUへ移行させるかどうか、を判定するタスク移行判定ステップと、前記タスク移行判定ステップによりタスクを移行させることが判定された場合に、オペレーティングシステムに基づき、前記第1のマルチコアCPUと第2のマルチコアCPUとの間でタスクを移行させる制御を行うタスク移行制御ステップと、前記第1のマルチコアCPUまたは第2のマルチコアCPUで起動されるタスクに対して前記第1の閾値または第2の閾値の少なくとも何れかを、該タスクの処理時間と消費電力とに基づいて予め設定された変更内容に従って変更する閾値変更ステップと、を実行させ、前記タスク移行判定ステップでは、前記閾値変更ステップにより前記第1の閾値または第2の閾値が変更された場合は、前記負荷監視ステップにより監視される負荷と変更後の第1の閾値または第2の閾値とに基づいてタスクを移行させるかどうかを判定する処理を実行させるためのタスク制御プログラム。
The above-mentioned subject is solved by the following means.
(1) A first multi-core CPU having a plurality of cores, and a plurality of cores are mounted on the same chip as the first multi-core CPU, and the power consumption is relatively higher than that of the first multi-core CPU A second multi-core CPU that is relatively small and has relatively low processing performance,
Based on an operating system, load monitoring means for monitoring a load due to a task in the first multi-core CPU and the second multi-core CPU, and based on a load monitored by the load monitoring means and a preset first threshold. Whether the task is to be transferred from the first multi-core CPU to the second multi-core CPU, or based on the load monitored by the load monitoring means and a preset second threshold value. A task transition determination unit that determines whether to shift from the second multi-core CPU to the first multi-core CPU; and the task transition determination unit determines that the task is to be migrated based on the operating system; Migrate tasks between one multi-core CPU and the second multi-core CPU Task transition control means for performing control, and at least one of the first threshold and the second threshold for a task activated by the first multicore CPU or the second multicore CPU, the processing time of the task And threshold power changing means for changing according to a preset change content based on the power consumption and the power consumption, and the task transition judging means changes the first threshold or the second threshold by the threshold changing means. In this case, it is determined whether to shift the task based on the load monitored by the load monitoring unit and the changed first threshold or second threshold.
(2) The image forming apparatus according to item 1, wherein the task transition determination unit specifies which of the first multicore CPU and the second multicore CPU is to be activated according to a load of a task.
(3) If the task is a task that is divided and executed by a plurality of cores of the second multi-core CPU, and the load of each core by each divided task is not uniform, the threshold changing unit The image forming apparatus according to claim 1, wherein the second threshold value is changed such that the task operates on the first multi-core CPU in accordance with the contents of the change.
(4) When the task is an image conversion processing task in a scan transmission job for converting and transmitting scanned image data to a designated file format, the threshold changing unit changes the type of the file format to 3. The image forming apparatus according to claim 1, wherein at least one of the first threshold and the second threshold is changed in accordance with a change content set in response.
(5) When the file format is any of PPTX, CXPS, and CPDF, the threshold value changing unit changes the threshold value to operate with the first multi-core CPU according to the content of the change. Image forming apparatus.
(6) The image forming apparatus according to (5), wherein the task transition determination unit designates activation of the task by the first multi-core CPU.
(7) When the file format is any one of JPEG, TIFF and PDF, the threshold value changing unit changes the threshold value to operate with the second multi-core CPU according to the content of the change. Image forming apparatus.
(8) The image forming apparatus according to (7), wherein the task transition determination unit designates activation of the task by a second multi-core CPU.
(9) The threshold value changing means changes at least one of the first threshold value and the second threshold value in accordance with the change content set according to the resolution of the job. The image forming apparatus according to claim 1.
(10) A first multi-core CPU having a plurality of cores, and a plurality of cores are mounted on the same chip as the first multi-core CPU, and the power consumption is relative to that of the first multi-core CPU An image forming apparatus having a second multi-core CPU having a relatively small processing performance and relatively low processing load based on an operating system for monitoring a load due to a task in the first multi-core CPU and the second multi-core CPU Whether to shift the task from the first multi-core CPU to the second multi-core CPU based on the monitoring step, the load monitored by the load monitoring step, and the first threshold set in advance, or the load The task is selected based on the load monitored by the monitoring step and a preset second threshold value. A task migration determination step of determining whether to migrate from a multicore CPU to a first multi-core CPU, and when it is determined in the task migration determination step that a task is to be migrated, the first one based on the operating system A task transition control step for performing control to shift a task between a multi-core CPU and a second multi-core CPU, and the first threshold value for a task activated by the first multi-core CPU or the second multi-core CPU And / or a threshold changing step of changing at least one of the second threshold values in accordance with a preset change content based on the processing time of the task and the power consumption, and in the task transition determination step, the threshold value If the first threshold or the second threshold is changed by the changing step, Task control method in an image forming apparatus characterized by determining whether to migrate tasks based on the serial load monitoring first threshold after the change and the load monitored by the step or the second threshold value.
(11) A first multi-core CPU having a plurality of cores and a plurality of cores are mounted on the same chip as the first multi-core CPU, and the power consumption is relatively higher than that of the first multi-core CPU Monitor the load due to the task in the first multicore CPU and the second multicore CPU based on the operating system on the CPU of the image forming apparatus provided with the second multicore CPU having a relatively small processing performance and relatively small Whether to shift the task from the first multi-core CPU to the second multi-core CPU based on the load monitoring step, the load monitored by the load monitoring step, and the first threshold set in advance, or The task is selected based on the load monitored by the load monitoring step and a second preset threshold value. A task migration determination step of determining whether to migrate from the second multi-core CPU to the first multi-core CPU; and when it is determined in the task migration determination step that the task is to be migrated, the first based on the operating system A task transition control step of performing control to shift a task between the first multi-core CPU and the second multi-core CPU, and the first for the task activated by the first multi-core CPU or the second multi-core CPU Changing at least one of the second threshold and the second threshold in accordance with a preset change content based on the processing time of the task and the power consumption, and performing the task transition determination step, The first threshold or the second threshold is changed by the threshold changing step. If the load first threshold after the change and the load monitored by the monitoring step or task control program for executing a process for determining whether to migrate tasks based on the second threshold.

前項(1)に記載の発明によれば、第1のマルチコアCPUまたは第2のマルチコアCPUで起動されるタスクに対して前記第1の閾値または第2の閾値の少なくとも何れかが、該タスクの処理時間と消費電力とに基づいて予め設定された変更内容に従って変更され、変更後の閾値と負荷とに基づいてタスクを移行させるかどうかが判定され、移行が実行される。   According to the invention described in the preceding paragraph (1), at least one of the first threshold and the second threshold with respect to the task activated by the first multi-core CPU or the second multi-core CPU is the task Based on the processing time and the power consumption, the change is made in accordance with a preset change, and it is determined whether the task is to be transferred based on the changed threshold and the load, and the transfer is performed.

したがって、タスクが第1のマルチコアCPUに割り当てられているが高負荷な処理は必要の無い場合や、タスクが第2のマルチコアCPUに割り当てられているが高負荷な処理が必要であるためにタスクを早期に第1のマルチコアCPUに移行させる必要がある場合に、変更内容に従って閾値を変更することにより、タスクを動作させるべきマルチコアCPUへ早期に移行させたり、移行を抑止したりできるから、タスクに対してマルチコアCPUの特性を十分に発揮させることができる。   Therefore, when the task is assigned to the first multi-core CPU but does not require high-load processing, or because the task is assigned to the second multi-core CPU but requires high-load processing When it is necessary to shift the task to the first multi-core CPU early, changing the threshold according to the change content allows the task to be shifted to the multi-core CPU that should be operated early, or the shift can be suppressed. However, the characteristics of the multi-core CPU can be fully exhibited.

前項(2)に記載の発明によれば、タスクによる負荷に応じて、第1のマルチコアCPUか第2のマルチコアCPUのいずれで起動するかが指定されることにより、指定されたマルチコアCPUのコアで確実にタスクが起動される。   According to the invention described in the preceding paragraph (2), the core of the designated multi-core CPU is designated by designating which of the first multi-core CPU and the second multi-core CPU is to be activated according to the load by the task. The task is started with certainty.

前項(3)に記載の発明によれば、タスクが第2のマルチコアCPUの複数のコアで分割して処理を実施するタスクであり、かつ分割された各タスクによる各コアの負荷が均一でない場合には、各タスクによる処理時間に差が生じることから、第2の閾値を変更することにより第1のマルチCPUに移行しやすくして、第1のマルチCPUでタスクを実行させる。これにより、各タスクの処理時間の差を解消でき、処理時間が早くなる。   According to the invention described in the preceding paragraph (3), the task is a task that is divided and executed by a plurality of cores of the second multi-core CPU, and the load of each core by each divided task is not uniform Since there is a difference in processing time for each task, changing the second threshold makes it easy to shift to the first multi CPU, and causes the first multi CPU to execute the task. Thereby, the difference in processing time of each task can be eliminated, and the processing time can be shortened.

前項(4)に記載の発明によれば、タスクが、スキャンされた画像データを指定されたファイルフォーマットに画像変換処理して送信するスキャン送信ジョブにおける画像変換処理タスクである場合、処理時間や消費電力に影響を及ぼすファイルフォーマットの種類に応じて設定されている変更内容に従って、第1の閾値または第2の閾値の少なくとも何れかが変更される。   According to the invention described in the preceding paragraph (4), when the task is an image conversion processing task in a scan transmission job for converting the scanned image data into a specified file format and transmitting it, the processing time or consumption At least one of the first threshold and the second threshold is changed according to the change set according to the type of file format that affects the power.

前項(5)に記載の発明によれば、ファイルフォーマットがPPTX、CXPS及びCPDFの何れかである場合に、これらのファイルフォーマットへの変換処理は高負荷で処理に時間がかかることから、処理性能に優れた第1のマルチコアCPUで動作するように閾値が変更される。   According to the invention described in the preceding paragraph (5), when the file format is any one of PPTX, CXPS and CPDF, conversion processing to these file formats is high load and processing takes time, so processing performance The threshold value is changed to operate with the first multi-core CPU superior to the above.

前項(6)に記載の発明によれば、ファイルフォーマットがPPTX、CXPS及びCPDFの何れかである画像変換処理タスクについては、第1のマルチコアCPUでの起動が指定されることにより、指定された第1のマルチコアCPUのコアで確実に起動される。   According to the invention described in the preceding paragraph (6), the image conversion processing task whose file format is any of PPTX, CXPS, and CPDF is specified by specifying start-up in the first multi-core CPU. It is reliably activated in the core of the first multi-core CPU.

前項(7)に記載の発明によれば、ファイルフォーマットがJPEG、TIFF及びPDFの何れかである場合に、これらのファイルフォーマットへの変換処理は比較的軽負荷で処理に時間がかからないことから、消費電力の少ない第2のマルチコアCPUで動作するように閾値が変更される。   According to the invention described in the preceding paragraph (7), when the file format is any one of JPEG, TIFF and PDF, conversion processing to these file formats is relatively light load and processing takes less time. The threshold is changed to operate with the second multi-core CPU with low power consumption.

前項(8)に記載の発明によれば、ファイルフォーマットがJPEG、TIFF及びPDFの何れかである画像変換処理タスクについては、第2のマルチコアCPUでの起動が指定されることにより、指定された第2のマルチコアCPUのコアで確実に起動される。   According to the invention described in the preceding paragraph (8), the image conversion processing task whose file format is any one of JPEG, TIFF and PDF is designated by designating activation in the second multi-core CPU. It is surely started by the core of the second multi-core CPU.

前項(9)に記載の発明によれば、ジョブの設定解像度は負荷の大小に影響を及ぼすから、ジョブの設定解像度に応じて閾値の変更内容が設定され、この変更内容に従って第1の閾値または第2の閾値の少なくとも何れかが変更される。   According to the invention described in the preceding paragraph (9), since the set resolution of the job affects the magnitude of the load, the changed contents of the threshold are set according to the set resolution of the job, and the first threshold or At least one of the second thresholds is changed.

前項(10)に記載の発明によれば、タスクが第1のマルチコアCPUに割り当てられているが高負荷な処理は必要の無い場合や、タスクが第2のマルチコアCPUに割り当てられているが高負荷な処理が必要であるためにタスクを早期に第1のマルチコアCPUに移行させる必要がある場合に、変更内容に従って閾値を変更することにより、タスクを動作させるべきマルチコアCPUへ早期に移行させたり、移行を抑止したりできるから、タスクに対してマルチコアCPUの特性を十分に発揮させることができる。   According to the invention described in the previous section (10), the task is assigned to the first multi-core CPU, but high-load processing is not necessary, or the task is assigned to the second multi-core CPU but is high When it is necessary to shift the task to the first multi-core CPU early due to the need for heavy processing, change the threshold according to the change content to shift the task to the multi-core CPU to be operated early Because the transition can be suppressed, the characteristics of the multi-core CPU can be fully exhibited to the task.

前項(11)に記載の発明によれば、タスクが第1のマルチコアCPUに割り当てられているが高負荷な処理は必要の無い場合や、タスクが第2のマルチコアCPUに割り当てられているが高負荷な処理が必要であるためにタスクを早期に第1のマルチコアCPUに移行させる必要がある場合に、変更内容に従って閾値を変更することにより、タスクを動作させるべきマルチコアCPUへ早期に移行させたり、移行を抑止したりできるから、タスクに対してマルチコアCPUの特性を十分に発揮させることができる処理を、画像形成装置のCPUに実行させることができる。   According to the invention described in the previous section (11), the task is assigned to the first multi-core CPU but high-load processing is not necessary, or the task is assigned to the second multi-core CPU but is high When it is necessary to shift the task to the first multi-core CPU early due to the need for heavy processing, change the threshold according to the change content to shift the task to the multi-core CPU to be operated early Since the transition can be suppressed, it is possible to cause the CPU of the image forming apparatus to execute processing capable of sufficiently exhibiting the characteristics of the multi-core CPU with respect to the task.

この発明の一実施形態に係る画像形成装置の構成を示すブロック図である。FIG. 1 is a block diagram showing the configuration of an image forming apparatus according to an embodiment of the present invention. (A)〜(C)はCPUの構成と基本動作を説明するための図である。(A)-(C) are the figures for demonstrating the structure and basic operation | movement of CPU. 通常時におけるタスクによる負荷と閾値との関係を説明するための図である。It is a figure for demonstrating the relationship of the load and threshold value by the task at the time of normal times. 閾値の変更についての説明図である。It is an explanatory view about change of a threshold. 画像変換処理タスクについて、処理時間と消費電力とに基づいて設定された閾値の変更内容を示す表である。It is a table | surface which shows the change content of the threshold value set based on processing time and power consumption about an image conversion process task. CPUの機能ブロック図である。It is a functional block diagram of CPU. タスク移行判定処理を示すフローチャートである。It is a flowchart which shows a task transfer determination process. 図7のステップS02の第1のタスク判定処理の内容を示すフローチャートである。It is a flowchart which shows the content of the 1st task determination processing of FIG.7 S02. 図7のステップS03の第2のタスク判定処理の内容を示すフローチャートである。It is a flowchart which shows the content of the 2nd task determination processing of FIG.7 S03.

以下、この発明の実施形態を図面に基づいて説明する。   Hereinafter, an embodiment of the present invention will be described based on the drawings.

図1はこの発明の一実施形態に係る画像形成装置1の構成を示すブロック図である。この実施形態では、画像形成装置1として、前述した多機能デジタル複合機であるMFPが用いられている。以下、画像形成装置をMFPともいう。   FIG. 1 is a block diagram showing the configuration of an image forming apparatus 1 according to an embodiment of the present invention. In this embodiment, as the image forming apparatus 1, an MFP, which is the multi-function digital multifunction peripheral described above, is used. Hereinafter, the image forming apparatus is also referred to as an MFP.

画像形成装置1は、ROM12、RAM13、スキャナ部14、記憶部15、プリンタ部16、操作パネル17、ネットワークインターフェース(ネットワークI/F)18、USBインターフェース(USBI/F)19及び画像処理ASIC20等を備え、これらはバスを介してCPU11に接続されている。   The image forming apparatus 1 includes a ROM 12, a RAM 13, a scanner unit 14, a storage unit 15, a printer unit 16, an operation panel 17, a network interface (network I / F) 18, a USB interface (USB I / F) 19 and an image processing ASIC 20. These are connected to the CPU 11 via a bus.

前記CPU11は、画像形成装置1の全体を統括制御し、コピー機能、プリンタ機能、スキャン機能、ファクシミリ機能等の基本機能を使用可能に制御する。CPU11は、OS(オペーレーティングシステム)を実行することにより機能的に構成されるタスク移行制御部111及び負荷監視部112と、アプリケーション(MFPアプリ)を実行することにより機能的に構成されるタスク移行判定部113、タスク起動コア判定部114及び閾値変更部115を備えている。これらについては後述する。   The CPU 11 integrally controls the entire image forming apparatus 1 and controls to use basic functions such as a copy function, a printer function, a scan function, and a facsimile function. The CPU 11 is a task transition control unit 111 and a load monitoring unit 112 that are functionally configured by executing an OS (operating system), and a task that is functionally configured by executing an application (MFP application) A transition determination unit 113, a task activation core determination unit 114, and a threshold change unit 115 are provided. These will be described later.

ROM12はCPU11の動作プログラム等を格納するメモリである。   The ROM 12 is a memory for storing an operation program of the CPU 11 and the like.

RAM13は、CPU11が動作プログラムに基づいて動作する際の作業領域を提供するメモリである。   The RAM 13 is a memory that provides a work area when the CPU 11 operates based on the operation program.

スキャナ部14は、原稿台(図示せず)に置かれた原稿の画像を読み取り、画像データを出力する読み取り手段である。   The scanner unit 14 is a reading unit that reads an image of a document placed on a document table (not shown) and outputs image data.

記憶部15は、例えばハードディスクドライブ(HDD)などの不揮発性の記憶デバイスにより構成されており、OS、MFPアプリ、スキャナ部14でスキャンされた原稿の画像データ等が記憶されているほか、この実施形態では、後述する第1の閾値及び第2の閾値をタスクの処理時間と消費電力とに基づいて変更するための変更内容を予め規定したテーブルが記憶されている。   The storage unit 15 is composed of, for example, a non-volatile storage device such as a hard disk drive (HDD), and stores the OS, the MFP application, the image data of the document scanned by the scanner unit 14, etc. In the form, a table is stored in which change contents for changing the first threshold and the second threshold described later based on the task processing time and the power consumption are defined in advance.

プリンタ部16は、スキャナ部14でスキャンされた原稿の画像データや外部からのプリントデータ等を、指示されたモードに従って印刷するものである。   The printer unit 16 prints the image data of the document scanned by the scanner unit 14 and the print data from the outside according to the instructed mode.

操作パネル17は、各種入力操作等のために使用されるものであり、メッセージや操作画面等を表示するタッチパネル式液晶等からなる表示部171と、テンキー、スタートキー、ストップキー等を備えた操作部172を備えている。   The operation panel 17 is used for various input operations and the like, and an operation provided with a display unit 171 comprising a touch panel liquid crystal or the like for displaying a message, an operation screen and the like, a ten key, a start key, a stop key and the like. A unit 172 is provided.

ネットワークI/F18は、ネットワーク上の他の画像形成装置や、その他の外部機器例えばユーザー端末等との間での通信を制御することにより、データの送受信を行うものである。   The network I / F 18 transmits and receives data by controlling communication with another image forming apparatus on the network and another external device such as a user terminal.

USBI/F19は、USBメモリ(図示せず)を接続するための接続部であり、画像処理ASIC(Application Specific Integrated Circuit)20は画像処理を行う回路である。   A USB I / F 19 is a connection unit for connecting a USB memory (not shown), and an image processing ASIC (Application Specific Integrated Circuit) 20 is a circuit that performs image processing.

CPU11は、図2(A)に示すように、第1のマルチコアCPU(bigクラスタともいう)115と第2のマルチコアCPU(LITTLEクラスタともいう)116が、SoCと称されるように一つの半導体チップに実装されてなる。第1のマルチコアCPU115は消費電力は大きいが処理能力が高いCPUであり、第2のマルチコアCPU116は消費電力は第1のCPU115よりも相対的に小さいが処理能力が相対的に低いCPUである。   As shown in FIG. 2A, the CPU 11 is a single semiconductor in which a first multi-core CPU (also referred to as a big cluster) 115 and a second multi-core CPU (also referred to as a LITTLE cluster) 116 are referred to as SoC. It is mounted on a chip. The first multi-core CPU 115 is a CPU with high power consumption but high processing power, and the second multi-core CPU 116 is a CPU with relatively low power consumption but relatively low processing power than the first CPU 115.

また、第1のマルチコアCPU115は4個のコア(bigコアともいう)115a〜115dを備えており、第2のマルチコアCPU116は、第1のマルチコアCPU115の各コア115a〜115dと対になった4個のコア(LITTLEコアともいう)116a〜116dを備えている。この実施形態では、各マルチコアCPU115、116の全てのコアがONとなるマルチプロセッシングモデルが適用され、特に、OSのスケジューラーが負荷に応じて第1のマルチコアCPU115及び第2のマルチコアCPU116の全てのコアを対象としてタスクを振り分ける前述のGTSが適用される。   In addition, the first multi-core CPU 115 includes four cores (also referred to as big cores) 115 a to 115 d, and the second multi-core CPU 116 is paired with each core 115 a to 115 d of the first multi-core CPU 115 4 Each core (also referred to as LITTLE core) 116a to 116d is provided. In this embodiment, a multiprocessing model in which all cores of each multicore CPU 115 and 116 are ON is applied, and in particular, the scheduler of the OS according to the load all cores of the first multicore CPU 115 and the second multicore CPU 116 The above-mentioned GTS, which distributes tasks for the above, is applied.

マルチプロセッシングモデルでは、OSから見えるコアは図2(A)に示すように8個である。図2(A)では、各タスクの割り当てが、処理性能は低いが消費電力の小さい第2のマルチコアCPU116のコア116a〜116dに対して行われている状態を示しており、例えば第2のマルチコアCPU116のコア116aの負荷が、予め設定されている閾値に達すると、OSに基づいて、コア116aで動作するタスクの一部または全部が第1のマルチコアCPU115のコア115a等に移行するようになっている。   In the multiprocessing model, there are eight cores visible to the OS as shown in FIG. FIG. 2A shows a state in which each task is assigned to the cores 116a to 116d of the second multicore CPU 116 having low processing performance but low power consumption, for example, the second multicore When the load on the core 116a of the CPU 116 reaches a preset threshold, some or all of the tasks operating on the core 116a are transferred to the core 115a or the like of the first multicore CPU 115 based on the OS ing.

図2(A)は、複数のタスクが第2のマルチコアCPU116のコア116a〜116dに割り当てられている。コア116aにはプリント制御タスク(「プリント」と記している)が割り当てられ、コア116bには割込み処理タスク(「割込み」と記している)が割り当てられ、コア116cには、画像をスキャンすることにより得られた画像データを所定宛先に送信するスキャンジョブを制御するためのスキャン制御タスク(「スキャン」と記している)が割り当てられている。   In FIG. 2A, a plurality of tasks are assigned to the cores 116 a to 116 d of the second multi-core CPU 116. The core 116a is assigned a print control task (denoted "print"), the core 116b is assigned an interrupt processing task (denoted "interrupt"), and the core 116c is to scan an image. A scan control task (denoted as "scan") for controlling a scan job for transmitting image data obtained by the above to a predetermined destination is assigned.

また、同一のタスクであっても複数のコアで起動し、一定の間隔で同期を取りながら処理を実施するタスク構成が採られる場合がある。この実施形態では、ページ記述言語であるPostScriptで記述されたデータを、印刷や表示が可能なビットマップデータに展開するRIP処理タスクについては、コア116aとコア116bにまたがってタスクが割り当てられている。具体的にはコア116aに第1のRIP処理タスク(RIP処理タスク1)、コア116bに第2のRIP処理タスク(RIP処理タスク2)というタスクを生成し、処理単位である2つのバンドデータの前半部分をコア116aのRIP処理タスク1が、後半部分をコア116bのRIP処理タスク2がそれぞれ別々に処理を行うとともに、RIP処理タスク1によるRIP処理1とRIP処理タスク2によるRIP処理2の完了の同期をとり、上位モジュールがいずれの処理も完了と判断したら、それぞれの処理結果を結合したデータを次処理へと転送し、次のバンドデータのRIP処理を行う。   Moreover, even if it is the same task, the task structure which starts with several cores and implements a process while synchronizing at fixed intervals may be employ | adopted. In this embodiment, for the RIP processing task for expanding data described in PostScript, which is a page description language, into bitmap data that can be printed or displayed, tasks are assigned across the core 116 a and the core 116 b. . Specifically, a task called a first RIP processing task (RIP processing task 1) is generated in the core 116a and a task called a second RIP processing task (RIP processing task 2) is generated in the core 116b. The first half is processed separately by the RIP processing task 1 of the core 116a, and the second half is separately processed by the RIP processing task 2 of the core 116b, and the RIP processing 1 by the RIP processing task 1 and the RIP processing 2 by the RIP processing task 2 are completed. When the upper module determines that any processing is completed, the data combining the processing results is transferred to the next processing, and the RIP processing of the next band data is performed.

さらにこの実施形態では、スキャンされた画像データを、ユーザー等によって指定されたPDFやJPEG等のファイルフォーマットに変換する画像変換処理タスクについても、コア116cとコア116dにまたがってタスクが割り当てられている。具体的にはコア116cに第1の画像変換処理タスク(画像変換処理タスク1)、コア116dに第2の画像変換処理タスク(画像変換処理タスク2)というタスクを生成し、処理単位の画像データの半分をコア116cの画像変換処理タスク1が、他の半分をコア116dの画像変換処理タスク2がそれぞれ別々に処理を行うとともに、画像変換処理タスク1による画像変換処理1と画像変換処理タスク2による画像変換処理2の完了の同期をとり、上位モジュールがいずれの処理も完了と判断したら、それぞれの処理結果を結合した画像データをデータ格納領域である記憶部15等へ格納し、次の画像データの画像変換処理を行う。   Furthermore, in this embodiment, tasks are assigned to the image conversion processing task for converting scanned image data into a file format such as PDF or JPEG specified by a user or the like, across the cores 116c and 116d. . Specifically, a task called a first image conversion processing task (image conversion processing task 1) is generated in the core 116c, and a second image conversion processing task (image conversion processing task 2) is generated in the core 116d. The image conversion processing task 1 of the core 116c and the other half of the image conversion processing task 2 of the core 116d separately perform the image conversion processing task 1 and the image conversion processing task 2 by the image conversion processing task 1, respectively. Synchronize the completion of the image conversion process 2 by the above, and if the upper module determines that any process is completed, store the image data combining the respective process results in the storage unit 15 etc. which is a data storage area, and the next image Perform image conversion processing of data.

図2(A)において、スキャン動作が開始されると図2(B)に示すように、スキャン制御タスクと画像変換処理タスクが起動する。プリント制御タスクとRIP処理タスクは動作していない。なお、図2では動作しているタスクにハッチングを付している。   In FIG. 2A, when the scanning operation is started, as shown in FIG. 2B, a scan control task and an image conversion processing task are activated. Print control task and RIP process task are not working. In FIG. 2, the operating task is hatched.

例えば所定のファイルフォーマットに変換されたデータの送信(スキャン送信)が開始され、タスクによるコアの負荷が予め設定された閾値に達すると、タスクの一部あるいは全部が第1のマルチコアCPU115に移行する。この実施形態では、図2(C)に示すように画像変換処理タスクが第1のマルチコアCPU115のコア115c及び115dに移行するものとなされている。   For example, transmission of data converted to a predetermined file format (scan transmission) is started, and when the core load by the task reaches a preset threshold, part or all of the task is transferred to the first multi-core CPU 115 . In this embodiment, as shown in FIG. 2C, the image conversion processing task is shifted to the cores 115c and 115d of the first multi-core CPU 115.

このとき、画像変換処理の負荷が高かったとOSが判断すると、次回の画像変換処理タスクは第1のマルチコアCPU115のコア115c及び115dで起動することが指定される。   At this time, when the OS determines that the load of the image conversion processing is high, it is specified that the next image conversion processing task is started by the cores 115 c and 115 d of the first multi-core CPU 115.

ここで、OSによるタスクの移行制御は、基本的に第2のマルチコアCPU116から第1のマルチコアCPU115側へ移行しやすいようになっている。具体的には、図3(A)に示すように、第2のマルチコアCPU116での処理負荷(Load ave.)が増大して第2の閾値L2に達すると、第1のマルチコアCPU115に移行するが、第2の閾値L2は比較的小さい値に設定されている。一方、第1のマルチコアCPU115では、処理負荷(Load ave.)が減少して第1の閾値L1に達すると、第2のマルチコアCPU116に移行するが、容易に移行しないように第1の閾値L1はさらに小さい値に設定されている。このような構成は、PPTX(Microsoft社のOffice PowerPoinによる作成ファイル)、コンパクトXPS(CXPSと記す。XPS:XML Paper Specification)及びCPDF等のファイルフォーマットへの変換処理や、400dpi以上の設定解像度の処理等の高負荷の処理を実施する際には有効であるが、JPEG、TIFF及びPDF等のファイルフォーマットへの変換処理のような比較的軽い負荷の処理を行う際には、移行処理が足かせになってしまったり、第1のマルチコアCPU115で処理を行うために消費電力よりも性能(処理時間)が優先された状態になってしまう。   Here, task transition control by the OS is basically easy to shift from the second multi-core CPU 116 to the first multi-core CPU 115 side. Specifically, as shown in FIG. 3A, when the processing load (Load ave.) In the second multi-core CPU 116 increases and reaches the second threshold L2, it shifts to the first multi-core CPU 115 However, the second threshold L2 is set to a relatively small value. On the other hand, in the first multi-core CPU 115, when the processing load (Load ave.) Decreases and reaches the first threshold L1, the first multi-core CPU 116 is shifted to the second multi-core CPU 116, but is not shifted easily. Is set to a smaller value. Such a configuration is converted to a file format such as PPTX (a file created by Microsoft Office PowerPoin), compact XPS (referred to as XPS), XPS: XML Paper Specification (CXPS), CPDF, etc., and processing for setting resolution of 400 dpi or more While it is effective when carrying out high-load processing such as, etc., when carrying out relatively light-load processing such as conversion processing to file formats such as JPEG, TIFF and PDF In order to perform processing in the first multi-core CPU 115, performance (processing time) is prioritized over power consumption.

そこで、この実施形態では、処理時間と消費電力とに基づいて予め設定された変更内容に従って、画像変換処理タスクに対し前述の第1の閾値L1と第1の閾値L2の少なくとも一方を変更するようになっている。   Therefore, in this embodiment, at least one of the first threshold L1 and the first threshold L2 described above is changed with respect to the image conversion processing task according to the change contents set in advance based on the processing time and the power consumption. It has become.

基本的な考え方としては、例えばスキャン送信ジョブにおいて、JPEG、TIFF及びPDFといったファイルフォーマットへの変換処理が、第2のマルチコアCPU116で起動した場合は、第2の閾値を大きくして第1のマルチコアCPU115へのタスク移行を抑止することで、消費電力を少なくする。   As a basic idea, for example, when the conversion processing to a file format such as JPEG, TIFF, and PDF is activated by the second multicore CPU 116 in the scan transmission job, the second threshold is increased to make the first multicore By suppressing task migration to the CPU 115, power consumption is reduced.

また、起動コアが第1のマルチコアCPU115側である場合は、第2のマルチコアCPU116のコアを起動コアに指定する。   When the boot core is on the first multicore CPU 115 side, the core of the second multicore CPU 116 is designated as the boot core.

ただし、該当タスクが既にマルチコアCPU116で起動済みであり、かつ複数コアで処理を実施しており、その複数コアに対する処理負荷が均一でない場合は、軽負荷の処理であってもマルチコアCPU115へ移行しやすいように第2の閾値L2を1段階小さくし、マルチコアCPU115に処理させることにより処理時間を短縮する。   However, if the corresponding task has already been started by the multi-core CPU 116 and the processing is performed by multiple cores, and the processing load on the multiple cores is not uniform, transfer to the multi-core CPU 115 even for light load processing The second threshold L 2 is reduced by one step for easy processing, and the processing time is shortened by causing the multi-core CPU 115 to process.

また、JPEG、TIFF及びPDFといったファイルフォーマットへの変換処理が、第1のマルチコアCPU115で動作している場合は、図4に示すように、第1の閾値L1を大きくして第2のマルチコアCPU115への移行を促進することで、消費電力を少なくする。   In addition, when the conversion process to a file format such as JPEG, TIFF, and PDF is operating on the first multi-core CPU 115, as shown in FIG. 4, the first threshold L1 is increased to make the second multi-core CPU 115 Reduce power consumption by promoting the transition to

一方、スキャン送信ジョブにおいて、PPTX、CXPS及びCPDFといったファイルフォーマットへの画像変換処理の起動コアが第2のマルチコアCPU116側である場合は、第1のマルチコアCPU115のコアを起動コアに指定する。第2のマルチコアCPU116で既に起動している場合は、第2の閾値L2を小さくして第1のマルチコアCPU115へのタスク移行を促進することで、処理時間の短縮を図る。   On the other hand, when the start core of the image conversion process to a file format such as PPTX, CXPS, and CPDF is on the side of the second multicore CPU 116 in the scan transmission job, the core of the first multicore CPU 115 is designated as the start core. When the second multi-core CPU 116 is already activated, the second threshold L2 is reduced to promote task migration to the first multi-core CPU 115, thereby shortening the processing time.

閾値の変更内容を示す表を図5に示す。この例では、処理時間と消費電力は画像変換処理タスクによる負荷に依存し、負荷は画像変換処理タスクのファイルフォーマットと設定解像度とに依存することから、ファイルフォーマットと設定解像度を基に閾値の変更内容が規定されている。設定解像度は200dpi、300dpi、400dpi、600dpiが例示されているが、これに限定されることはない。   A table showing changes in the threshold is shown in FIG. In this example, the processing time and power consumption depend on the load by the image conversion processing task, and the load depends on the file format and setting resolution of the image conversion processing task, so changing the threshold based on the file format and setting resolution The content is defined. The setting resolution is exemplified by 200 dpi, 300 dpi, 400 dpi, and 600 dpi, but is not limited thereto.

図5において、ファイルフォーマットがCXPS、PPTXの場合は、設定解像度にかかわらず第1のマルチコアCPU115側(big側)で起動されるとともに、第1のマルチコアCPU115で処理をしやすいように第1の閾値L1が変更される設定がなされている。ファイルフォーマットがCPDFの場合は設定解像度が400dpi以上の場合にのみ、ファイルフォーマットがXPSの場合は設定解像度が600dpi以上の場合にのみ、第1のマルチコアCPU115側で起動されるとともに、第1のマルチコアCPU115で処理をしやすいように第1の閾値L1が変更される設定がなされている。   In FIG. 5, when the file format is CXPS or PPTX, the first multi-core CPU 115 (big side) is activated regardless of the set resolution, and the first multi-core CPU 115 facilitates processing. The threshold L1 is set to be changed. When the file format is CPDF, the first multi-core CPU 115 is activated only when the setting resolution is 400 dpi or higher, and when the file format is XPS, the first multi-core CPU 115 side only when the setting resolution is 600 dpi or higher. In order to facilitate the processing by the CPU 115, the first threshold L1 is set to be changed.

ファイルフォーマットがCPDFで設定解像度が300dpiの場合や、ファイルフォーマットがXPSで設定解像度が400dpi及び300dpiの場合は、第1のマルチコアCPU115で処理をしやすいように、起動された側のマルチコアCPUでの閾値が変更される。ファイルフォーマットがCPDFやXPSで設定解像度が200dpiの場合や、ファイルフォーマットがPDFで設定解像度が600dpiの場合は、閾値の変更はない。   If the file format is CPDF and the setting resolution is 300 dpi, or if the file format is XPS and the setting resolution is 400 dpi and 300 dpi, the first multi-core CPU 115 can easily process the multi-core CPU on the activated side. The threshold is changed. If the file format is CPDF or XPS and the setting resolution is 200 dpi, or if the file format is PDF and the setting resolution is 600 dpi, there is no change in the threshold.

ファイルフォーマットがPDFで設定解像度が400dpi及び300dpiの場合や、ファイルフォーマットがTIFFおよびJPEGで設定解像度が600dpiの場合は、第2のマルチコアCPU116側(LITTLE側)で処理をしやすいように、起動された側のマルチコアCPUでの閾値が変更される。   When the file format is PDF and the setting resolution is 400 dpi and 300 dpi, or when the file format is TIFF and JPEG and the setting resolution is 600 dpi, the second multicore CPU 116 (LITTLE side) is activated to facilitate processing. The threshold on the other multi-core CPU is changed.

ファイルフォーマットがPDFで設定解像度が200dpiの場合、ファイルフォーマットがTIFFおよびJPEGで設定解像度が400dpi以下の場合は、第2のマルチコアCPU116側で起動されるとともに、第2のマルチコアCPU116で処理をしやすいようにつまり第1のマルチコアCPU115に移行しないように、第2の閾値L2が変更される。   When the file format is PDF and the setting resolution is 200 dpi, and when the file format is TIFF and JPEG and the setting resolution is 400 dpi or less, the second multi-core CPU 116 is activated and the second multi-core CPU 116 easily processes In other words, the second threshold L2 is changed so as not to shift to the first multi-core CPU 115.

なお、図示は省略したが各閾値の変更量も予め設定されている。   Although not shown, the amount of change of each threshold is also preset.

このようにこの実施形態では、処理時間及び消費電力に関係するファイルフォーマットと解像度に応じて、画像変換処理タスクに対する閾値の変更内容が設定されているが、ファイルフォーマットのみに基づいて変更内容が規定されても良い。例えば、ファイルフォーマットがPPTX、CXPS、CPDFの場合は、第1のマルチコアCPU115で処理をしやすいように、起動された側のマルチコアCPUでの閾値が変更される設定とし、ファイルフォーマットがPDF、TIFFおよびJPEGの場合は、第2のマルチコアCPU115で処理をしやすいように、起動された側のマルチコアCPUでの閾値が変更される設定とし、ファイルフォーマットがXPSの場合は閾値を変更しない設定としても良い。   As described above, in this embodiment, the change content of the threshold for the image conversion processing task is set according to the file format and the resolution related to the processing time and the power consumption, but the change content is defined based only on the file format. It may be done. For example, when the file format is PPTX, CXPS, or CPDF, the threshold value of the activated multi-core CPU is changed so that processing is easily performed by the first multi-core CPU 115, and the file format is PDF, TIFF In the case of JPEG and JPEG, the threshold on the activated multi-core CPU is changed so that processing can be easily performed by the second multi-core CPU 115, and in the case where the file format is XPS, the threshold is not changed. good.

ただし、ファイルフォーマットの種類に加えて設定解像度をも判定要素に加えることで、さらにきめ細かい制御が可能となる。また、ファイルフォーマットの種類ではなく、設定解像度のみに応じて閾値の変更内容を設定しても良い。   However, by adding the setting resolution to the determination factor in addition to the type of file format, finer control becomes possible. Also, the change contents of the threshold may be set according to only the set resolution, not the type of file format.

設定された閾値の変更内容は記憶部15などに保存されており、タスク移行判定制御の際に、タスクに応じた変更内容が呼び出され、該変更内容に応じて閾値が変更される。   The changed contents of the set threshold are stored in the storage unit 15 or the like, and in the task transition determination control, the changed contents according to the task are called, and the threshold is changed according to the changed contents.

このように、この実施形態では、タスクが第1のマルチコアCPU115に割り当てられているが高負荷な処理は必要の無い場合や、タスクが第2のマルチコアCPU116に割り当てられているが高負荷な処理が必要であるためにタスクを早期に第1のマルチコアCPU115に移行させる必要がある場合に、変更内容に従って閾値を変更することにより、タスクを動作させるべきマルチコアCPUへ早期に移行させたり、移行を抑止したりできるから、タスクに対してマルチコアCPUの特性を十分に発揮させることができる。   Thus, in this embodiment, the task is assigned to the first multi-core CPU 115 but high-load processing is not required, or the task is assigned to the second multi-core CPU 116 but high-load processing When it is necessary to shift the task to the first multi-core CPU 115 early because of the need to change the threshold according to the contents of the change, it is possible to shift the task to the multi-core CPU that should be operated early. Since it can be suppressed, it is possible to make the task fully exhibit the characteristics of the multi-core CPU.

図6にCPU11の機能ブロック図を示す。前述したように、CPU11はOSを実行することにより機能的に構成されるタスク移行制御部111及び負荷監視部112と、MFPアプリを実行することにより機能的に構成されるタスク移行判定部113、タスク起動コア判定部114及び閾値変更部115を備えている。   A functional block diagram of the CPU 11 is shown in FIG. As described above, the CPU 11 executes the OS to execute the task transition control unit 111 and the load monitoring unit 112, and the task transition determination unit 113 configured to execute the MFP application. The task activation core determination unit 114 and the threshold change unit 115 are provided.

タスク移行制御部111は、タスク移行判定部113によりタスクを他方のマルチコアCPUのコアへ移行させると判定された場合の移行制御を行う。   The task migration control unit 111 performs migration control when the task migration determination unit 113 determines that the task is to be migrated to the core of the other multi-core CPU.

負荷監視部112は、第1のマルチコアCPU115と第2のマルチコアCPU116における各コアのタスクによる負荷を監視する。   The load monitoring unit 112 monitors the load due to the task of each core in the first multicore CPU 115 and the second multicore CPU 116.

タスク移行判定部114は、負荷監視部112により監視されるコアの負荷と予め設定されている第1の閾値L1、第2の閾値L2とに基づいて、負荷が閾値に達したコアのタスクを他方のマルチコアCPUのコアへ移行させるかどうかを判定する。また、例えばスキャン送信ジョブにおける画像変換処理のファイルフォーマットがCXPS、PPTXの場合のように、投入されたジョブのタスクによる負荷が大きい場合は、第1のマルチコアCPU115でそのタスクを起動するように指定したり、TIFFおよびJPEGで設定解像度が400dpi以下の場合のように、投入されたジョブのタスクによる負荷が小さい場合は、第2のマルチコアCPU116でそのタスクを起動するように指定する。   The task transition determination unit 114 determines the task of the core whose load has reached the threshold based on the load of the core monitored by the load monitoring unit 112 and the first threshold L1 and the second threshold L2 set in advance. Determine whether to move to the core of the other multi-core CPU. In addition, for example, when the file format of the image conversion processing in scan transmission job is CXPS or PPTX, when the load by the task of the input job is large, the first multi-core CPU 115 is instructed to start the task. If the load by the task of the input job is small, as in the case where the set resolution is 400 dpi or less in TIFF and JPEG, the second multi-core CPU 116 is specified to start the task.

タスク起動コア判定部114はタスクを起動するコアを判定し、この判定に基づいてタスクが該コアで起動される。   The task activation core determination unit 114 determines a core that activates a task, and based on this determination, the task is activated in the core.

閾値変更部115は、第1のマルチコアCPU116における第1の閾値L1または第2のマルチコアCPU116における第2の閾値L2の一方または両方を、必要に応じて変更する。   The threshold changing unit 115 changes one or both of the first threshold L1 of the first multi-core CPU 116 and the second threshold L2 of the second multi-core CPU 116 as necessary.

図7はタスクの移行判定処理の一例を示すフローチャートである。この処理は、CPU11がOS及びMFPアプリに従って動作することにより実行される。   FIG. 7 is a flowchart showing an example of the task transition determination process. This process is executed by the CPU 11 operating according to the OS and the MFP application.

この実施形態ではタスクがスキャン送信ジョブの画像変換処理タスクであり、該タスクが第2のマルチコアCPU116のコアで起動するものとなされている。   In this embodiment, the task is an image conversion processing task of a scan transmission job, and this task is supposed to be activated by the core of the second multi-core CPU 116.

ステップS01では、第2のマルチコアCPU116の各コアのタスクによる負荷を監視し、ステップS02で第1のタスク判定処理を実行する。移行すると判定された場合は、タスクを移行したのち、ステップS01に戻る。移行しないと判定された場合は、ステップS03で第2の移行判定処理を実施したのち、ステップS01に戻る。   In step S01, the load by the task of each core of the second multi-core CPU 116 is monitored, and in step S02, the first task determination process is executed. If it is determined to shift, after shifting the task, the process returns to step S01. If it is determined not to shift, the second shift determination process is performed in step S03, and then the process returns to step S01.

図8は、図7のステップS02の第1のタスク移行判定処理の内容を示すフローチャートである。   FIG. 8 is a flowchart showing the contents of the first task transition determination process of step S02 of FIG.

ステップS021では、直ちに第1のマルチコアCPU115への移行が必要な負荷かどうか、換言すれば図5の表における◎が付されたファイルフォーマット及び設定解像度のタスクかどうかを判定し、直ちに第1のマルチコアCPU115への移行が必要な負荷でなければ、ステップS03に進み、直ちに第1のマルチコアCPU115への移行が必要な負荷であれば、ステップS022で、タスク移行制御部111に対して第1のマルチコアCPU115へのタスクの移行(タスクの起動)を指示したのち、ステップS01に戻る。この指示に従い、タスク移行制御部111はタスクを第1のマルチコアCPU115へ移行する。   In step S 021, it is immediately determined whether it is a load that requires migration to the first multi-core CPU 115, in other words, whether it is a task with the file format and setting resolution indicated by ◎ in the table of FIG. If the load does not require migration to the multi-core CPU 115, the process proceeds to step S03. If the load requires migration to the first multi-core CPU 115 immediately, the first task migration control unit 111 is selected in step S022. After instructing task migration (task activation) to the multi-core CPU 115, the process returns to step S01. In accordance with this instruction, the task transfer control unit 111 transfers the task to the first multi-core CPU 115.

図9は、図7のステップS03の第2のタスク移行判定処理の内容を示すフローチャートである。   FIG. 9 is a flowchart showing the contents of the second task transition determination process of step S03 of FIG.

ステップS031で、当該タスクは複数コアで分割して動作するコアかどうかを判定し、複数コアで分割して動作するコアでなければ(ステップS031でNO)、ステップS01に戻る。複数コアで分割して動作するコアであれば(ステップS031でYES)、ステップS032に進む。   In step S031, it is determined whether the task is a core that operates by being divided by multiple cores, and if it is not a core that is operated by dividing by multiple cores (NO in step S031), the process returns to step S01. If it is a core which is divided and operated by a plurality of cores (YES in step S031), the process proceeds to step S032.

ステップS032では、負荷は各コアで均一かどうかを判定し、均一であれば(ステップS032でYES)、ステップS01に戻る。均一でなければ(ステップS032でNO)、ステップS033に進む。   In step S032, it is determined whether the load is uniform in each core. If uniform (YES in step S032), the process returns to step S01. If not uniform (NO in step S032), the process proceeds to step S033.

ステップS033では、設定されたジョブはスキャン送信ジョブかどうかを判定し、スキャン送信ジョブでなければ(ステップS033でNO)、ステップS01に戻る。スキャン送信ジョブであれば(ステップS033でYES)、ステップS034に進む。   In step S033, it is determined whether the set job is a scan transmission job, and if it is not a scan transmission job (NO in step S033), the process returns to step S01. If it is a scan transmission job (YES in step S033), the process advances to step S034.

ステップS034では、ファイルフォーマットと設定解像度との関係から、画像変換タスクが図5の表のいずれに該当するか判定する。   In step S034, it is determined which of the tables in FIG. 5 the image conversion task corresponds to from the relationship between the file format and the set resolution.

タスクが「〇」に該当する場合は、ステップS035で、当該タスクが第1のマルチコアCPU115に移行しやすいように、第2の閾値を変更した後、ステップS037で、必要に応じて次回の起動タスクを第1のマルチコアCPU115側に設定し、ステップS01に戻る。   If the task corresponds to “〇”, the second threshold is changed in step S035 so that the task can easily shift to the first multi-core CPU 115, and then in step S037, the next activation as necessary The task is set to the first multicore CPU 115 side, and the process returns to step S01.

ステップS034でタスクが「−」に該当する場合は、閾値を変更することなくステップS01に戻る。   If the task corresponds to "-" in step S034, the process returns to step S01 without changing the threshold value.

ステップS034でタスクが「△」または「・」に該当する場合は、ステップS037で、当該タスクが第2のマルチコアCPU116側で動作しやすいように、第2の閾値を変更した後、ステップS038で、必要に応じて次回の起動タスクを第2のマルチコアCPU116側に設定し、ステップS01に戻る。   If the task corresponds to “Δ” or “·” in step S034, the second threshold is changed in step S037 so that the task can easily operate on the second multicore CPU 116 side, and then in step S038 Then, if necessary, the next boot task is set to the second multicore CPU 116, and the process returns to step S01.

以上、本発明の一実施形態を説明したが、本発明は上記実施形態に限定されることはない。   As mentioned above, although one Embodiment of this invention was described, this invention is not limited to the said embodiment.

例えば、タスクがスキャン送信ジョブにおける画像変換処理タスクである場合について説明したが、タスクはこれに限定されることはなく、ハードディスクのない画像形成装置におけるRIP処理や画像変換処理タスクは、第2のマルチコアCPU116で動作しやすいように第1の閾値及び/または第2の閾値を変更して消費電力を優先し、RIP/画像変換メモリ共有の場合は第1のマルチコアCPU115で動作しやすいように第1の閾値及び/または第2の閾値を変更して処理時間を優先してもよい。   For example, although the case where the task is the image conversion processing task in the scan transmission job has been described, the task is not limited to this, and the RIP processing and the image conversion processing task in the image forming apparatus without the hard disk are the second The first threshold and / or the second threshold are changed to make it easy to operate on the multi-core CPU 116 to prioritize power consumption, and in the case of sharing the RIP / image conversion memory, to make the first multi-core CPU 115 easy to operate The threshold of 1 and / or the second threshold may be changed to prioritize the processing time.

また、図9のステップS031及びステップ032の判断は必ずしも行わなくても良いし、ステップS032で、負荷が各コアで均一でない場合(ステップS032でNO)、直ちにタスクを第1のマルチコアCPU115に移行させる構成であっても良い。   Further, the determinations in step S031 and step 032 in FIG. 9 may not necessarily be performed, and if the load is not uniform in each core in step S032 (NO in step S032), the task is immediately transferred to the first multi-core CPU 115 It may be configured to

1 画像形成装置
11 CPU
12 ROM
13 RAM
14 スキャナ部
15 記憶部
17 操作部
111 タスク移行制御部
112 負荷監視部
113 タスク移行判定部
115 閾値変更部
1 Image forming apparatus 11 CPU
12 ROM
13 RAM
14 scanner unit 15 storage unit 17 operation unit 111 task transition control unit 112 load monitoring unit 113 task transition determination unit 115 threshold change unit

Claims (11)

複数のコアを有する第1のマルチコアCPUと、
前記第1のマルチコアCPUと同一のチップに実装されるとともに、複数のコアを有し、前記第1のマルチコアCPUよりも消費電力が相対的に小さく処理性能が相対的に低い第2のマルチコアCPUと、
オペレーティングシステムに基づき、前記第1のマルチコアCPUと第2のマルチコアCPUにおけるタスクによる負荷を監視する負荷監視手段と、
前記負荷監視手段により監視される負荷と予め設定された第1の閾値とに基づいて、タスクを前記第1のマルチコアCPUから第2のマルチコアCPUへ移行させるかどうか、または前記負荷監視手段により監視される負荷と予め設定された第2の閾値とに基づいて、タスクを前記第2のマルチコアCPUから第1のマルチコアCPUへ移行させるかどうか、を判定するタスク移行判定手段と、
前記タスク移行判定手段によりタスクを移行させることが判定された場合に、オペレーティングシステムに基づき、前記第1のマルチコアCPUと第2のマルチコアCPUとの間でタスクを移行させる制御を行うタスク移行制御手段と、
前記第1のマルチコアCPUまたは第2のマルチコアCPUで起動されるタスクに対して前記第1の閾値または第2の閾値の少なくとも何れかを、該タスクの処理時間と消費電力とに基づいて予め設定された変更内容に従って変更する閾値変更手段と、
を備え、
前記タスク移行判定手段は、前記閾値変更手段により前記第1の閾値または第2の閾値が変更された場合は、前記負荷監視手段により監視される負荷と変更後の第1の閾値または第2の閾値とに基づいてタスクを移行させるかどうかを判定することを特徴とする画像形成装置。
A first multi-core CPU having a plurality of cores,
A second multicore CPU mounted on the same chip as the first multicore CPU and having a plurality of cores, which consumes relatively less power and has relatively lower processing performance than the first multicore CPU When,
Load monitoring means for monitoring the load caused by tasks in the first multi-core CPU and the second multi-core CPU based on an operating system;
Based on the load monitored by the load monitoring means and the first threshold set in advance, it is monitored whether the task is to be transferred from the first multi-core CPU to the second multi-core CPU or by the load monitoring means A task transition determination unit that determines whether to shift the task from the second multi-core CPU to the first multi-core CPU based on the load to be performed and a preset second threshold value;
A task transition control unit that performs control of causing a task to be shifted between the first multi-core CPU and the second multi-core CPU based on the operating system when it is determined that the task is to be shifted by the task shift determination unit When,
At least one of the first threshold and the second threshold is set in advance based on the processing time of the task and the power consumption with respect to the task activated by the first multicore CPU or the second multicore CPU. Threshold changing means for changing according to the contents of the change,
Equipped with
When the first threshold or the second threshold is changed by the threshold changing means, the task transition judging means changes the load monitored by the load monitoring means and the first threshold or second after the change. An image forming apparatus characterized by determining whether or not to shift a task based on a threshold.
前記タスク移行判定手段は、タスクによる負荷に応じて、前記第1のマルチコアCPUか第2のマルチコアCPUのいずれで起動するかを指定する請求項1に記載の画像形成装置。   The image forming apparatus according to claim 1, wherein the task transition determination unit specifies which of the first multi-core CPU and the second multi-core CPU is to be activated according to a load of a task. 前記タスクが前記第2のマルチコアCPUの複数のコアで分割して処理を実施するタスクであり、かつ分割された各タスクによる各コアの負荷が均一でない場合には、前記閾値変更手段は、変更内容に従い、前記タスクが前記第1のマルチコアCPUで動作するように前記第2の閾値を変更する請求項1に記載の画像形成装置。   When the task is a task that is divided and executed by a plurality of cores of the second multi-core CPU, and the load of each core by each divided task is not uniform, the threshold changing unit changes The image forming apparatus according to claim 1, wherein the second threshold is changed such that the task operates on the first multi-core CPU according to the content. 前記タスクが、スキャンされた画像データを指定されたファイルフォーマットに画像変換処理して送信するスキャン送信ジョブにおける画像変換処理タスクである場合、前記閾値変更手段は、前記ファイルフォーマットの種類に応じて設定されている変更内容に従って前記第1の閾値または第2の閾値の少なくとも何れかを変更する請求項1または2に記載の画像形成装置。   When the task is an image conversion processing task in a scan transmission job that converts and transmits scanned image data to a specified file format, the threshold changing unit sets the threshold according to the type of the file format. The image forming apparatus according to claim 1, wherein at least one of the first threshold and the second threshold is changed in accordance with the contents of the change. 前記ファイルフォーマットがPPTX、CXPS及びCPDFの何れかである場合は、前記閾値変更手段は、変更内容に従い、前記第1のマルチコアCPUで動作するように閾値を変更する請求項4に記載の画像形成装置。   5. The image forming method according to claim 4, wherein when the file format is any of PPTX, CXPS, and CPDF, the threshold changing unit changes the threshold so as to operate on the first multi-core CPU according to the contents of the change. apparatus. 前記タスク移行判定手段は、前記タスクについて第1のマルチコアCPUでの起動を指定する請求項5に記載の画像形成装置。   The image forming apparatus according to claim 5, wherein the task transition determination unit specifies activation of the first multi-core CPU for the task. 前記ファイルフォーマットがJPEG、TIFF及びPDFの何れかである場合は、前記閾値変更手段は、変更内容に従い、前記第2のマルチコアCPUで動作するように閾値を変更する請求項4に記載の画像形成装置。   5. The image forming method according to claim 4, wherein when the file format is any one of JPEG, TIFF, and PDF, the threshold changing unit changes the threshold to operate with the second multi-core CPU according to the contents of the change. apparatus. 前記タスク移行判定手段は、前記タスクについて第2のマルチコアCPUでの起動を指定する請求項7に記載の画像形成装置。   The image forming apparatus according to claim 7, wherein the task transition determination unit designates activation of the task by a second multi-core CPU. 前記閾値変更手段は、ジョブの解像度に応じて設定されている変更内容に従って前記第1の閾値または第2の閾値の少なくとも何れかを変更する請求項1、2、4〜8の何れかに記載の画像形成装置。   9. The apparatus according to claim 1, wherein the threshold changing unit changes at least one of the first threshold and the second threshold in accordance with a change set according to a resolution of a job. Image forming device. 複数のコアを有する第1のマルチコアCPUと、
前記第1のマルチコアCPUと同一のチップに実装されるとともに、複数のコアを有し、前記第1のマルチコアCPUよりも消費電力が相対的に小さく処理性能が相対的に低い第2のマルチコアCPUと、
を備えた画像形成装置が、
オペレーティングシステムに基づき、前記第1のマルチコアCPUと第2のマルチコアCPUにおけるタスクによる負荷を監視する負荷監視ステップと、
前記負荷監視ステップにより監視される負荷と予め設定された第1の閾値とに基づいて、タスクを前記第1のマルチコアCPUから第2のマルチコアCPUへ移行させるかどうか、または前記負荷監視ステップにより監視される負荷と予め設定された第2の閾値とに基づいて、タスクを前記第2のマルチコアCPUから第1のマルチコアCPUへ移行させるかどうか、を判定するタスク移行判定ステップと、
前記タスク移行判定ステップによりタスクを移行させることが判定された場合に、オペレーティングシステムに基づき、前記第1のマルチコアCPUと第2のマルチコアCPUとの間でタスクを移行させる制御を行うタスク移行制御ステップと、
前記第1のマルチコアCPUまたは第2のマルチコアCPUで起動されるタスクに対して前記第1の閾値または第2の閾値の少なくとも何れかを、該タスクの処理時間と消費電力とに基づいて予め設定された変更内容に従って変更する閾値変更ステップと、
を実施し、
前記タスク移行判定ステップでは、前記閾値変更ステップにより前記第1の閾値または第2の閾値が変更された場合は、前記負荷監視ステップにより監視される負荷と変更後の第1の閾値または第2の閾値とに基づいてタスクを移行させるかどうかを判定することを特徴とする画像形成装置におけるタスク制御方法。
A first multi-core CPU having a plurality of cores,
A second multicore CPU mounted on the same chip as the first multicore CPU and having a plurality of cores, which consumes relatively less power and has relatively lower processing performance than the first multicore CPU When,
An image forming apparatus provided with
A load monitoring step of monitoring a load due to a task in the first multi-core CPU and the second multi-core CPU based on an operating system;
Based on the load monitored by the load monitoring step and the first threshold set in advance, it is monitored whether the task is to be transferred from the first multi-core CPU to the second multi-core CPU or by the load monitoring step A task migration determination step of determining whether to migrate the task from the second multi-core CPU to the first multi-core CPU based on the load to be performed and a preset second threshold value;
A task transfer control step of performing control to transfer a task between the first multi-core CPU and the second multi-core CPU based on the operating system when it is determined in the task transfer determination step that the task is to be transferred When,
At least one of the first threshold and the second threshold is set in advance based on the processing time of the task and the power consumption with respect to the task activated by the first multicore CPU or the second multicore CPU. A threshold change step of changing according to the changed contents;
To carry out
In the task transition determination step, when the first threshold or the second threshold is changed by the threshold change step, the load monitored by the load monitoring step and the first threshold after the change or the second threshold A task control method in an image forming apparatus, which determines whether or not to shift a task based on a threshold.
複数のコアを有する第1のマルチコアCPUと、
前記第1のマルチコアCPUと同一のチップに実装されるとともに、複数のコアを有し、前記第1のマルチコアCPUよりも消費電力が相対的に小さく処理性能が相対的に低い第2のマルチコアCPUと、
を備えた画像形成装置のCPUに、
オペレーティングシステムに基づき、前記第1のマルチコアCPUと第2のマルチコアCPUにおけるタスクによる負荷を監視する負荷監視ステップと、
前記負荷監視ステップにより監視される負荷と予め設定された第1の閾値とに基づいて、タスクを前記第1のマルチコアCPUから第2のマルチコアCPUへ移行させるかどうか、または前記負荷監視ステップにより監視される負荷と予め設定された第2の閾値とに基づいて、タスクを前記第2のマルチコアCPUから第1のマルチコアCPUへ移行させるかどうか、を判定するタスク移行判定ステップと、
前記タスク移行判定ステップによりタスクを移行させることが判定された場合に、オペレーティングシステムに基づき、前記第1のマルチコアCPUと第2のマルチコアCPUとの間でタスクを移行させる制御を行うタスク移行制御ステップと、
前記第1のマルチコアCPUまたは第2のマルチコアCPUで起動されるタスクに対して前記第1の閾値または第2の閾値の少なくとも何れかを、該タスクの処理時間と消費電力とに基づいて予め設定された変更内容に従って変更する閾値変更ステップと、
を実行させ、
前記タスク移行判定ステップでは、前記閾値変更ステップにより前記第1の閾値または第2の閾値が変更された場合は、前記負荷監視ステップにより監視される負荷と変更後の第1の閾値または第2の閾値とに基づいてタスクを移行させるかどうかを判定する処理を実行させるためのタスク制御プログラム。
A first multi-core CPU having a plurality of cores,
A second multicore CPU mounted on the same chip as the first multicore CPU and having a plurality of cores, which consumes relatively less power and has relatively lower processing performance than the first multicore CPU When,
To the CPU of the image forming apparatus provided with
A load monitoring step of monitoring a load due to a task in the first multi-core CPU and the second multi-core CPU based on an operating system;
Based on the load monitored by the load monitoring step and the first threshold set in advance, it is monitored whether the task is to be transferred from the first multi-core CPU to the second multi-core CPU or by the load monitoring step A task migration determination step of determining whether to migrate the task from the second multi-core CPU to the first multi-core CPU based on the load to be performed and a preset second threshold value;
A task transfer control step of performing control to transfer a task between the first multi-core CPU and the second multi-core CPU based on the operating system when it is determined in the task transfer determination step that the task is to be transferred When,
At least one of the first threshold and the second threshold is set in advance based on the processing time of the task and the power consumption with respect to the task activated by the first multicore CPU or the second multicore CPU. A threshold change step of changing according to the changed contents;
To run
In the task transition determination step, when the first threshold or the second threshold is changed by the threshold change step, the load monitored by the load monitoring step and the first threshold after the change or the second threshold A task control program for executing a process of determining whether to shift a task based on a threshold value.
JP2015173731A 2015-09-03 2015-09-03 Image forming apparatus, task control method in the same apparatus, and task control program Active JP6500707B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2015173731A JP6500707B2 (en) 2015-09-03 2015-09-03 Image forming apparatus, task control method in the same apparatus, and task control program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2015173731A JP6500707B2 (en) 2015-09-03 2015-09-03 Image forming apparatus, task control method in the same apparatus, and task control program

Publications (2)

Publication Number Publication Date
JP2017050767A JP2017050767A (en) 2017-03-09
JP6500707B2 true JP6500707B2 (en) 2019-04-17

Family

ID=58279663

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2015173731A Active JP6500707B2 (en) 2015-09-03 2015-09-03 Image forming apparatus, task control method in the same apparatus, and task control program

Country Status (1)

Country Link
JP (1) JP6500707B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6972882B2 (en) * 2017-10-11 2021-11-24 コニカミノルタ株式会社 Simulation device, device setting method and device setting program
JP2019074957A (en) * 2017-10-17 2019-05-16 コニカミノルタ株式会社 Simulation apparatus, device setting method, and device setting program

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080263324A1 (en) * 2006-08-10 2008-10-23 Sehat Sutardja Dynamic core switching
JP2009230220A (en) * 2008-03-19 2009-10-08 Fuji Xerox Co Ltd Information processor and image processor

Also Published As

Publication number Publication date
JP2017050767A (en) 2017-03-09

Similar Documents

Publication Publication Date Title
US8446605B2 (en) Division of rendering block in image forming apparatus
US9781295B2 (en) Image processing apparatus, a method for performing specific process on an image processing apparatus, and a computer-readable storage medium for a program to be executed by an image processing apparatus
JP6500707B2 (en) Image forming apparatus, task control method in the same apparatus, and task control program
US20170060644A1 (en) Image processing apparatus, control task allocation method, and recording medium
JP2007030252A (en) Image forming system, interruption processing method and printing apparatus
JP2011201146A (en) Image processing device and image processing program
JP5232728B2 (en) Image forming apparatus
JP2017147529A (en) Image forming apparatus, method for controlling task and program for controlling task in the apparatus
JP6578824B2 (en) Image forming apparatus, task control method and task control program in the same
JP6465384B2 (en) Image forming apparatus, parallel processing control program, and parallel processing control method
JP2014153931A (en) Processor system, electronic apparatus, and system control program
JP6128104B2 (en) Image processing apparatus, control method thereof, and program
US8368937B2 (en) Print data processing apparatus, print data processing method, and storage medium
JP6996189B2 (en) Print controller, image forming system and image forming device
JP2008293313A (en) Printing-controlling device and image-forming system
JP6481378B2 (en) Image forming apparatus, task control method and task control program in the same
US9569150B2 (en) Server controlling job management by a plurality of image forming devices
JP2020110926A (en) Image formation apparatus, control method of image formation apparatus, image formation system and program
JP2012008838A (en) Print document conversion device and program
JP2013125455A (en) Image formation apparatus
EP3252601B1 (en) Apparatus and method for changing priority of a job
JP2010074432A (en) Image processing device, method, and system
JP2009053829A (en) Information processor and information processing program
US20200150975A1 (en) Information processing apparatus, method of starting up an information processing apparatus
JP2012239015A (en) Image processing apparatus

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20180625

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20181129

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20181204

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20190219

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20190304

R150 Certificate of patent or registration of utility model

Ref document number: 6500707

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150