Lazy Sequentialization for TSO and PSO via Shared Memory Abstractions
Lazy Sequentialization for TSO and PSO via Shared Memory Abstractions
  Lazy sequentialization is one of the most effective approaches for the bounded verification of concurrent programs. Existing tools assume sequential consistency (SC), thus the feasibility of lazy sequentializations for weak memory models (WMMs) remains untested. Here, we describe the first lazy sequentialization approach for the total store order (TSO) and partial store order (PSO) memory models. We replace all shared memory accesses with operations on a shared memory abstraction (SMA), an abstract data type that encapsulates the semantics of the underlying WMM and implements it under the simpler SC model. We give efficient SMA implementations for TSO and PSO that are based on temporal circular doubly-linked lists, a new data structure that allows an efficient simulation of the store buffers. We show experimentally, both on the SV-COMP concurrency benchmarks and a real world instance, that this approach works well in combination with lazy sequentialization on top of bounded model checking.
  193-200
  
  
    
      Tomasco, Ermenegildo
      
        7b944585-0193-4dab-861b-8d5cdccf82cd
      
     
  
    
      Nguyen Lam, Truc
      
        0a373da7-0868-466d-a3b8-060868037acc
      
     
  
    
      Inverso, Omar
      
        680db08a-49d7-419f-8194-64071cf40afe
      
     
  
    
      Fischer, Bernd
      
        0c9575e6-d099-47f1-b3a2-2dbc93c53d18
      
     
  
    
      La Torre, Salvatore
      
        ec51ffc2-65d9-414e-9dd2-f5f342979c10
      
     
  
    
      Parlato, Gennaro
      
        c28428a0-d3f3-4551-a4b5-b79e410f4923
      
     
  
  
    
  
    
  
   
  
  
    
    
  
    
    
  
    
    
  
    
      6 October 2016
    
    
  
  
    
      Tomasco, Ermenegildo
      
        7b944585-0193-4dab-861b-8d5cdccf82cd
      
     
  
    
      Nguyen Lam, Truc
      
        0a373da7-0868-466d-a3b8-060868037acc
      
     
  
    
      Inverso, Omar
      
        680db08a-49d7-419f-8194-64071cf40afe
      
     
  
    
      Fischer, Bernd
      
        0c9575e6-d099-47f1-b3a2-2dbc93c53d18
      
     
  
    
      La Torre, Salvatore
      
        ec51ffc2-65d9-414e-9dd2-f5f342979c10
      
     
  
    
      Parlato, Gennaro
      
        c28428a0-d3f3-4551-a4b5-b79e410f4923
      
     
  
    
  
    
  
       
    
 
  
    
      
  
  
  
  
    Tomasco, Ermenegildo, Nguyen Lam, Truc, Inverso, Omar, Fischer, Bernd, La Torre, Salvatore and Parlato, Gennaro
  
  
  
  
   
    (2016)
  
  
    
    Lazy Sequentialization for TSO and PSO via Shared Memory Abstractions.
  
  
  
    
      Piskac, Ruzica and Talupur, Muralidhar 
      (eds.)
    
  
  
   In FMCAD '16 Proceedings of the 16th Conference on Formal Methods in Computer-Aided Design. 
  
      FMCAD Association. 
          
          
        .
    
  
  
  
  
  
   
  
    
      Record type:
      Conference or Workshop Item
      (Paper)
      
      
    
   
    
    
      
        
          Abstract
          Lazy sequentialization is one of the most effective approaches for the bounded verification of concurrent programs. Existing tools assume sequential consistency (SC), thus the feasibility of lazy sequentializations for weak memory models (WMMs) remains untested. Here, we describe the first lazy sequentialization approach for the total store order (TSO) and partial store order (PSO) memory models. We replace all shared memory accesses with operations on a shared memory abstraction (SMA), an abstract data type that encapsulates the semantics of the underlying WMM and implements it under the simpler SC model. We give efficient SMA implementations for TSO and PSO that are based on temporal circular doubly-linked lists, a new data structure that allows an efficient simulation of the store buffers. We show experimentally, both on the SV-COMP concurrency benchmarks and a real world instance, that this approach works well in combination with lazy sequentialization on top of bounded model checking.
         
      
      
        
          
            
  
    Text
 tsopso.pdf
     - Accepted Manuscript
   
  
  
 
          
            
          
            
           
            
           
        
          
            
  
    Text
 tsopsowithappendix.pdf
     - Accepted Manuscript
   
  
  
 
          
            
          
            
           
            
           
        
        
       
    
   
  
  
  More information
  
    
      Submitted date: 2 May 2016
 
    
      Accepted/In Press date: 9 July 2016
 
    
      e-pub ahead of print date: 6 October 2016
 
    
      Published date: 6 October 2016
 
    
  
  
    
  
    
  
    
     
        Venue - Dates:
        Formal Methods in Computer-Aided Design (FMCAD), Mountain View, United States, 2016-10-02 - 2016-10-06
      
    
  
    
  
    
     
    
  
    
  
    
     
        Organisations:
        Electronic & Software Systems
      
    
  
    
  
  
        Identifiers
        Local EPrints ID: 397759
        URI: http://eprints.soton.ac.uk/id/eprint/397759
        
        
        
        
          PURE UUID: 3a3017a8-ac15-4a6f-869f-2171fbe06527
        
  
    
        
          
            
          
        
    
        
          
            
          
        
    
        
          
            
          
        
    
        
          
            
          
        
    
        
          
        
    
        
          
            
          
        
    
        
          
            
          
        
    
        
          
            
          
        
    
  
  Catalogue record
  Date deposited: 05 Jul 2016 15:53
  Last modified: 16 Mar 2024 02:56
  Export record
  
  
 
 
  
    
    
      Contributors
      
          
          Author:
          
            
              
              
                Ermenegildo Tomasco
              
              
            
            
          
        
      
          
          Author:
          
            
              
              
                Truc Nguyen Lam
              
              
            
            
          
        
      
          
          Author:
          
            
              
              
                Omar Inverso
              
              
            
            
          
        
      
          
          Author:
          
            
              
              
                Bernd Fischer
              
              
            
            
          
        
      
          
          Author:
          
            
            
              Salvatore La Torre
            
          
        
      
          
          Author:
          
            
              
              
                Gennaro Parlato
              
              
            
            
          
        
      
          
          Editor:
          
            
              
              
                Ruzica Piskac
              
              
            
            
          
        
      
          
          Editor:
          
            
              
              
                Muralidhar Talupur
              
              
            
            
          
        
      
      
      
    
  
   
  
    Download statistics
    
      Downloads from ePrints over the past year. Other digital versions may also be available to download e.g. from the publisher's website.
      
      View more statistics