Presentation is loading. Please wait.

Presentation is loading. Please wait.

HPDCS Research Group Research Focus STM Systems Dependability of STM Performance Modelling of STM EURO-TM | 1 st Plenary.

Similar presentations


Presentation on theme: "HPDCS Research Group Research Focus STM Systems Dependability of STM Performance Modelling of STM EURO-TM | 1 st Plenary."— Presentation transcript:

1 HPDCS Research Group http://www.dis.uniroma1.it/~hpdcs Research Focus STM Systems Dependability of STM Performance Modelling of STM EURO-TM | 1 st Plenary Meeting | Paris 2011 Roberto Palmieri (PhD Student) “Sapienza” University of Rome Italy Pierangelo Di Sanzo (PhD Student) “Sapienza” University of Rome Italy

2 HPDCS Research Group http://www.dis.uniroma1.it/~hpdcs Dependability Issues of STMs  In STM systems, manipulated data and related statements are not natively logged on stable storage  Data-audit loss in case of crashes  Periodic logging (check-pointing) could be employed, however with time-granularity not adequate to the proper operation grain EURO-TM | 1 st Plenary Meeting | Paris 2011 REPLICATION

3 HPDCS Research Group http://www.dis.uniroma1.it/~hpdcs Active Replication + OAB  Active Replication (AR) is a common replication scheme  In AR each replica keeps the entire shared data-set and executes the same transactions in the same order  Optimistic Atomic Broadcast protocol (OAB) is a group communication system involved EURO-TM | 1 st Plenary Meeting | Paris 2011 (example of software architecture replica)

4 HPDCS Research Group http://www.dis.uniroma1.it/~hpdcs High delays (1/2msec) is in conflict with the growth of available resources in each nodes and with small transaction execution time (typical of STMs) Solution could be optimistically overlap local processing with replica coordination's: COORDINATION PHASES WITHOUT OVERLAP (AB) to-broadcast (m) to-delivery (m) PROCES S m PROCES S m COORDINATION PHASES WITH OVERLAP (OAB) to-broadcast (m) to-delivery (m) PROCESS m opt-delivery (m) Overlapping Processing EURO-TM | 1 st Plenary Meeting | Paris 2011

5 HPDCS Research Group http://www.dis.uniroma1.it/~hpdcs STR FRAMEWORK  Speculative Transactional Replication Framework  Until the arrive of TO-Delivery, set of optimistically delivered (unordered) transactions could be processed in speculative way  Key Idea -> STR Framework on-line identifies all and only transaction serialization orders that would cause optimistically executed transactions to exhibit distinct outcomes.  Properties: Consistency, Non-redundancy, Completeness  Graph based Concurrency Control:  Speculative Polygraph EURO-TM | 1 st Plenary Meeting | Paris 2011

6 HPDCS Research Group http://www.dis.uniroma1.it/~hpdcs STR FRAMEWORK EURO-TM | 1 st Plenary Meeting | Paris 2011

7 HPDCS Research Group http://www.dis.uniroma1.it/~hpdcs AGGRO  AGGRessively Optimistic replication protocol  Tailored for network with spontaneous order (Opt-Delivery order matches TO-Delivery order)  Optimistic processing aimed to follow the optimistic delivery order  The key idea -> Uncommitted data item versions are aggressively made visible to other transactions independently of whether the creating transactions will be eventually committed  Transactions abort/retry materializing a history compliant with optimistic delivery order EURO-TM | 1 st Plenary Meeting | Paris 2011

8 HPDCS Research Group http://www.dis.uniroma1.it/~hpdcs AGGRO EURO-TM | 1 st Plenary Meeting | Paris 2011

9 HPDCS Research Group http://www.dis.uniroma1.it/~hpdcs Opportunistic Speculation in Actively REplicated Transactional Systems The snapshot miss event is used to opportunistic exploring additional serialization orders The activation of new transaction instance involves any transaction originally serialized after that (like a wave on a different Speculative serialization order) OSARE EURO-TM | 1 st Plenary Meeting | Paris 2011

10 HPDCS Research Group http://www.dis.uniroma1.it/~hpdcs Transactional systems performance models: why? system performance analysis scalability analysis identifying performance bottlenecks …. performance comparison among different concurrency control algorithms (CCAs) what-if analysis what would happen if I add one more thread what would happen if I change CCA …. evaluation of new CCAs …. Applications: EURO-TM 1 st Plenary Meeting Paris 2011

11 HPDCS Research Group http://www.dis.uniroma1.it/~hpdcs queuing and processing delay in accessing hardware resources (CPU, shared bus, …) data conflict in accessing shared data items mutual dependence In transactional systems performance is affected by two factors: data conflict hardware resources usage abort rate transaction response time Building transactional systems performance model… EURO-TM 1 st Plenary Meeting Paris 2011

12 HPDCS Research Group http://www.dis.uniroma1.it/~hpdcs data conflict hardware resources usage abort rate transaction response time (abort probability increases) (transactions re-run many times)(queuing time increases) (data items utilization increases) …data conflict increases… …abort rate increases… …hardware resources usage increases… …transaction response time increases… Suppose that at some point data conflict increases Example (with optimistic concurrency control): EURO-TM 1 st Plenary Meeting Paris 2011

13 HPDCS Research Group http://www.dis.uniroma1.it/~hpdcs Performance modelling approach two separated modelling layers: Iterative approach to estimate system performance indicators 1) hardware resources model 2) data conflict model queue network model hardware resources model data conflict model different approaches EURO-TM 1 st Plenary Meeting Paris 2011

14 HPDCS Research Group http://www.dis.uniroma1.it/~hpdcs transaction non-transactional code block thread model begin commit read/ write code block code block code block.. transaction model back-off t begin t write /t read t commit t tcb t ntcb t backoff t_: expected completion time (input into the model) read/ write code block Performance modelling approach: data conflict model EURO-TM 1 st Plenary Meeting Paris 2011

15 HPDCS Research Group http://www.dis.uniroma1.it/~hpdcs State (i, j): i is the number of threads which are running transactions and j the number of threads in back-off. CTMC transition rates depend on: λ = 1/ t ntcb : transaction arrivals rate μ i :(=1/ r t,i ) txs run service rate in state (i,*) p c,i : probability to successfully commit in state (i,*) State transition diagram of CTMC with k = 3 Threads execution is modeled via a Continuous Time Markov Chain (CTMC) - μ i and p c,I are input from the transaction modelling layer EURO-TM 1 st Plenary Meeting Paris 2011

16 HPDCS Research Group http://www.dis.uniroma1.it/~hpdcs iterations : Iterations end when the difference between two consecutive values of p c is < є For each state (i,*) of CTMC: initial settings: CCA modelling equations CCA modelling parameters update concurrency control algorithm model EURO-TM 1 st Plenary Meeting Paris 2011

17 HPDCS Research Group http://www.dis.uniroma1.it/~hpdcs Model Validation: Model vs. discrete event simulation CCA: lazy locking + read validation (TL2) testing workload: - three transactional classes - uniform data accesses EURO-TM 1 st Plenary Meeting Paris 2011

18 HPDCS Research Group http://www.dis.uniroma1.it/~hpdcs Thank you EURO-TM 1 st Plenary Meeting Paris 2011


Download ppt "HPDCS Research Group Research Focus STM Systems Dependability of STM Performance Modelling of STM EURO-TM | 1 st Plenary."

Similar presentations


Ads by Google