Increased Efficiency of Energy Calculation : Using .NET 4.0

The purpose of this thesis is to investigate if one is able to make the calculations that are performed in the calculation engine, in a program that calculates energy consumption, faster by using a multi-core based architecture. To do this the new multi-core functionalities in .Net 4.0 were examined...

Full description

Bibliographic Details
Main Author: Blommé, Carl
Format: Others
Language:English
Published: Uppsala universitet, Institutionen för informationsteknologi 2010
Online Access:http://urn.kb.se/resolve?urn=urn:nbn:se:uu:diva-134254
Description
Summary:The purpose of this thesis is to investigate if one is able to make the calculations that are performed in the calculation engine, in a program that calculates energy consumption, faster by using a multi-core based architecture. To do this the new multi-core functionalities in .Net 4.0 were examined, in order to determine if they are usable in the current system. A prototype for the calculation engine was made with parallel programming. An evaluation of this code was made and compared to the previous code in order to be able to determine the gain in parallel programming. The comparison was made with tests using the Concurrency Visualizer of Visual Studio 10 and time measurements were taken on running code. The results that were received from parallelizing this program were that one can clearly see that those parts that got parallelized got a significant speed increase. The amount of time saved from parallelizing the code pales however in comparison to the amount of times the calculation engine takes to work with the database.