jagomart
digital resources
picture1_The Art Of Multiprocessor Programming Pdf 188182 | Aula9 Cap9herlihy


 166x       Filetype PDF       File size 1.04 MB       Source: www.inf.puc-rio.br


File: The Art Of Multiprocessor Programming Pdf 188182 | Aula9 Cap9herlihy
linked lists locking lock free and beyond companion slides for the art of multiprocessor programming by maurice herlihy nir shavit last lecture spin locks cs resets lock spin critical upon ...

icon picture PDF Filetype PDF | Posted on 02 Feb 2023 | 2 years ago
Partial capture of text on file.
       Linked Lists: Locking, Lock-
         Free, and Beyond … 
           Companion slides for 
         The Art of Multiprocessor 
             Programming 
        by Maurice Herlihy & Nir Shavit 
                       Last Lecture: Spin-Locks 
                            .                            CS 
                            .                                          Resets lock  
                            .                   spin   critical        upon exit 
                                                lock    section 
                                         Art of Multiprocessor Programming                     2 
                         Today: Concurrent Objects 
                  •  Adding threads should not lower 
                      throughput 
                        –  Contention effects 
                        –  Mostly fixed by Queue locks 
                  •  Should increase throughput 
                        –  Not possible if inherently sequential 
                        –  Surprising things are parallelizable 
                                             Art of Multiprocessor Programming                           3 
                        Coarse-Grained 
                        Synchronization 
           •  Each method locks the object 
              –  Avoid contention using queue locks  
              –  Easy to reason about 
                 •  In simple cases 
              –  Standard Java model 
                 •  Synchronized blocks and methods 
           •  So, are we done?  
                           Art of Multiprocessor Programming  4 
The words contained in this file might help you see if this file matches what you are looking for:

...Linked lists locking lock free and beyond companion slides for the art of multiprocessor programming by maurice herlihy nir shavit last lecture spin locks cs resets critical upon exit section today concurrent objects adding threads should not lower throughput contention effects mostly fixed queue increase possible if inherently sequential surprising things are parallelizable coarse grained synchronization each method object avoid using easy to reason about in simple cases standard java model synchronized blocks methods so we done...

no reviews yet
Please Login to review.