Changes between Version 14 and Version 15 of R-MPI


Ignore:
Timestamp:
May 8, 2008, 11:50:17 AM (16 years ago)
Author:
chris
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • R-MPI

    v14 v15  
    198198}}}
    199199
    200  * Here are the running times(secs) with different times of loops of origianl R:
    201 {{{
    202 10 loops : 1.087226
    203 20 loops : 3.395167
    204 30 loops : 7.027248
    205 40 loops : 11.95344
    206 50 loops : 17.02942
    207 60 loops : 23.54457
    208 70 loops : 32.23314
    209 80 loops : 42.41104
    210 90 loops : 53.88992
    211 100 loops : 64.43279
     200 * We could find that there double loops in the sample program, one is j, and the other is p.[[BR]]
     201   So we control one of the loop (either j or p) variable, and see how fast it is when the Rmpi apply in it.[[BR]]
     202   In the meanwhile, we compare how much does the performance improve when the number of slaves are 3 and 6.[[BR]]
     203 * The running times(secs) for variable j of sample program (p is 30) are as below:
     204{{{
     205j(times of loop)        single          paralle with 3 slaves   parallel with 6 slaves
     20610                      7.319691        3.738059                2.707863
     20750                      33.96304        11.76658                6.84227
     208100                     71.7085         22.68779                11.85747
     209150                     111.417         32.51246                16.98184
     210200                     142.6771        42.51736                22.92909
     211250                     176.2949        53.08824                27.35953
    212212}}}
    213213
    214  * And Here are the running times(secs) with diffrent times of loops of PARALLEL R (Rmpi):
    215 {{{
    216 10 loops : 1.759266
    217 20 loops : 2.582305
    218 30 loops : 4.262631
    219 40 loops : 6.176133
    220 50 loops : 8.695369
    221 60 loops : 12.00457
    222 70 loops : 16.19619
    223 80 loops : 20.33303
    224 90 loops : 25.45973
    225 100 loops : 30.71952
     214 * The running times(secs) for variable p of sample program (j is 10) are as below:
     215{{{
     216p(times of loop)        single          paralle with 3 slaves   parallel with 6 slaves
     21730                      6.462582        3.91415                 2.550209
     21860                      22.9513         9.87096                 5.806265
     21990                      56.07782        20.56819                11.25752
     220120                     90.7383         35.26347                18.84071
     221150                     154.7837        54.48117                28.72215
    226222}}}
    227223
    228224* The Curve is as below:[[BR]]
    229225 The Y-aix represents runtime of both single mode and parallel mode.(units: seconds)[[BR]]
    230  The X-aix represents how many times of loop set by us in the sample program (from 10 to 100) [[BR]]
    231 [[Image(Rmpi_example_test_result.jpg)]]
     226 The X-aix represents how many times of loop set by us in the sample program [[BR]]
     227 For variable j : [[BR]]
     228[[Image(for_j_loop_times.JPG)]]
     229 For variable p : [[BR]]
     230[[Image(for_p_loop_times.JPG)]]
    232231
    233232