Research and Application of Distributed Parallel Algorithm on Traffic Simulation
- Author
- ShiChuanHong
- Advisor
- ChenZhen
- School
- Jilin University
- Major
- Applied Computer Technology
- Classification
- TP391.9 Computer simulation
- Degree
- Master's thesis
- Year
- 2007
- Downloads
- 241
- Citations
- 2
Abstract
With the accelerating development of the market and economy, thetransportation becomes very busy and the number of various vehiclesincreases very quickly, which makes the traffic demand increase promptlyand the traffic facilities lag behind the demand. The contradiction betweenthe complex composition of traffic flow and backward methods of trafficcontrol is becomingmoreandmoreoutstanding. Abovetwoaspects interactwith each other and lead to serious traffic jam and immeasurable negativesocialinfluence.Trafficjamhasbecomethe‘bottleneck’inthedevelopmentofeconomyandsocietytosomeextent.It is not themosteffectivewaytosettlethequestionoftrafficjam onlyby increasing the road area or the road length simply. The other keyquestion is to take the scientific organization and management measure tomake full use of the existing traffic network and make the traffic flow ingood order to the furthest extent. This needs to make deep research of thetrafficcharacteristics.Computersimulationisoneofthemosteconomicandeffectivewaystodosuchresearch.Asaresult,developinganewgenerationofmicroscopictrafficsimulationmodelhasbecomeanurgentandimportanttaskforscienceandtechnologyofourcountry.Microscopic traffic network simulation describes each vehicle entities’movements.Whenthescaleoftrafficnetworkbecomeslarger,thespeedsoftraffic network will slow down and simulation computing also needs muchtime and resources. Temporally, it is hard to achieve computation with asingle CPU. Because of the mainframe computer’s large price, it is not easyto popularize widely. However, the distributed cluster has such traits:autonomy, parallel, expansibility, modularity and low cost etc. And it alsoacceleratessimulationspeedsandcomputationalefficiency.Consequently,it isaneffectivemeasuretoenhancesimulationspeedsandefficiency,managetraffic congestion and control reality in traffic network simulation with thedistributedparallelcomputingmethods.According to parallel characteristics of traffic network simulation andweak relativity of differert simulation area computing, domaindecomposition method, which divides computational loads into someapproximately equal parts, is used in traffic network. An individual PC ofthe cluster system processes each part. At last, the total simulation resultsare generated. In simulation process, parallel program uses master-slavearchitecture to equally allocate computational load to each processor ofcluster system. The master process controls general scheduling and slaveprocess is reasonpasible for the computatiton of each childnetwork. Inparallel trafficnetworksimulation,tokeeploadbalancingofeachprocessorand minimize communication spending network-partition is a veryimportantstep.Accordingtonetwork-topalogyarchitectures,trafficnetworkis decomposed into several sub-networks of similar size. And eachprocessor of parallel computer carries out simulation procedure for one ofthese sub-networks, which exchanges vehicle information among thesesub-networkstocompleteparallelsimulationofentiretrafficnetwork.Study on distributed and parallel simulation is a rapidly developingresearch area of international simulation field. This article researchesparallel characteristics, constructs parallel simulation data structure oftrafficnetworkandbuilds trafficsimulationplatform basedonMPI/OOMPIparallel computational library. Intersections are viewed as basic parallelsimulation unit. Metis program library is used to cut the large trafficnetwork into the approximately equal several parts, which are processedwith each processor. This effectively transfers the loads to each slaveprocess.Thespeedandefficiencyofparallelsimulationareimproved.Parallel simulation performances mostly are evaluated by computational complexity, including time complexity and dimensionalcomplexity. The goal of parallel simulation decreases time as possible.Generallyit is implemented byincreasingthe dimensional complexity, suchas dimensions and number of processors. Parallel simulation programcomplexity has great difference with sequential program. It has manyfactors need to be considerable, such as workload, execution time, numberofprocessors,speed-up,efficiency,extensibilityandgranularityetc.At last this article mostly describes parallel algorithm efficiency fromthe following four aspects, which include execution time, speed-up,efficiencyand extensibility, in 5 different traffic networks at 1-8 processors.And it is concluded that when the traffic network is small, there is a mostoptimized number of nodes machine to get the greatest efficiency.Temporally, the parallel computing efficiency is more worthy than timespent in communication and synchronization. When the traffic network islarge, the much efficiency, speed-up can be got. The thick granularitypartition is more proper for parallel microscopic traffic simulation. Whenthe traffic network is large, we can get more parallel efficiency, speed-upandextensibility.
Table of contents
Summary 4-7
first chapter 7-10
1.1 relying on the project 7
1.2 research background and significance 7 -8
1.3 research objectives and methods 8-9
1.4 Chapter Summary 9-10
Chapter parallel machines and workstation clusters Profile 10-15
2.1 parallel machine development 10
2.2 workstation cluster emergence and development 10-12
2.3 workstation cluster key technology 12 -13
2.4 the importance of the development workstation clusters 13-15
Chapter parallel programming and parallel computing libraries 15-27
3.1 parallel programming model 15-18
3.1.1 SPMD parallel programming model 16-17
3.1.2 MPMD parallel program 17-18
3.2 parallel algorithm 18-20
3.2.1 parallel Algorithms classification 18-19
3.2.2 parallel algorithm design 19-20
3.3 parallel programming libraries 20-22
3.3.1 PVM parallel programming 20-21
3.3.2 MPI parallel programming 21-22
3.3.3 PVM and MPI 's Compare 22
3.4 MPI parallel program design 22-27
3.4.1 MPI library structure 22-23
3.4.2 MPI of 6 basic functions 23-26
3.4.3 MPI other aspects 26-27
Chapter libraries required by the system installation and configuration 27-34
4.1 visits LAN machines configured 27-28
4.2 MPI / OOMPI installation 28-31
4.2.1 MPI installation 28-30
4.2.200 MPI installation 30-31
4.3 Linux ODBC data source for the installation and configuration 31-34
Chapter cluster traffic simulation system architecture structural design 34-67
5.1 software overall framework 34
5.2 system functional requirements 34-39
5.3 system data dictionary 39-40
5.3.1 system entity data table 39-40
5.3.2 showing the relationship between the tables 40
5.4 Road Network representation 40-41
5.5 analog thinking 41-45
5.5.1 analog overall framework of ideas 41-42
5.5.2 to cross port for the simulation object 42-45
5.6 traffic network simulation parallel algorithm design 45-54
5.6.1 parallel simulation data structures to establish 45-47
5.6.2 Road Network decomposition 47-48
5.6.3 Road Network segmentation algorithm 48-54
5.7 analog parallel road network benefit analysis 54-67
5.7.1 complexity analysis of parallel algorithms 55-58
5.7.2 parallel -benefit analysis 58-67
Chapter VI Conclusion 67-68
References 68-69
participate in research projects during the master's degree and published academic papers 69-71
Summary 71-74
Abstract 74-77
Thanks 77-78
instructor and author 78
Related dissertations
- Realization and Research of Microscopic Traffic Flow Simulation on Computer
- Research on Interface of Parallel Application for the Grid
- Research on Data Acquisition of3D Laser Point Scanner and the Algorithm of Hole-repairing and Smoothing
- Rough Set Attribute Reduction Algorithm Based on GA and MapPreduce
- Research and Implementation of DNS64Key Technology in the IPv4/IPv6Transition
- Optimization of CUDA-based Parallel SOM Algorithm and Its Application
- Research on Subtree Results Generation of XML Keyword Search
- The Design and Implementation of the Hong Kong-zhuhai-macau Bridge Traffic Simulation System
- Research and Practice on Traffic Simulation System Based on Multi-User Virtual Driving
- A Scalable Implementation of Adaptive Directional Lifting Wavelet Based Image Decomposition on CUDA
- Parallel distributed processing and application in rendering based on
- Research on Large-scale Unstructured Data Processing of Index and Visualization
- Operation Research and Implement of String Type Data in Column Database
- Research and Implementation of Checkpoint System Based on Embeded Multi-core Environment
- A Task Scheduling System Model Based on Parallel Resource Attribute Selection
- Design and Implementation of Vectorized FFTs on the YHFT-Matrix
- The Research on Multichannel Parallel Signals Processing of Lidar Ranging System Based on FPGA
- The Research and Implement of Virtualization Technology Based on Cluster of Server
- Research on the Implementation of High-Speed Image Decompression System Based on Parallel Technology
- Research on Joint Parallel Algorithm of H.264Encoders and Decoders