forked from ChristophBodenstein/CELL
-
Notifications
You must be signed in to change notification settings - Fork 0
/
output_debug.txt
142 lines (130 loc) · 5.39 KB
/
output_debug.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
DNLRX-calculation on PPC-core
Complete Calculation time: 0.003071
Calc. time per cycle: 0.000031 seconds
= 0.030711 ms
= 30.710697 µs
DNLRX-Calculation on SPU.
Complete Calculation time: 0.011036
Calc. time per cycle: 0.000110 seconds
= 0.110359 ms
= 110.359192 µs
Calculate DNLRX on PPC and SPU.
Calculation of 100 control-agorithm-cycles is done 25 times.
Frequency of PPC-DNLRX SPU-DNLRX calculation
32668.463276 20567.371157 0
32331.025977 20391.385094 1
32594.839913 20529.117517 2
32648.120184 20412.225034 3
32732.199157 18758.067979 4
32627.802412 19955.771244 5
32734.753766 20433.107614 6
32744.976189 20374.545808 7
32724.537723 20112.707394 8
32246.513416 20313.366912 9
32765.440200 20255.488482 10
32775.681800 20412.225034 11
32625.264468 20337.005431 12
32668.463276 20291.746493 13
32403.461063 18657.106001 14
30845.006619 19825.600303 15
32594.839913 20374.545808 16
32788.492808 20072.281776 17
32785.929805 20084.777091 18
32246.513416 20442.070377 19
32755.204998 20186.273944 20
32732.199157 20354.770455 21
32393.450726 20395.351325 22
32648.120184 20259.402019 23
32604.975124 19000.244621 24
Avgerage frequency of calculation:
DNLRX-PPC DNLRX-SPU
32547.451023 20111.862196
Calculate DNLRX and PID in concurrent threads on PPC.
Calculation of 100 control-agorithm-cycles is done 25 times.
Frequency of PPC-DNLRX PPC-PID calculation
32194.534848 371835.460993 5360.749479 0
31495.862431 288070.329670 5410.329704 1
30779.364497 263130.740276 851.673374 2
31455.707215 287281.095890 843.903970 3
31036.732278 270251.546392 5247.668498 4
31359.282243 276122.712311 2602.942837 5
31338.194860 270251.546392 5129.015848 6
32373.448595 473932.655367 5323.666641 7
32488.799380 293307.972028 4929.024373 8
32554.361999 294130.715288 4437.712532 9
30865.435279 371835.460993 5023.599866 10
31347.563528 354548.098056 5432.121534 11
31279.767320 306825.457206 5306.760125 12
32561.943948 381647.315742 3678.213819 13
31356.937799 261002.115744 4999.706762 14
31486.404925 285715.531335 5504.191491 15
31787.070860 383041.461187 5078.464705 16
31036.732278 331042.146803 5550.590882 17
31055.116245 324636.532508 5794.358025 18
31300.776119 293307.972028 4630.701290 19
31085.036686 272534.372969 5379.864808 20
31261.116494 294130.715288 5410.329704 21
31221.557243 384445.829514 772.653654 22
32466.166112 376170.762332 4873.527532 23
30732.004689 331042.146803 5192.126959 24
Avgerage frequency of calculation:
PPC-DNLRX PPC-PID Both
31516.796715 321609.627725 4510.555937
Scalar calculation of PID on PPC-core.
Complete Calculation time: 0.000139
Calc. time per cycle: 0.000001 seconds
= 0.001390 ms
= 1.389980 µs
Vectorized calculation of PID on PPC-core.
Complete Calculation time: 0.000205
Calc. time per cycle: 0.000002 seconds
= 0.002050 ms
= 2.050400 µs
Vectorized calculation of PID on one SPU-core.
Complete Calculation time: 0.001787
Calc. time per cycle: 0.000018 seconds
= 0.017869 ms
= 17.869473 µs
Vectorized calculation of PID on 2 SPUs.
Complete Calculation time: 0.002798
Calc. time per cycle: 0.000028 seconds
= 0.027981 ms
= 27.980804 µs
Vectorized calculation of PID new threads/new SPUs.
Complete Calculation time: 0.188165
Calc. time per cycle: 0.001882 seconds
= 1.881649 ms
= 1881.649494 µs
Calculate PID (normal / manually vectorized) on PPC and SPU (single- ,two-, multi-threaded).
Calculation of 100 control-agorithm-cycles is done 25 times.
Caclulation frequency of PID algorithm
NormalPPC Vectorized PPC One Thread Two Threads New Threads Calculation#
708497.297297 452459.978425 63937.560976 35563.032050 528.910012 0
703742.281879 465000.443459 63937.560976 36024.254917 532.197790 1
666820.985692 492867.685076 63820.815581 35854.881176 527.712856 2
708497.297297 492867.685076 64517.828026 35934.749829 529.299808 3
714532.197615 471270.112360 63167.228916 36427.861734 532.064792 4
666820.985692 492289.201878 63607.885957 36151.560076 529.237696 5
709696.108291 492289.201878 63214.830445 36064.522786 516.379646 6
714532.197615 489988.785047 63415.542788 36535.749129 526.553496 7
714532.197615 492867.685076 65700.250627 35919.362850 529.181607 8
708497.297297 456895.860566 64349.555078 35879.418306 528.175371 9
665762.539683 492289.201878 60787.014493 36364.695682 528.345695 10
709696.108291 454420.801733 63329.367356 36142.214563 527.161690 11
708497.297297 395316.116871 62119.431280 36589.932827 528.398944 12
675411.272142 489988.785047 63453.918306 36192.113211 526.576634 13
666820.985692 485451.851852 63167.228916 36443.687549 526.803487 14
689852.631579 492289.201878 61123.637423 36523.023337 524.733367 15
704925.042017 408006.225681 62415.238095 36510.306407 520.034766 16
709696.108291 450516.004296 63252.963354 36657.087922 527.139826 17
703742.281879 490561.871345 47195.949139 36928.191583 527.270373 18
606113.294798 492867.685076 65311.491747 36615.486687 528.250539 19
621378.370370 471800.224972 63492.340297 30468.574749 529.610586 20
709696.108291 489988.785047 63453.918306 29867.578153 528.203307 21
714532.197615 456398.694233 65280.996109 36456.358105 526.914670 22
684225.774878 456895.860566 63733.535937 36245.281714 526.431894 23
620459.171598 471800.224972 63367.638616 36860.040425 528.080276 24
Average frequency of calculation:
Normal(PPC) Vectorized(PPC) 1-Thread(SPU) 2-Threads(SPU) New Threads(SPU)
688279.121228 471895.526972 62846.149150 35808.798631 527.346765
THE END.