JP5625379B2 - ロック競合管理装置、ロック競合管理方法およびプログラム - Google Patents
ロック競合管理装置、ロック競合管理方法およびプログラム Download PDFInfo
- Publication number
- JP5625379B2 JP5625379B2 JP2010031100A JP2010031100A JP5625379B2 JP 5625379 B2 JP5625379 B2 JP 5625379B2 JP 2010031100 A JP2010031100 A JP 2010031100A JP 2010031100 A JP2010031100 A JP 2010031100A JP 5625379 B2 JP5625379 B2 JP 5625379B2
- Authority
- JP
- Japan
- Prior art keywords
- lock
- failures
- threshold
- specific calculation
- contention management
- 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.)
- Expired - Fee Related
Links
Images
Landscapes
- Debugging And Monitoring (AREA)
Description
応答情報がロック獲得処理の成功を示すと、ロック獲得命令発行部14は、ロックをロックの要求元である特定の計算主体に渡して、処理を終了する。
11 時刻測定部
12 ロック獲得失敗回数計測部
13 競合頻度記憶部
14 ロック獲得命令発行部
Claims (7)
- プロセッサで実行される複数の計算主体の共有資源を、特定の計算主体が排他的に使用する権限であるロックの競合を管理するロック競合管理装置であって、
前記特定の計算主体が前記ロックを獲得するための獲得処理が予め設定された設定時間内に失敗した失敗回数を検出する検出部と、
前記検出部にて検出された失敗回数が予め設定された第一閾値以下の場合、前記獲得処理を実行するロック獲得部と、を有するロック競合管理装置。 - 請求項1に記載のロック競合管理装置において、
前記ロック獲得部は、前記失敗回数が前記第一閾値より大きい場合、前記特定の計算主体を休眠状態にする、ロック競合管理装置。 - 請求項1に記載のロック競合管理装置において、
前記ロック獲得部は、前記失敗回数が前記第一閾値より大きい第二閾値を超えている場合、前記特定の計算主体を休眠状態にし、前記失敗回数が前記第一閾値より大きく、かつ前記第二閾値以下の場合、前記プロセッサへの割り当てを待つ計算主体を優先順位が高い方から順に示す待ち行列の最後に前記特定の計算主体を追加して、前記特定の計算主体を待機状態にする、ロック競合管理装置。 - プロセッサで実行される複数の計算主体の共有資源を、特定の計算主体が排他的に使用する権限であるロックの競合を管理するロック競合管理方法であって、
前記特定の計算主体が前記ロックを獲得するための獲得処理が予め設定された設定時間内に失敗した失敗回数を検出し、
前記検出された失敗回数が予め設定された第一閾値以下の場合、前記獲得処理を実行する、ロック競合管理方法。 - 請求項4に記載のロック競合管理方法において、
前記失敗回数が前記第一閾値より大きい場合、前記特定の計算主体を休眠状態にする、ロック競合管理方法。 - 請求項4に記載のロック競合管理方法において、
前記失敗回数が前記第一閾値より大きい第二閾値を超えている場合、前記特定の計算主体を休眠状態にし、前記失敗回数が前記第一閾値より大きく、かつ前記第二閾値以下の場合、前記プロセッサへの割り当てを待つ計算主体を優先順位が高い方から順に示す待ち行列の最後に前記特定の計算主体を追加して、前記特定の計算主体を待機状態にする、ロック競合管理方法。 - プロセッサで実行される複数の計算主体の共有資源を排他的に使用する権限であるロックを特定の計算主体が獲得するための獲得処理が予め設定された設定時間内に失敗した失敗回数を検出する手順と、
前記検出された失敗回数が予め設定された第一閾値以下の場合、前記獲得処理を実行する手順と、をコンピュータに実行させるプログラム。
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2010031100A JP5625379B2 (ja) | 2010-02-16 | 2010-02-16 | ロック競合管理装置、ロック競合管理方法およびプログラム |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2010031100A JP5625379B2 (ja) | 2010-02-16 | 2010-02-16 | ロック競合管理装置、ロック競合管理方法およびプログラム |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2011170414A JP2011170414A (ja) | 2011-09-01 |
JP5625379B2 true JP5625379B2 (ja) | 2014-11-19 |
Family
ID=44684510
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2010031100A Expired - Fee Related JP5625379B2 (ja) | 2010-02-16 | 2010-02-16 | ロック競合管理装置、ロック競合管理方法およびプログラム |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP5625379B2 (ja) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP5939561B2 (ja) * | 2011-12-02 | 2016-06-22 | インターナショナル・ビジネス・マシーンズ・コーポレーションInternational Business Machines Corporation | 資源のロックを獲得する装置及び方法 |
US20150355700A1 (en) * | 2014-06-10 | 2015-12-10 | Qualcomm Incorporated | Systems and methods of managing processor device power consumption |
JP6895719B2 (ja) * | 2016-06-24 | 2021-06-30 | 日立Astemo株式会社 | 車両制御装置 |
Family Cites Families (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH05257902A (ja) * | 1992-03-10 | 1993-10-08 | Fujitsu Ltd | 処理プログラム・モードにおけるロック獲得処理方式 |
JP2518134B2 (ja) * | 1993-03-29 | 1996-07-24 | 日本電気株式会社 | 共有資源排他制御方式 |
JP3746826B2 (ja) * | 1996-02-19 | 2006-02-15 | 富士通株式会社 | 資源ロック制御機構 |
JP3706988B2 (ja) * | 1999-03-16 | 2005-10-19 | 富士通アクセス株式会社 | ネットワーク上に接続された複数の装置間における共用ファイル処理の排他制御方法 |
JP2001084235A (ja) * | 1999-09-10 | 2001-03-30 | Nec Corp | ロック粒度統計情報を利用した排他制御方法及びプログラムを記録した機械読み取り可能な記録媒体 |
JP2002312185A (ja) * | 2001-04-10 | 2002-10-25 | Nec Corp | 排他制御装置、排他制御方法及びプログラム |
JP5088735B2 (ja) * | 2007-12-07 | 2012-12-05 | インターナショナル・ビジネス・マシーンズ・コーポレーション | データベースへのアクセスを制御する技術 |
-
2010
- 2010-02-16 JP JP2010031100A patent/JP5625379B2/ja not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
JP2011170414A (ja) | 2011-09-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11036553B2 (en) | Preempting or traversing allocated resource applications based on job priority and resource demand information | |
EP2972885B1 (en) | Memory object reference count management with improved scalability | |
US8245236B2 (en) | Lock based moving of threads in a shared processor partitioning environment | |
US9448864B2 (en) | Method and apparatus for processing message between processors | |
US8689221B2 (en) | Speculative thread execution and asynchronous conflict events | |
CN102222015B (zh) | 检测多线程程序中的死锁的方法及系统 | |
US9864641B2 (en) | Method for managing workloads in a multiprocessing computer system | |
US9244733B2 (en) | Apparatus and method for scheduling kernel execution order | |
US20160239331A1 (en) | Computer-readable recording medium storing execution information notification program, information processing apparatus, and information processing system | |
JP5347451B2 (ja) | マルチプロセッサシステム、競合回避プログラム及び競合回避方法 | |
US9720600B2 (en) | Apparatus and method for transferring data between storages having different access speeds | |
US8621479B2 (en) | System and method for selecting task allocation method based on load balancing and core affinity metrics | |
CN106293881B (zh) | 一种基于非一致性i/o访问构架的性能监控器及其监控方法 | |
US20120180057A1 (en) | Activity Recording System for a Concurrent Software Environment | |
US20070101332A1 (en) | Method and apparatus for resource-based thread allocation in a multiprocessor computer system | |
JP6129976B2 (ja) | 高効率アトミック演算を使用した方法および装置 | |
US20120023505A1 (en) | Apparatus and method for thread scheduling and lock acquisition order control based on deterministic progress index | |
JP5625379B2 (ja) | ロック競合管理装置、ロック競合管理方法およびプログラム | |
EP3047380A1 (en) | Pattern detector for detecting hangs | |
JP6135392B2 (ja) | キャッシュメモリ制御プログラム,キャッシュメモリを内蔵するプロセッサ及びキャッシュメモリ制御方法 | |
KR101892273B1 (ko) | 스레드 프로그레스 트래킹 방법 및 장치 | |
EP3066559B1 (en) | Logic analyzer for detecting hangs | |
JP5676664B2 (ja) | リソース管理装置、リソースの管理方法、及びプログラム | |
CN115840621A (zh) | 一种多核系统的交互方法及相关装置 | |
JP7236811B2 (ja) | 情報処理装置 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20130111 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20140117 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20140128 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20140325 |
|
RD04 | Notification of resignation of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7424 Effective date: 20140423 |
|
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: 20140902 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20140915 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 5625379 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
LAPS | Cancellation because of no payment of annual fees |