Spelling suggestions: "subject:"transaction""
151 |
Scalable and Transparent Parallelization of Multiplayer GamesSimion, Bogdan 15 February 2010 (has links)
In this thesis, we study parallelization of multiplayer games using software Transactional Memory (STM) support. We show that STM provides not only ease of programming, but also better scalability than achievable with state-of-the-art lock-based programming for this realistic high impact application.
We evaluate and compare two parallel implementations of a simplified version (named SynQuake) of the popular game Quake. While in STM SynQuake support for maintaining consistency of each potentially complex game action is automatic, conservative locking of surrounding objects within a bounding-box for the duration of the game action is inherently needed in lock-based SynQuake. This leads to higher scalability of STM SynQuake versus lock-based SynQuake due to increased false sharing in the latter. Task assignment to threads has a second-order effect on scalability of STM-SynQuake, impacting the application's true sharing patterns. We show that a locality-aware task assignment provides the best trade-off between load balancing and conflict reduction.
|
152 |
Overlay Architectures for FPGA-Based Software Packet ProcessingMartin, Labrecque 16 June 2011 (has links)
Packet processing is the enabling technology of networked information systems
such as the Internet and is usually performed with fixed-function custom-made
ASIC chips. As communication protocols evolve rapidly, there is increasing
interest in adapting features of the processing over time and, since software
is the preferred way of expressing complex computation, we are interested in
finding a platform to execute packet processing software with the best
possible throughput. Because FPGAs are widely used in network equipment and
they can implement processors, we are motivated to investigate executing
software directly on the FPGAs. Off-the-shelf soft processors on FPGA fabric
are currently geared towards performing embedded sequential tasks and, in
contrast, network processing is most often inherently parallel between packet
flows, if not between each individual packet.
Our goal is to allow multiple threads of execution in an FPGA to reach a
higher aggregate throughput than commercially available shared-memory soft
multi-processors via improvements to the underlying soft processor
architecture. We study a number of processor pipeline organizations to
identify which ones can scale to a larger number of execution threads and find
that tuning multithreaded pipelines can provide compact cores with high
throughput. We then perform a design space exploration of multicore soft
systems, compare single-threaded and multithreaded designs to identify
scalability limits and develop processor architectures allowing threads to
execute with as little architectural stalls as possible: in particular with
instruction replay and static hazard detection mechanisms. To further reduce
the wait times, we allow threads to speculatively execute by leveraging
transactional memory. Our multithreaded multiprocessor along with our
compilation and simulation framework makes the FPGA easy to use for an average
programmer who can write an application as a single thread of computation with
coarse-grained synchronization around shared data structures. Comparing with
multithreaded processors using lock-based synchronization, we measure up to
57\% additional throughput with the use of transactional-memory-based
synchronization. Given our applications, gigabit interfaces and 125 MHz system
clock rate, our results suggest that soft processors can process packets in
software at high throughput and low latency, while capitalizing on the FPGAs
already available in network equipment.
|
153 |
Relaxing Concurrency Control in Transactional MemoryAydonat, Utku 05 January 2012 (has links)
Transactional memory (TM) systems have gained considerable popularity in the last decade driven by the increased demand for tools that ease parallel programming. TM eliminates the need for user-locks that protect accesses to shared data. It offers performance close to that of fine-grain locking with the programming simplicity of coarse-grain locking. Today’s TM systems implement the two-phase-locking (2PL) algorithm which aborts transactions every
time a conflict occurs. 2PL is a simple algorithm that provides fast transactional operations. However, it limits concurrency in applications with high contention because it increases the rate of aborts. We propose the use of a more relaxed concurrency control algorithm to provide better concurrency. This algorithm is based on the conflict-serializability (CS) model. Unlike 2PL, it allows some transactions to commit successfully even when they make conflicting accesses. We implement this algorithm both in a software TM system as well as in a simulator of a hardware TM system. Our evaluation using TM benchmarks shows that the algorithm improves the performance of applications with long transactions and high abort rates. Performance is improved by up to 299% in the software TM, and up to 66% in the hardware simulator. We argue that these improvements come with little additional complexity and require no changes to the transactional programming model. This makes our implementation feasible
|
154 |
Software Transactional Memory Building BlocksRiegel, Torvald 15 August 2013 (has links) (PDF)
Exploiting thread-level parallelism has become a part of mainstream programming in recent years. Many approaches to parallelization require threads executing in parallel to also synchronize occassionally (i.e., coordinate concurrent accesses to shared state). Transactional Memory (TM) is a programming abstraction that provides the concept of database transactions in the context of programming languages such as C/C++. This allows programmers to only declare which pieces of a program synchronize without requiring them to actually implement synchronization and tune its performance, which in turn makes TM typically easier to use than other abstractions such as locks.
I have investigated and implemented the building blocks that are required for a high-performance, practical, and realistic TM. They host several novel algorithms and optimizations for TM implementations, both for current hardware and future hardware extensions for TM, and are being used in or have influenced commercial TM implementations such as the TM support in GCC.
|
155 |
Architectural support for high-performing hardware transactional memory systemsLupon Navazo, Marc 23 December 2011 (has links)
Parallel programming presents an efficient solution to exploit future multicore processors.
Unfortunately, traditional programming models depend on programmer’s skills for synchronizing
concurrent threads, which makes the development of parallel software a hard and errorprone
task. In addition to this, current synchronization techniques serialize the execution of
those critical sections that conflict in shared memory and thus limit the scalability of multithreaded
applications.
Transactional Memory (TM) has emerged as a promising programming model that solves
the trade-off between high performance and ease of use. In TM, the system is in charge of
scheduling transactions (atomic blocks of instructions) and guaranteeing that they are executed
in isolation, which simplifies writing parallel code and, at the same time, enables high concurrency
when atomic regions access different data. Among all forms of TM environments,
Hardware TM (HTM) systems is the only one that offers fast execution at the cost of adding
dedicated logic in the processor.
Existing HTMsystems suffer considerable delays when they execute complex transactional
workloads, especially when they deal with large and contending transactions because they lack
adaptability. Furthermore, most HTM implementations are ad hoc and require cumbersome
hardware structures to be effective, which complicates the feasibility of the design. This thesis
makes several contributions in the design and analysis of low-cost HTMsystems that yield good
performance for any kind of TM program.
Our first contribution, FASTM, introduces a novel mechanism to elegantly manage speculative
(and already validated) versions of transactional data by slightly modifying on-chip memory
engine. This approach permits fast recovery when a transaction that fits in private caches is discarded.
At the same time, it keeps non-speculative values in software, which allows in-place
x
memory updates. Thus, FASTM is not hurt from capacity issues nor slows down when it has to
undo transactional modifications.
Our second contribution includes two different HTM systems that integrate deferred resolution
of conflicts in a conventional multicore processor, which reduces the complexity of the
system with respect to previous proposals. The first one, FUSETM, combines different-mode
transactions under a unified infrastructure to gracefully handle resource overflow. As a result,
FUSETM brings fast transactional computation without requiring additional hardware nor extra
communication at the end of speculative execution. The second one, SPECTM, introduces a
two-level data versioning mechanism to resolve conflicts in a speculative fashion even in the
case of overflow.
Our third and last contribution presents a couple of truly flexible HTM systems that can
dynamically adapt their underlying mechanisms according to the characteristics of the program.
DYNTM records statistics of previously executed transactions to select the best-suited strategy
each time a new instance of a transaction starts. SWAPTM takes a different approach: it tracks
information of the current transactional instance to change its priority level at runtime. Both
alternatives obtain great performance over existing proposals that employ fixed transactional
policies, especially in applications with phase changes.
|
156 |
ReserveTM: Optimizing for Eager Software Transactional MemoryJain, Gaurav January 2013 (has links)
Software Transactional Memory (STM) helps programmers write correct concurrent code by allowing them to identify atomic sections rather than focusing on the mechanics of concurrency control. Given code with atomic sections, the compiler and STM runtime can work together to ensure proper controlled access to shared memory. STM runtimes use either lazy or eager version management. Lazy versioning buffers transaction updates, whereas eager versioning applies updates in-place. The current set of primitives suit lazy versioning since memory needs to be accessed through the runtime. We present a new set of runtime primitives that better suit eager versioned STM.
We propose a novel extension to the compiler/runtime interface, consisting of memory reservations and memory releases. These extensions enable optimizations specific to eager versioned runtimes. A memory reservation allows a transaction to perform instrumentation-free access on a memory address. A release allows a read-only address to be modified by another transaction. Together, these reduce the instrumentation overhead required to support STM and improve concurrency between readers and writers. We have implemented these primitives and evaluated its performance on the STAMP benchmarks. Our results show strong performance and scalability improvements to eager versioned algorithms.
|
157 |
Online Discount Coupon Promotions & Repurchasing Behaviors : The Groupon CaseLvovskaya, Yulia, Tan, Sheena, Zhong, Chloé January 2012 (has links)
In recent years, online discount coupons provided through deal-of-the-day websites have grownrapidly. Perceived as a positive opportunity for local merchants to promote themselves in themarket, a mutual exchange occurs as consumers are able to simultaneously benefit from promotionsand discounts on services and products. In fact, studies and research (the literature) can unite on the notion that online price promotionshave an immediate positive impact on sales. However, there is less agreement regarding repeatpurchasing effects. Promotion usage effects may exist in which repurchase rates are negativelyaffected by the fact that a promotion was used to make a purchase. In that respect, the problem wehave identified concerns the customers likeliness of returning to the local merchant after redeeminga coupon from the online discount coupon website. With regard to this matter, the purpose of our thesis was to describe and analyze the factors that influence the likelihood of repurchase after a transaction on an online discount website. In orderto fulfill our purpose, we conducted a quantitative study with a deductive approach on thecustomers of Groupon Stockholm. The empirical findings of our study show that price, quality and service are important factors for repurchasing, while the location of a business has an indifferent role. We further conclude that the customers appear to be loyal to the online discount websites and respectively, the benefits gained from these websites rather than the local merchants and businesses. Thus, we round up this thesis by including various managerial implications with respect to the local merchant’s perspective and strategies of improving a relational customer relationship.
|
158 |
Hur en entreprenör kommunicerar sin vision : En kvalitativ studie genomförd inom privat förskoleverksamhetAskeblad, Madelene, Hultman, Therese January 2011 (has links)
The purpose of this thesis is to describe how an entrepreneur and leader, transmits a vision through communication. Furthermore what kind of feedback the leader finds that he/she acquire. We want to study how entrepreneurship and leadership appears at a private preschool and how the entrepreneur and leader use it to communicate his/her vision. This thesis is based on qualitative method using one in-depth interview with CEO at Helianthus AB, documents and one observation at a parental meeting. The theories of which this study is based on consist of entrepreneurship, transformational and transactional leadership, vision and communication. The theories used in this thesis regard entrepreneurship, transformational and transactional leadership, vision and communication. Our study strengthened the assumption that our respondent is an entrepreneur and leader according to chosen theories. She communicates her vision to people that surrounds her through her entrepreneurship and leadership. The communication differs depending on whom she communicates to. According to the chosen theory we came to the conclusion that our respondent has good communication with her customers (children and parents) and employees. However, her communication with Huddinge municipality could not be proved as good communication. Our study showed that our respondent mainly uses personal communication.
|
159 |
Efficient Conditional Synchronization for Transactional Memory Based SystemNaik, Aniket Dilip 10 April 2006 (has links)
Multi-threaded applications are needed to realize the full potential
of new chip-multi-threaded machines. Such applications are
very difficult to program and orchestrate correctly, and transactional
memory has been proposed as a way of alleviating some of the programming
difficulties. However, transactional memory can directly
be applied only to critical sections, while conditional synchronization
remains difficult to implement correctly and efficiently.
This dissertation describes EasySync, a simple and inexpensive extension
to transactional memory that allows arbitrary conditional
synchronization to be expressed in a simple and composable way.
Transactional memory eliminates the need to use locks and provides
composability for critical sections: atomicity of a transaction is
guaranteed regardless of how other code is written. EasySync provides
the same benefits for conditional synchronizations: it eliminates
the need to use conditional variables, and it guarantees wakeup
of the waiting transaction when the real condition it is waiting for
is satisfied, regardless of whether other code correctly signals that
change. EasySync also allows transactional memory systems to efficiently
provide lock-free and condition variable-free conditional
critical regions and even more advanced synchronization primitives,
such as guarded execution with arbitrary conditional or guard code.
Because EasySync informs the hardware the that a thread is
waiting, it allows simple and effective optimizations, such as stopping
the execution of a thread until there is a change in the condition
it is waiting for. Like transactional memory, EasySync is backward compatible
with existing code, which we confirm by running unmodified
Splash-2 applications linked with an EasySync-based synchronization
library. We also re-write some of the synchronization
in three Splash-2 applications, to take advantage of better code readability,
and to replace spin-waiting with its more efficient EasySync
equivalents.
Our experimental evaluation shows that EasySync successfully
eliminates processor activity while waiting, reducing the number of
executed instructions by 8.6% on average in a 16-processor CMP.
We also show that these savings increase with the number of processors,
and also for applications written for transactional memory
systems. Finally, EasySync imposes virtually no performance overheads,
and can in fact improve performance.
|
160 |
The Research about the operation for Qualities of Leadership, Management Control Systems and Operating Performance - T Bank branch in Kaohsiung AreaOu, Pi-Chuan 06 July 2012 (has links)
Abstract
Drucker (1954) in the book "The Practice of Management¡¨ mentioned each enterprise the manager gives the corporate life and energy and the resources is in the hands of "people". A good manager have large-minded¡Bthe integrated ability and remove the personal preferences in order to have everyone is competent at his job and achieve the best configuration at the human resources allocation, so this study is to understand the behavior of the leadership of the branch manager for the bank is assets or liabilities. This study is focus on the manager's diagnostic control system and interactive control systems under the management control systems and the leadership qualities of transformational leadership and transactional leadership has a positive correlation with business performance. The study method is by T Bank's questionnaire then collection data, collation and analysis. From this study find out the good operator must be sustained and indeed encouragement to employees, to be optimistic for the future and positive thinking when encounter something, the branch's performance appraisal should bulletins regularly to keep their employees informed manager treat everyone as fair without black box, year-end performance appraisal and promotion is fair, to encourage their employees to think about how to solve problems, and to train them the ability to solve problems independently. Resourcefulness in the service attitude depend on the different customer's requirements, for customer must has empathy instead of static regularization service will make customers feel hypocritical can not impress the customer.
|
Page generated in 0.5742 seconds