PSO And PPSO Algorithm Analysis

Superior Essays
The asynchronous algorithm is thus very similar to the synchronous algorithm, except that we update as much information as possible after each design point is analyzed. The inertia is only applied when design iteration is completed. Of course, this could result in some points of the next design iteration being analyzed before the inertia operator is applied for that design iteration. However, the influence on the overall performance of the algorithm seems to be negligible [24].

IV. PROPOSED PSO & PPSO ALGORITHMS The proposed architecture is based on PSO and PPSO algorithms to calculate execution time depicted below in figure 1. Additionally, in order to evaluate the execution time for software module, a proposed PPSO (Parallel PSO) algorithm
…show more content…
In PPSO, computation time of PSO can be reduced with the parallel structure. Parallel processing aims at producing the same results achievable using multiple processors with the goal of reducing the run time. The same steps described in PSO will be applied, but in step (a) PPSO will define how many group of processors needed for the cost function to be executed, because it can be designed to be 2n sets.

The performance of the Parallel PSO can be evaluated using Amdahl's Law Eq. [25].

Speedup (Sp) = 1/fs + fp/p
Where:
fs= serial fraction of code fp= parallel fraction of code P= number of processors
Suppose serial fraction of code (0.5), parallel fraction of code (0.5) and number of processors (2, 4, 8, 16, 32, 64, 128, 256, 512, and 1024).
If P=2: Sp= 1 / (0.5+0.25) = 1.33

Table 1: PPSO algorithm
P SP PPSO Elapsed Time
2 1.33 0.02
4 1.60 0.017
8 1.79 0.012
16 1.89 0.008
32 1.96 0.005
64 2.00 0.003
128 2.00 0.002
256 2.00
…show more content…
The third implementation uses PPSO where results are shown below in table 4:
Table 4: Results of PPSO x P Sp CF ET
1 2 1.33 58.73 0.02
2 4 1.60 24.48 0.017
3 8 1.79 15.00 0.012
4 16 1.89 5.85 0.008
5 32 1.96 5.85 0.005
6 64 2.00 5.85 0.003
7 128 2.00 5.34 0.002
8 256 2.00 2.73 0.001
9 512 2.00 2.73 0.001
10 1024 2.00 2.73 0.0003

In table 4 each test case (iteration) to optimize the cost function but elapsed time decreased compared with MCWA, PSO and shown below in figure 5:

Figure 5:Releationship between CF and ET in PPSO

In figure 5 shown relationships between CF and ET where found inverse relationship between them.

This paper introduces compared between PSO and PPSO where shown below in figure 6:

Figure 6:Releationship between PSO and PPSO

In figure 6 shown relationships between PSO and PPSO where elapsed time in PPSO decreased compared with PSO. In figure 7 shown relationships between SP, PSO and PPSO.

Figure 7:Releationship between SP, PSO and PPSO

In figure 7 shown inverse relationships between SP, PSO and PPSO Whenever an increase in speed occur where decreased in PSO and also more decreased in

Related Documents

  • Improved Essays

    Nt1310 Unit 7

    • 507 Words
    • 3 Pages

    Famanga Ngobeh Prof. Saunders Review Question Lab September 23, 2015 1. Move copies data from one memory location or register to another. The term “move” is a misnomer because data values in the source location aren’t removed. They’re tested, and copies of these values are placed in the destination location. Therefore, a move operator is really a copy operator.…

    • 507 Words
    • 3 Pages
    Improved Essays
  • Improved Essays

    Concurrency loss due to IO path critical sections (IPCS) Time lost in waiting queue (WT) to enter a critical section affects an application concurrency (AC), and impedes the application performance from scaling (AC ∝ 1 / WT) if a workload is bursty and highly parallelized. It is apparent that the wait time to enter a critical section is a function of the CS’s size (CSS) and the number of waiting threads (NWT) i.e. WT ∝ CSS * NWT. Furthermore, the work done (IO completed) is proportional to the trips made through the CSSs (i.e. IOs completed ∝ NWT). Therefore, existence of CSSs in IO path, high wait time, and large CSS’s size affects an application concurrency, and demands the measures to minimize their effects.…

    • 560 Words
    • 3 Pages
    Improved Essays
  • Improved Essays

    The second dataset ,named dataset2 contains Market Basket retails for sale data from one of china's markets unknowns. It contains 11040.0 transactions database, it has over 12 items and most of the transactions contain between 7 and 11 items. The third dataset ,named dataset 3 contains the retail list of medications from a pharmacy data from an anonymous china retail store. It contains 13454.0 transactions over 20 items and most of the transactions contain between 9 and 15 items.…

    • 959 Words
    • 4 Pages
    Improved Essays
  • Great Essays

    (TCO C) A project to remodel an office area has the following activities. (Hint: You will need to build an AIB diagram, perform a forward pass, and perform a backward pass to answer this question.) ............... a) What are the critical path activities? (5 points) b) What is the project's scheduled completion time?…

    • 961 Words
    • 4 Pages
    Great Essays
  • Improved Essays

    Nt1310 Unit 8 Lab Report

    • 494 Words
    • 2 Pages

    1.3.1 Measurement Overhead In this experiment, we found the latency incurred in measuring CPU cycles. This measurement of time overhead has to be subtracted from the forthcoming experiments. Methodology: We have used the RDTSC – RDTSCP instruction along with CPUID (serialize the instruction pipeline). This function fetches the count of CPU clock cycles.…

    • 494 Words
    • 2 Pages
    Improved Essays
  • Improved Essays

    The problem or the issue addressed is on how to parallelize the computation, distribute the data, and handle failures conspire to obscure the original simple computation with large amounts of complex code to deal with these issues. Contributions are simple powerful interface that gives parallelization and distribution of large scale systems. So to tackle the issue of parallelization, fault tolerance and distribution of data, they acquired the map and reduce primitives. The use of a functional model with user-specified map and reduce operations allows us to parallelize large computations easily and to use re-execution as the primary mechanism for fault tolerance.…

    • 868 Words
    • 4 Pages
    Improved Essays
  • Decent Essays

    In case where there are not enough bits to obtain the MSB of last block, multiplier is sign extended by one bit. Therefore Modified Booth Multiplication is a technique that allows for smaller, faster circuits by recoding the numbers that are multiplied. It is a standard technique used in chip design, and provide significant improvement over long multiplication technique [6]. III. SOFTWARE DESIGN Modified Booth Multiplier consist of three basic components namely Booth encoder (BE), Booth Selector (BS) and adder tree summation.…

    • 273 Words
    • 2 Pages
    Decent Essays
  • Decent Essays

    The second part involves finding the best speed for optimization. Eight different tests will be performed. Four in the first part and four in the second part. Each test will involve about 800 mL of the sample.…

    • 300 Words
    • 2 Pages
    Decent Essays
  • Improved Essays

    Aa 1624 Unit 3 Assignment

    • 471 Words
    • 2 Pages

    In unit 1 of the teaching mathematical literacy III: Data and Probability (EYAT 1624) you studied the requirements for a teaching-learning environment that will support your efforts as an innovative teacher. In this assignment, you are going to do research in your own classroom to determine whether you are creating an effective teaching-learning environment. At the end of this assignment, you will find a questionnaire that you must administer to learners. You will also find a table that will explain how each of the statements in the questionnaire is linked to aspects of an effective teaching-learning environment.…

    • 471 Words
    • 2 Pages
    Improved Essays
  • Improved Essays

    Polystyrene Heat Lab

    • 1264 Words
    • 6 Pages

    What do your results tell you? Are there any relationships, patterns or trends in your results? From our [processed] results, we can conclude that the polystyrene cup served as the least effective conductor of heat, the tin mug coming in at a close second. The most effective material for heat conduction was the plastic mug.…

    • 1264 Words
    • 6 Pages
    Improved Essays
  • Decent Essays

    Hydrate Lab Report

    • 473 Words
    • 2 Pages

    3. Explain how the following factors would affect the results of the lab. Give a specific direction of the effect on the formula you calculated and fully explain why this occurs. a. You did not heat the sample to a constant mass.…

    • 473 Words
    • 2 Pages
    Decent Essays
  • Improved Essays

    Assay Lab Report

    • 349 Words
    • 2 Pages

    For part 2 of the experiment (please refer to next page for Figure 3), Figure 3 shows a graph comparing the absorbance readings of the Glutamate-pyruvate aminotransferase serum with the time in minutes. A similar rate was predicted to occur for both the assays done. This would be characterized by the readings showing two parallel lines on the graph. However, the two first readings did not demonstrate this. This could possibly be due to different and insufficient amounts of NADH+ being added to the serums, which would mean that the reaction would not occur as fast as normal and at different rates.…

    • 349 Words
    • 2 Pages
    Improved Essays
  • Improved Essays

    In this lab we learned the basics of enzymes and how they work. We were able to perform a quantitative assay of the activity of an enzyme in a tissue extract using a spectrophotometer. Also, we had to organize the data that was provided into tables and graphs so we could have the ability to test a few hypotheses. For example, we tested the whether the rate of the reaction was influenced by enzyme concentration, whether the activity of the enzyme was influenced by temperature and also too see if the activity of the enzyme was influenced by the pH of the solution, which you will then see the results on the graphs and charts that I provided. In figure one we show results of the trial run from the enzyme activity where the absorbance was at 500nm.…

    • 718 Words
    • 3 Pages
    Improved Essays
  • Improved Essays

    Wingate Test Analysis

    • 803 Words
    • 4 Pages

    1. What energy system(s) does the Wingate Test rely? Explain. The energy systems that the Wingate test relies on, is glycolysis and ATP-PCr.…

    • 803 Words
    • 4 Pages
    Improved Essays
  • Improved Essays

    We learned that when demand is relatively constant within a range, stabilizing the machine utilization around 50% to 70% by purchasing new machines can help us ensure the continuous flow of the process. Because we bought a new machine for each station at the beginning and tried to maintain a relatively constant level of the utilization rate for each station, the throughput of the process was pretty smooth during the rest of the simulation, which ultimately led us to much greater profit accessibility. Additionally, we learned firsthand that each process is intimately linked to the surrounding processes. After we make one change in a certain section, we need to alter other processes accordingly. For instance, after we purchased new machines, we needed to switch the order contract because sticking with Contract 1 meant our machines would sit idle sometimes and we could not operate efficiently.…

    • 1064 Words
    • 4 Pages
    Improved Essays