) g: Q! g+ T8 x) ?5 k1 L/ t- T + L8 r' x+ K; U* X' z
. ~) h8 w& |/ v$ X. @0 R7 j
( c O& C; ^1 R
参赛密码 A6 C! Y& {8 O! U4 Q# V4 A
(由组委会填写)
7 s+ X. Y+ P/ Q6 Z
参赛队号 ; Y' T. F7 |" e4 S5 d1256 * N2 v+ v2 m" y, ^+ R- Z! I3 l, r O6 D1 ^+ Z4 _. Y5 s, c
, L2 }; F+ }; q% ]/ P' r# E所选题目) T N4 @: ^, T0 E
A 6 C! \% V2 U: ] % `% p" t) N ]- @: U( N; U* ~0 G2 O
英文摘要(选填)
Abstract
Thanks to the need of the development of networks and information ,high-performance machines choose to use parallel processing technology.At present, the fields have accumulated a large number of serial programs, and ; s. ?; W8 j7 x. s, Zthe demand for computing power is getting higher and higher,How to change serial program . ~1 t( p5 \# ]# H* h: mto parallel processing to meet the users' needs is especially important.many desktops and laptops use6 K% u. _8 b( k% y: p: H
dual-core and multi-core CPU widely, this paper,we establish the model of changing serial program5 j- z a/ j* i9 C1 f/ L* x
to parallel program ,and enable the program to run on two CPU cores in parallel computing in order to improve the efficiency of the overall count.On this issue, this paper establish two mathematical models ,serial program division model and load balancing model 8 H0 H2 x! n3 K" x, k
2 ^1 J% e7 ~% u: s6 \$ a) l' @
model 1 :serial program division model, that is, to solve how to change the serial program to parallel program.Firstly, through the analysis of whether there is correlation , 1 T% }* F R! t0 L; Q3 z2 Iwe establish5 i6 f" e, L) S# W+ P. s0 p
idealized model of serial program division.divied program which is completely non-existent between the correlation can be assigned to run two different CPU independently/ ?$ x0 {2 p) e0 G# Q9 U" y2 a
^5 ], u& E1 ?# f; M9 ?5 s) V d" U4 nIn fact ,most of divied programs of serial programs 2 c) h3 d2 n$ {9 _* \9 Hhave relationship among them ,Rare of them can be divied into subprograms which have no relationship .If we try to reduce the relationship, we can also raise the Nuclear CPU efficiency of parallel execution.So,we choose a kind of algorithm named RPDMA which can reduce the relationship,then a general model is established to change the serial program into parallel program , N1 G5 s) o5 c+ K. _ 9 u; v7 n+ v- S; `& imodel 2:we establish the load balancing model which can range the different parallel program to different CPUs, To achieve the most efficient load balancing goal.we use a C programming to simulation the computing process of computer inorder to reach the high efficiency of load balancing.