Return to search

Optimering av prestanda och utnyttjande av flertrådsteknik / Optimization of performance and utilization of multithreading

<p>The purpose of this thesis was to help the company Medius AB with optimization of selected parts in an existing system to minimize the execution time by implementing multithreading. The idea was to manipulate the code so that calculations could be executed at the same time. The main work in this thesis consisted of three optimizations. The first one was to reconstruct a big “for-loop” so it would execute every loop's work in an own thread. The second optimization also was a reconstruct of a “for-loop” so it could execute the work in different threads. The third and last optimization consisted of reconstructing a stored procedure on the database, so different parts of it each could be executed in an own thread to create data at the same time. To implement the optimizations Visual Basic .NET and its support for multithreading and connection-pools was used. The result of the optimizations meant that one of the modules could be executed more efficiently and it was 12 % faster. The other modules execution time was more efficient by 25 % faster. The meanings and requirements for this thesis are fulfilled by now letting the system make use of its resources in a better way.</p>

Identiferoai:union.ndltd.org:UPSALLA/oai:DiVA.org:liu-53468
Date January 2009
CreatorsGustafsson, Daniel, Öberg, Christoffer
PublisherLinköping University, Department of Computer and Information Science, Linköping University, Department of Computer and Information Science
Source SetsDiVA Archive at Upsalla University
LanguageSwedish
Detected LanguageEnglish
TypeStudent thesis, text

Page generated in 0.0021 seconds