TimeTestCompare » History » Version 2
Anil Prabhakar, 07/22/2013 12:13 PM
1 | 1 | Anil Prabhakar | h1. TimeTestCompare |
---|---|---|---|
2 | 1 | Anil Prabhakar | |
3 | 1 | Anil Prabhakar | It has been our aim to simulate two problems and compare the time taken for simulating them by varying the following parameters: |
4 | 1 | Anil Prabhakar | |
5 | 1 | Anil Prabhakar | # The data type for computing the FFT, which is necessary to calculate the Demagnetization energy, was changed form 'long double' to 'double' to 'float' |
6 | 1 | Anil Prabhakar | # These simulations were then carried out on machines with different configurations viz. |
7 | 1 | Anil Prabhakar | |
8 | 1 | Anil Prabhakar | * Intel(R) Pentium(R) D, 2.80 GHz, 1 GB RAM |
9 | 1 | Anil Prabhakar | * Intel(R) Core(TM) 2 Duo, 2.80 GHz, 2 GB RAM |
10 | 1 | Anil Prabhakar | * Intel (R) Core(TM) i3, 2.93 GHz, 4 GB RAM |
11 | 1 | Anil Prabhakar | * Intel (R) Core(TM) i5, 3.2 GHz, 2 GB RAM |
12 | 1 | Anil Prabhakar | |
13 | 1 | Anil Prabhakar | The problems simulated are given by the following links: |
14 | 1 | Anil Prabhakar | |
15 | 1 | Anil Prabhakar | attachment:OriginalTimeTest.txt |
16 | 1 | Anil Prabhakar | |
17 | 1 | Anil Prabhakar | attachment:RelaxedMagnetization.txt |
18 | 1 | Anil Prabhakar | |
19 | 1 | Anil Prabhakar | Please refer to the MIF Format page wiki http://www.ee.iitm.ac.in/redmine/wiki/dynamag/MIFformat for details of the problem specification. |
20 | 1 | Anil Prabhakar | |
21 | 1 | Anil Prabhakar | The initial magnetization used in the latter problem was obtained by simulating the first problem with the FFT routine using 'long double' data type and then allowing the last step(at 0 torque) to relax at a torque of 1E-4. THe OMF file generated for this step was then converted to an OVF file(initmag2.ovf) which essentially contained the magnetization values at all points of the geometry. |
22 | 1 | Anil Prabhakar | |
23 | 1 | Anil Prabhakar | The change, in terms of data type modification, to the FFT routine may be found in the following file: |
24 | 1 | Anil Prabhakar | |
25 | 1 | Anil Prabhakar | attachment:fft.txt |
26 | 1 | Anil Prabhakar | |
27 | 1 | Anil Prabhakar | The data obtained, about the time taken for simulating all these, is given in the following spreadsheet: |
28 | 1 | Anil Prabhakar | |
29 | 1 | Anil Prabhakar | attachment:TimeTestcompare.ods |
30 | 1 | Anil Prabhakar | |
31 | 1 | Anil Prabhakar | The time comparison can also be shown with the following bar charts: |
32 | 1 | Anil Prabhakar | |
33 | 1 | Anil Prabhakar | Please note that in both the cases the Function FFT::BaseDecFreqForward(MyComplex*) has been considered for comparing the time taken |
34 | 1 | Anil Prabhakar | |
35 | 1 | Anil Prabhakar | |
36 | 1 | Anil Prabhakar | !Barcharts_2_2.png! |
37 | 1 | Anil Prabhakar | |
38 | 1 | Anil Prabhakar | !Barcharts_1_1.png! |
39 | 1 | Anil Prabhakar | |
40 | 1 | Anil Prabhakar | |
41 | 1 | Anil Prabhakar | |
42 | 1 | Anil Prabhakar | |
43 | 1 | Anil Prabhakar | |
44 | 1 | Anil Prabhakar |