Optimering av prestanda och utnyttjande av flertrådsteknik
Independent thesis Basic level (university diploma), 10 credits / 15 HE creditsStudent thesisAlternative title
Optimization of performance and utilization of multithreading (English)
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.
Place, publisher, year, edition, pages
2009. , 39 p.
Flertrådsteknik, Optimering, Visual Basic, .NET
IdentifiersURN: urn:nbn:se:liu:diva-53468ISRN: LIU-IDA/LITH-EX-G--09/016--SEOAI: oai:DiVA.org:liu-53468DiVA: diva2:289759
2009-12-17, al-Khwarizmi, Linköping, 13:15 (Swedish)
Lambrix, Patrick, Professor