Search engine for discovering works of Art, research articles, and books related to Art and Culture
ShareThis
Javascript must be enabled to continue!

Comparative Performance Analysis of Nested and Non-Nested Transactional Variables in Software Transactional Memory

View through CrossRef
In concurrent programming, Software Transactional Memory (STM) provides an efficient mechanism formanaging shared memory in parallel computations, avoiding common issues like locks and deadlocks. Acrucial aspect of STM systems is the implementation of transactional variables (TVars), whichsignificantly influence concurrency levels, execution time, and memory overhead. Two primaryimplementations of TVars—nested and non-nested—present distinct advantages and trade-offs. This studyevaluates and compares the effects of nested and non-nested TVar implementations on STM performance,focusing on concurrency, execution time, rollback complexity, and memory overhead. Using the Haskellprogramming language with STM libraries under GHC version 8.6.5, both implementations weredeveloped and tested on a system with an Intel Core i5-1035G1 CPU @ 1.20 GHz, 8 GB DDR4 RAM, anda 512 GB Intel 660p NVMe SSD running Windows 11 Pro. Each configuration executed multiple depositand withdrawal operations over ten iterations: the non-nested version processed approximately 20 STMoperations in a total time of 2.0 seconds, while the nested version performed about 50 operations in 4.0seconds due to additional nested balance adjustments. Execution time and memory usage were measuredusing Haskell’s runtime and heap profiling tools (+RTS -p -hy). The results demonstrate that nested TVarsimprove concurrency by localizing conflicts within sub-transactions, achieving an average operationalthroughput approximately 25% higher than the non-nested version (0.08 seconds per operation for nestedvs. 0.10 seconds for non-nested) and consuming about 38% less total heap memory (38,792 bytes vs.63,080 bytes). Non-nested TVars provide simpler implementation with slightly faster individual executionbut less effective conflict resolution under high load. These insights can guide developers in optimizingSTM-based systems by selecting appropriate TVar models based on the concurrency demands andcomplexity of their applications.
Slovenian Association Informatika
Title: Comparative Performance Analysis of Nested and Non-Nested Transactional Variables in Software Transactional Memory
Description:
In concurrent programming, Software Transactional Memory (STM) provides an efficient mechanism formanaging shared memory in parallel computations, avoiding common issues like locks and deadlocks.
Acrucial aspect of STM systems is the implementation of transactional variables (TVars), whichsignificantly influence concurrency levels, execution time, and memory overhead.
Two primaryimplementations of TVars—nested and non-nested—present distinct advantages and trade-offs.
This studyevaluates and compares the effects of nested and non-nested TVar implementations on STM performance,focusing on concurrency, execution time, rollback complexity, and memory overhead.
Using the Haskellprogramming language with STM libraries under GHC version 8.
6.
5, both implementations weredeveloped and tested on a system with an Intel Core i5-1035G1 CPU @ 1.
20 GHz, 8 GB DDR4 RAM, anda 512 GB Intel 660p NVMe SSD running Windows 11 Pro.
Each configuration executed multiple depositand withdrawal operations over ten iterations: the non-nested version processed approximately 20 STMoperations in a total time of 2.
0 seconds, while the nested version performed about 50 operations in 4.
0seconds due to additional nested balance adjustments.
Execution time and memory usage were measuredusing Haskell’s runtime and heap profiling tools (+RTS -p -hy).
The results demonstrate that nested TVarsimprove concurrency by localizing conflicts within sub-transactions, achieving an average operationalthroughput approximately 25% higher than the non-nested version (0.
08 seconds per operation for nestedvs.
0.
10 seconds for non-nested) and consuming about 38% less total heap memory (38,792 bytes vs.
63,080 bytes).
Non-nested TVars provide simpler implementation with slightly faster individual executionbut less effective conflict resolution under high load.
These insights can guide developers in optimizingSTM-based systems by selecting appropriate TVar models based on the concurrency demands andcomplexity of their applications.

Related Results

Primerjalna književnost na prelomu tisočletja
Primerjalna književnost na prelomu tisočletja
In a comprehensive and at times critical manner, this volume seeks to shed light on the development of events in Western (i.e., European and North American) comparative literature ...
Architectural support for high-performing hardware transactional memory systems
Architectural support for high-performing hardware transactional memory systems
Parallel programming presents an efficient solution to exploit future multicore processors. Unfortunately, traditional programming models depend on programmer’s skills for synchro...
Management and Transactional Analysis Approach in Group Counseling
Management and Transactional Analysis Approach in Group Counseling
The purpose of this study is to explore the application of Transactional Analysis in the context of group counseling. Transactional Analysis, developed by Eric Berne, is a psycholo...
Comparative evaluation of nested PCR for diagnosis of human brucellosis
Comparative evaluation of nested PCR for diagnosis of human brucellosis
Abstract Objectives: Brucellosis is a worldwide zoonotic disease with high morbidity in the absence of treatment. The early diagnosis of brucellosis is efficient to prevent...
Optimizing Deadlock Detection Strategies for Nested Transactions in Complex Systems
Optimizing Deadlock Detection Strategies for Nested Transactions in Complex Systems
Abstract Background Deadlock detection in nested transactions is a critical aspect of maintaining system stability and ensuring efficient transaction processing. In nested...
Hubungan Kepemimpinan Transaksional Preseptor Akademik Terhadap Kinerja Praktik Mahasiswa Keperawatan Universitas Malahayati Bandar Lampung
Hubungan Kepemimpinan Transaksional Preseptor Akademik Terhadap Kinerja Praktik Mahasiswa Keperawatan Universitas Malahayati Bandar Lampung
ABSTRACT Transactional leadership style is one of the factors that can improve the practical performance of nursing students. This leadership approach is needed to support the lear...
Theta-Gamma Phase-Amplitude Coupling Supports Working Memory Performance in the Human Hippocampus
Theta-Gamma Phase-Amplitude Coupling Supports Working Memory Performance in the Human Hippocampus
AbstractPhase-amplitude coupling (PAC) occurs in the human hippocampus during working memory and supports the contribution of the hippocampus in the maintenance of multiple items. ...
Pengaruh Kadar Air dan Kadar Abu terhadap Nilai Kalori Batubara Berdasarkan Analisis Rergesi Linier Berganda
Pengaruh Kadar Air dan Kadar Abu terhadap Nilai Kalori Batubara Berdasarkan Analisis Rergesi Linier Berganda
Abstract. Coal contains moisture in the air, ash, volatiles, and fixed carbon. Proximate analysis was conducted to determine these contents, and the calorific value of the coal was...

Back to Top