Font Size: a A A

Migration And Optimization Of One Application Protocols Simulator Software Under Linux Enviroment

Posted on:2012-07-11Degree:MasterType:Thesis
Country:ChinaCandidate:W LiuFull Text:PDF
GTID:2248330371467316Subject:Software engineering
Abstract/Summary:PDF Full Text Request
This article is based on a project to migrate application layer protocols simulator software from Windows platform to Linux platform. The benefit of this project is first company can focus on Linux platform, second during the migration the implementation can be optimized so that the performance can be improved. The performance indicators are number of concurrent session and resolution of timer.The article covers the whole process of the project, from requirement analysis to architecture design, to implementation.There are four parts. First part is introduction of the project. Second part is the function of simulator software, general principle of simulator software, software component, requirement analysis, and architecture design. Third part is the implementation of the migration and optimization, including Concurrent Network Programming, thread task design, High resolution timer, SCTP support by Linux kernel and general software optimization. The forth part is the analysis and thinking after the project was finished.The main achievements of this article are:implement mechanism is analyzed both on Windows Platform and Linux platform. The solution to implement high concurrent application layer protocols simulator software is analyzed, and a final solution for high concurrent simulator software was implemented. For high resolution multi-timers facility, different algorithm and solution are analyzed. A model is discussed to unify network events and timer events to a single thread. In the end, Linux timerfd_create is used. Using Linux kernel and epoll to support SCTP is implemented. And, the general technique to improve performance is discussed. Last, the problem still exists is discussed, and several options are supplied.
Keywords/Search Tags:Concurrent Network Programming, High resolution timer, SCTP protocol, Software Performance Optimization
PDF Full Text Request
Related items