Sök:

Optimering av prestanda och utnyttjande av flertrådsteknik


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.

Författare

Daniel Gustafsson Christoffer Öberg

Lärosäte och institution

Linköpings universitet/Institutionen för datavetenskap

Nivå:

"Högskoleuppsats". Självständigt arbete (examensarbete) för att erhålla högskoleexamen

Läs mer..