Migration and Optimization of One Application Protocols Simulator Software under Linux Enviroment

Author
LiuWei
Advisor
SongJunDe
School
Beijing University of Posts and Telecommunications
Major
Software Engineering
Classification
TP316.81
Degree
Master's thesis
Year
2011
Downloads
22
Citations
0

Request the full text

Abstract

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.

Table of contents

Summary 4-5 ABSTRACT 5-7 Chapter 1 Introduction 7-9 1.1 subject background 7-8 1.2 topics task 8 1.2.1 subject content 8 1.2.2 I assume the task of 8 1.3 thesis structure 8-9 Chapter II project analysis and architecture design 9-29 2.1 software features 9-13 2.2 simulation software principles 13-16 2.3 existing software architecture 16-19 2.3.1 client software configuration features 16-18 2.3.2 software engine side functionality parts 18-19 2.4 project needs analysis and architecture design 19-28 2.4.1 Requirements Analysis 19-20 2.4.2 project task decomposition 20-22 2.4.3 CPU to maximize the use of theoretical analysis 22-27 2.4.4 overall design 27-28 2.5 Summary 28-29 Chapter III software porting and performance improvements concrete realization 29-50 3.1 Selection and optimization of network communication mechanisms 29 - 39 3.1.1 Windows to complete the analysis port 29-32 analysis and use 3.1.2 Linux epoll model 32-34 3.1.3 reduce thread optimized synchronization between measures 34-37 3.1.4 using real-time scheduling policy to improve the thread priority 37-39 3.2 to achieve a number of high-precision timers 39-46 3.2.1 Linux platform, multi- timer to achieve 40-45 timer implemented to further optimize 3.2.2 45-46 3.3 optimizing the transport layer to support SCTP ??protocol other strategies nbsp 46-47 3.4 to improve performance ; 47-48 3.5 acceptance Test 48-49 3.6 summary 49-50 Chapter IV Conclusion 50-52 4.1 thesis summary 50 4.2 problems and prospects 50 -52 References 52-53 Thanks 53

Related dissertations

  1. Research of Distributed and Multi-path Transmission Based on Universal Network
    ChenYuXin ·Beijing Jiaotong University ·2012 ·Master's thesis
  2. Design and Implementation of Remote Medical Diagnosis System
    ZhangZuoZuo ·Tianjin University ·2012 ·Master's thesis
  3. GSM mobile core network SIGTRAN protocol stack based on the research and implementation of the network architecture
  4. Design and Implement an Online Securities Trading System
    ChenZhiMing ·Nanjing University of Technology ·2004 ·Master's thesis
  5. The high-precision laser time transfer technology
    LiZuo ·Shanghai Astronomical Observatory ·2003 ·Master's thesis