CN101142551B - 不使用原子指令而适当处理大量处理器的读复制更新的宽限期检测方法和装置 - Google Patents

不使用原子指令而适当处理大量处理器的读复制更新的宽限期检测方法和装置 Download PDF

Info

Publication number
CN101142551B
CN101142551B CN2005800294377A CN200580029437A CN101142551B CN 101142551 B CN101142551 B CN 101142551B CN 2005800294377 A CN2005800294377 A CN 2005800294377A CN 200580029437 A CN200580029437 A CN 200580029437A CN 101142551 B CN101142551 B CN 101142551B
Authority
CN
China
Prior art keywords
token
processor
indicator
grace period
data element
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
Application number
CN2005800294377A
Other languages
English (en)
Chinese (zh)
Other versions
CN101142551A (zh
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.)
International Business Machines Corp
Original Assignee
International Business Machines Corp
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 International Business Machines Corp filed Critical International Business Machines Corp
Publication of CN101142551A publication Critical patent/CN101142551A/zh
Application granted granted Critical
Publication of CN101142551B publication Critical patent/CN101142551B/zh
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/52Program synchronisation; Mutual exclusion, e.g. by means of semaphores
    • G06F9/526Mutual exclusion algorithms
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F15/00Digital computers in general; Data processing equipment in general
    • G06F15/16Combinations of two or more digital computers each having at least an arithmetic unit, a program unit and a register, e.g. for a simultaneous processing of several programs
    • G06F15/163Interprocessor communication
    • G06F15/173Interprocessor communication using an interconnection network, e.g. matrix, shuffle, pyramid, star, snowflake
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/52Program synchronisation; Mutual exclusion, e.g. by means of semaphores
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2209/00Indexing scheme relating to G06F9/00
    • G06F2209/52Indexing scheme relating to G06F9/52
    • G06F2209/522Manager
    • 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
    • Y10TECHNICAL SUBJECTS COVERED BY FORMER USPC
    • Y10STECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y10S707/00Data processing: database and file management or data structures
    • Y10S707/99951File or database maintenance
    • Y10S707/99952Coherency, e.g. same view to multiple users
    • Y10S707/99953Recoverability
    • 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
    • Y10TECHNICAL SUBJECTS COVERED BY FORMER USPC
    • Y10STECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y10S707/00Data processing: database and file management or data structures
    • Y10S707/99951File or database maintenance
    • Y10S707/99956File allocation
    • Y10S707/99957Garbage collection

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Mathematical Physics (AREA)
  • Multi Processors (AREA)
  • Memory System Of A Hierarchy Structure (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Image Processing (AREA)
CN2005800294377A 2004-10-27 2005-10-13 不使用原子指令而适当处理大量处理器的读复制更新的宽限期检测方法和装置 Expired - Fee Related CN101142551B (zh)

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
US10/974,514 2004-10-27
US10/974,514 US7454581B2 (en) 2004-10-27 2004-10-27 Read-copy update grace period detection without atomic instructions that gracefully handles large numbers of processors
PCT/EP2005/055240 WO2006045704A1 (en) 2004-10-27 2005-10-13 Read-copy update grace period detection without atomic instructions that gracefully handles large numbers of processors

Publications (2)

Publication Number Publication Date
CN101142551A CN101142551A (zh) 2008-03-12
CN101142551B true CN101142551B (zh) 2010-05-05

Family

ID=35989206

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2005800294377A Expired - Fee Related CN101142551B (zh) 2004-10-27 2005-10-13 不使用原子指令而适当处理大量处理器的读复制更新的宽限期检测方法和装置

Country Status (8)

Country Link
US (2) US7454581B2 (https=)
EP (1) EP1836571B1 (https=)
JP (1) JP4551452B2 (https=)
KR (1) KR100910821B1 (https=)
CN (1) CN101142551B (https=)
AT (1) ATE426853T1 (https=)
DE (1) DE602005013578D1 (https=)
WO (1) WO2006045704A1 (https=)

Families Citing this family (52)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7454581B2 (en) * 2004-10-27 2008-11-18 International Business Machines Corporation Read-copy update grace period detection without atomic instructions that gracefully handles large numbers of processors
US7664786B2 (en) * 2005-12-12 2010-02-16 Electronics And Telecommunications Research Institute Apparatus and method for managing application context
KR100763526B1 (ko) * 2005-12-12 2007-10-04 한국전자통신연구원 애플리케이션 컨텍스트 관리 장치 및 방법
US7353346B2 (en) * 2006-03-24 2008-04-01 International Business Machines Corporation Read-copy-update (RCU) operations with reduced memory barrier usage
JP5103807B2 (ja) * 2006-06-30 2012-12-19 富士通株式会社 制御プログラム、制御方法、情報処理装置及び情報処理システム
US8495641B2 (en) * 2007-06-29 2013-07-23 International Business Machines Corporation Efficiently boosting priority of read-copy update readers while resolving races with exiting and unlocking processes
US8706706B2 (en) * 2007-09-13 2014-04-22 International Business Machines Corporation Fast path for grace-period detection for read-copy update system
US8055918B2 (en) * 2008-04-03 2011-11-08 International Business Machines Corporation Optimizing preemptible read-copy update for low-power usage by avoiding unnecessary wakeups
US7953778B2 (en) * 2008-05-20 2011-05-31 International Business Machines Corporation Efficient support of consistent cyclic search with read-copy update and parallel updates
US8108696B2 (en) * 2008-07-24 2012-01-31 International Business Machines Corporation Optimizing non-preemptible read-copy update for low-power usage by avoiding unnecessary wakeups
US8020160B2 (en) * 2008-07-28 2011-09-13 International Business Machines Corporation User-level read-copy update that does not require disabling preemption or signal handling
US7953708B2 (en) * 2008-07-28 2011-05-31 International Business Machines Corporation Optimizing grace period detection for preemptible read-copy update on uniprocessor systems
US8195893B2 (en) * 2008-11-03 2012-06-05 International Business Machines Corporation Eliminating synchronous grace period detection for non-preemptible read-copy update on uniprocessor systems
US8065489B1 (en) 2009-03-31 2011-11-22 Symantec Corporation Method and apparatus for managing concurrent access among computers to a bitmap stored on disk storage
US8185704B2 (en) * 2009-09-02 2012-05-22 International Business Machines Corporation High performance real-time read-copy update
US9459963B2 (en) * 2009-09-03 2016-10-04 International Business Machines Corporation Safely rolling back transactions in a transactional memory system with concurrent readers
US8407503B2 (en) 2010-09-27 2013-03-26 International Business Machines Corporation Making read-copy update free-running grace period counters safe against lengthy low power state sojourns
US9189413B2 (en) 2011-06-20 2015-11-17 International Business Machines Corporation Read-copy update implementation for non-cache-coherent systems
US8615771B2 (en) 2011-06-20 2013-12-24 International Business Machines Corporation Effective management of blocked-tasks in preemptible read-copy update
US9250978B2 (en) 2011-06-27 2016-02-02 International Business Machines Corporation Asynchronous grace-period primitives for user-space applications
JP5772458B2 (ja) * 2011-09-29 2015-09-02 富士通株式会社 データ管理プログラム、ノード、および分散データベースシステム
US8661005B2 (en) 2011-12-08 2014-02-25 International Business Machines Corporation Optimized deletion and insertion for high-performance resizable RCU-protected hash tables
US9009122B2 (en) 2011-12-08 2015-04-14 International Business Machines Corporation Optimized resizing for RCU-protected hash tables
US9256476B2 (en) 2011-12-10 2016-02-09 International Business Machines Corporation Expedited module unloading for kernel modules that execute read-copy update callback processing code
CN102609313B (zh) * 2012-01-13 2014-04-02 汉柏科技有限公司 多核系统资源延迟回收锁的实现方法及系统
US9003420B2 (en) 2012-05-18 2015-04-07 International Business Machines Corporation Resolving RCU-scheduler deadlocks
US8938631B2 (en) 2012-06-30 2015-01-20 International Business Machines Corporation Energy efficient implementation of read-copy update for light workloads running on systems with many processors
US8874535B2 (en) * 2012-10-16 2014-10-28 International Business Machines Corporation Performance of RCU-based searches and updates of cyclic data structures
US8972801B2 (en) 2013-02-04 2015-03-03 International Business Machines Corporation Motivating lazy RCU callbacks under out-of-memory conditions
US8924655B2 (en) 2013-02-04 2014-12-30 International Business Machines Corporation In-kernel SRCU implementation with reduced OS jitter
US9244844B2 (en) 2013-03-14 2016-01-26 International Business Machines Corporation Enabling hardware transactional memory to work more efficiently with readers that can tolerate stale data
US9348765B2 (en) 2013-03-14 2016-05-24 International Business Machines Corporation Expediting RCU grace periods under user mode control
US9396226B2 (en) 2013-06-24 2016-07-19 International Business Machines Corporation Highly scalable tree-based trylock
US9389925B2 (en) 2013-12-03 2016-07-12 International Business Machines Corporation Achieving low grace period latencies despite energy efficiency
US9720836B2 (en) 2015-05-11 2017-08-01 International Business Machines Corporation Preemptible-RCU CPU hotplugging while maintaining real-time response
US9552236B2 (en) 2015-05-12 2017-01-24 International Business Machines Corporation Tasks—RCU detection of tickless user mode execution as a quiescent state
US9886329B2 (en) * 2015-06-25 2018-02-06 International Business Machines Corporation Scalable RCU callback offloading
US9965432B2 (en) 2015-10-02 2018-05-08 International Business Machines Corporation Handling CPU hotplug events in RCU without sleeplocks
US9319365B1 (en) * 2015-10-09 2016-04-19 Machine Zone, Inc. Systems and methods for storing and transferring message data
US10140131B2 (en) 2016-08-11 2018-11-27 International Business Machines Corporation Shielding real-time workloads from OS jitter due to expedited grace periods
US10353748B2 (en) 2016-08-30 2019-07-16 International Business Machines Corporation Short-circuiting normal grace-period computations in the presence of expedited grace periods
US10282230B2 (en) 2016-10-03 2019-05-07 International Business Machines Corporation Fair high-throughput locking for expedited grace periods
US10146577B2 (en) 2016-12-11 2018-12-04 International Business Machines Corporation Enabling real-time CPU-bound in-kernel workloads to run infinite loops while keeping RCU grace periods finite
US10372510B2 (en) 2017-03-15 2019-08-06 International Business Machines Corporation Using expedited grace periods to short-circuit normal grace-period computations
US11055271B2 (en) 2017-11-13 2021-07-06 International Business Machines Corporation Funnel locking for sleepable read-copy update
US10983840B2 (en) 2018-06-21 2021-04-20 International Business Machines Corporation Consolidating read-copy update types having different definitions of a quiescent state
US10268610B1 (en) 2018-08-16 2019-04-23 International Business Machines Corporation Determining whether a CPU stalling a current RCU grace period had interrupts enabled
US10831542B2 (en) 2018-10-01 2020-11-10 International Business Machines Corporation Prevent counter wrap during update-side grace-period-request processing in tree-SRCU implementations
US10613913B1 (en) 2018-10-06 2020-04-07 International Business Machines Corporation Funnel locking for normal RCU grace period requests
US11386079B2 (en) 2019-06-26 2022-07-12 International Business Machines Corporation Replacing preemptible RCU with an augmented SRCU implementation
US10977042B2 (en) 2019-07-26 2021-04-13 International Business Machines Corporation Using expedited RCU grace periods to avoid out-of-memory conditions for offloaded RCU callbacks
US11321147B2 (en) 2019-08-29 2022-05-03 International Business Machines Corporation Determining when it is safe to use scheduler lock-acquiring wakeups to defer quiescent states in real-time preemptible read-copy update

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1271888A (zh) * 2000-05-15 2000-11-01 倚天资讯股份有限公司 利用双向无线传输进行软件更新的方法

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4685082A (en) * 1985-02-22 1987-08-04 Wang Laboratories, Inc. Simplified cache with automatic update
US5442758A (en) * 1993-07-19 1995-08-15 Sequent Computer Systems, Inc. Apparatus and method for achieving reduced overhead mutual exclusion and maintaining coherency in a multiprocessor system utilizing execution history and thread monitoring
US6311289B1 (en) * 1998-11-03 2001-10-30 Telefonaktiebolaget Lm Ericsson (Publ) Explicit state copy in a fault tolerant system using a remote write operation
US6490671B1 (en) * 1999-05-28 2002-12-03 Oracle Corporation System for efficiently maintaining translation lockaside buffer consistency in a multi-threaded, multi-processor virtual memory system
US6405201B1 (en) * 1999-12-02 2002-06-11 Sun Microsystems, Inc. Method and apparatus for reducing network traffic for remote file append operations
US6502165B1 (en) * 1999-12-03 2002-12-31 International Business Machines Corporation Balanced access to data volumes with redundant copies stored in data storage libraries
US6502170B2 (en) * 2000-12-15 2002-12-31 Intel Corporation Memory-to-memory compare/exchange instructions to support non-blocking synchronization schemes
US20030110232A1 (en) * 2001-12-11 2003-06-12 International Business Machines Corporation Distributing messages between local queues representative of a common shared queue
US7454581B2 (en) * 2004-10-27 2008-11-18 International Business Machines Corporation Read-copy update grace period detection without atomic instructions that gracefully handles large numbers of processors

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1271888A (zh) * 2000-05-15 2000-11-01 倚天资讯股份有限公司 利用双向无线传输进行软件更新的方法

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
Andrea Arcangeli, Mingming Cao, Paul E.Mckenney,Dipankar Sarma.Using Read-Copy-Update Techniques for System V IPC intheLinux 2.5 Kernel.http://www.rdrop.com/users/paulmck/rclock/rcu.FREENIX.2003.06.14.pdf.2003,297-309. *
Ben Gamsa, Orran Krieger, Jonathan Appavoo, MichaelStumm.Tornado: Maximizing Locality and Concurrency in a SharedMemory Multiprocessor Operating System.http://www.usenix.org/publications/library/proceedings/osdi99/full_papers/gamsa/gamsa_html/gamsa.html.1998,87-100. *
Paul E.McKenney.Read Copy Update.http://www.rdrop.com/users/paulmck/rclock/rcu.2002.07.08.pdf.2002,1-28. *

Also Published As

Publication number Publication date
JP4551452B2 (ja) 2010-09-29
KR100910821B1 (ko) 2009-08-04
US20080288749A1 (en) 2008-11-20
US7689789B2 (en) 2010-03-30
ATE426853T1 (de) 2009-04-15
US20060123100A1 (en) 2006-06-08
US7454581B2 (en) 2008-11-18
EP1836571A1 (en) 2007-09-26
CN101142551A (zh) 2008-03-12
JP2008518337A (ja) 2008-05-29
DE602005013578D1 (de) 2009-05-07
EP1836571B1 (en) 2009-03-25
KR20070064646A (ko) 2007-06-21
WO2006045704A1 (en) 2006-05-04

Similar Documents

Publication Publication Date Title
CN101142551B (zh) 不使用原子指令而适当处理大量处理器的读复制更新的宽限期检测方法和装置
US7395263B2 (en) Realtime-safe read copy update with lock-free readers
US7395383B2 (en) Realtime-safe read copy update with per-processor read/write locks
US8495641B2 (en) Efficiently boosting priority of read-copy update readers while resolving races with exiting and unlocking processes
US7734879B2 (en) Efficiently boosting priority of read-copy update readers in a real-time data processing system
US7472228B2 (en) Read-copy update method
US7953708B2 (en) Optimizing grace period detection for preemptible read-copy update on uniprocessor systems
US8020160B2 (en) User-level read-copy update that does not require disabling preemption or signal handling
US8706706B2 (en) Fast path for grace-period detection for read-copy update system
US20080082532A1 (en) Using Counter-Flip Acknowledge And Memory-Barrier Shoot-Down To Simplify Implementation of Read-Copy Update In Realtime Systems
US8972801B2 (en) Motivating lazy RCU callbacks under out-of-memory conditions
US10282230B2 (en) Fair high-throughput locking for expedited grace periods
US9940290B2 (en) Handling CPU hotplug events in RCU without sleeplocks
US10162644B2 (en) Shielding real-time workloads from OS jitter due to expedited grace periods
US10372510B2 (en) Using expedited grace periods to short-circuit normal grace-period computations
CN115269132B (zh) 用于工作调度的方法、系统和非暂态机器可读存储介质

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20100505

Termination date: 20181013

CF01 Termination of patent right due to non-payment of annual fee