Estimates » History » Version 1
Alexander Blum, 10/05/2019 08:10 PM
1 | 1 | Alexander Blum | {{toc}} |
---|---|---|---|
2 | 1 | Alexander Blum | |
3 | 1 | Alexander Blum | # Estimates |
4 | 1 | Alexander Blum | |
5 | 1 | Alexander Blum | ## Assumptions |
6 | 1 | Alexander Blum | |
7 | 1 | Alexander Blum | * Per **CD** |
8 | 1 | Alexander Blum | * Songs: 10 |
9 | 1 | Alexander Blum | * Size: 640 MB |
10 | 1 | Alexander Blum | * Per **song** |
11 | 1 | Alexander Blum | * Duration: 6 minutes |
12 | 1 | Alexander Blum | * Size: 45 MB (compressed) |
13 | 1 | Alexander Blum | * Per **user** |
14 | 1 | Alexander Blum | * CDs: 10 |
15 | 1 | Alexander Blum | * Songs: 100 |
16 | 1 | Alexander Blum | * Size: 6.4 GB ~= 7 GB |
17 | 1 | Alexander Blum | * Per **harddisk** |
18 | 1 | Alexander Blum | * Size: 1 TB |
19 | 1 | Alexander Blum | * Cost: 100 € |
20 | 1 | Alexander Blum | * Duration: 3 years |
21 | 1 | Alexander Blum | * Per **filesystem** |
22 | 1 | Alexander Blum | * Songs: 10.000 |
23 | 1 | Alexander Blum | |
24 | 1 | Alexander Blum | ## Archiving cost |
25 | 1 | Alexander Blum | |
26 | 1 | Alexander Blum | * For **5000** users |
27 | 1 | Alexander Blum | * Memory usage |
28 | 1 | Alexander Blum | * 5000 users * 7 GB ~= 36 TB |
29 | 1 | Alexander Blum | * Per Storehouse |
30 | 1 | Alexander Blum | * Harddisks: 36 TB / 1 TB = 36 harddisks |
31 | 1 | Alexander Blum | * Initial cost: 36 harddisks * 100 € = **3.600 €** |
32 | 1 | Alexander Blum | * Maintenance cost per year |
33 | 1 | Alexander Blum | * 36 harddisks / 3 years = 12 harddisks |
34 | 1 | Alexander Blum | * 12 harddisks * 100 € = 1.200 € |
35 | 1 | Alexander Blum | * Maintenance cost per month |
36 | 1 | Alexander Blum | * 1.200 € / 12 months = **100 €** |
37 | 1 | Alexander Blum | * for **1000** users |
38 | 1 | Alexander Blum | * Initial cost: 3.600 € / 5 ~= **800 €** |
39 | 1 | Alexander Blum | * Maintenance cost: 100 € / 5 = **20 €** per storehouse per month |
40 | 1 | Alexander Blum | * for **100** users |
41 | 1 | Alexander Blum | * Initial cost: 3.600 € / 50 ~= **100 €** |
42 | 1 | Alexander Blum | * Maintenance cost: 100 € / 50 = **2 €** per storehouse per month |
43 | 1 | Alexander Blum | |
44 | 1 | Alexander Blum | ## Preview size |
45 | 1 | Alexander Blum | |
46 | 1 | Alexander Blum | * for **5000** users |
47 | 1 | Alexander Blum | * 36 TB * 0.0046056993 ~= **166 GB** |
48 | 1 | Alexander Blum | * for **1000** users |
49 | 1 | Alexander Blum | * 36 TB / 5 * 0.0046056993 ~= **34 GB** |
50 | 1 | Alexander Blum | * for **100** users |
51 | 1 | Alexander Blum | * 36 TB / 50 * 0.0046056993 ~= **4 GB** |
52 | 1 | Alexander Blum | |
53 | 1 | Alexander Blum | |
54 | 1 | Alexander Blum | # Benchmarks |
55 | 1 | Alexander Blum | |
56 | 1 | Alexander Blum | ## Skripts |
57 | 1 | Alexander Blum | |
58 | 1 | Alexander Blum | * [Generation/Compression of audio CD](https://github.com/C3S/collecting_society.portal.creative/blob/develop/collecting_society_portal_creative/tests/data/generate_audiofiles.sh) |
59 | 1 | Alexander Blum | * stereo, 16 bit, 44100 Hz |
60 | 1 | Alexander Blum | * 1 x 60:00 and 12 x 5:00 |
61 | 1 | Alexander Blum | * noise (white) + voice (counting) |
62 | 1 | Alexander Blum | |
63 | 1 | Alexander Blum | ## Compression |
64 | 1 | Alexander Blum | |
65 | 1 | Alexander Blum | Size and ratio for lossless compression algorithms based on generated audio CD (60:00, stereo, 16 bit, 44100 Hz) |
66 | 1 | Alexander Blum | |
67 | 1 | Alexander Blum | Size (Byte) Ratio |
68 | 1 | Alexander Blum | |
69 | 1 | Alexander Blum | .wav 635.040.044 1.00000000 |
70 | 1 | Alexander Blum | .au 635.040.032 0.99999998 |
71 | 1 | Alexander Blum | .shn 515.686.121 0.81205292 |
72 | 1 | Alexander Blum | .wv 508.676.483 0.80101481 |
73 | 1 | Alexander Blum | .ape 345.981.348 0.54481816 |
74 | 1 | Alexander Blum | .flac 299.316.110 0.47133423 |
75 | 1 | Alexander Blum | .tta 299.302.215 0.47131235 |
76 | 1 | Alexander Blum | |
77 | 1 | Alexander Blum | |
78 | 1 | Alexander Blum | ## Sha256 |
79 | 1 | Alexander Blum | |
80 | 1 | Alexander Blum | Calculation of a sha256 checksum for each upload chunk (*average for 100 MB*) |
81 | 1 | Alexander Blum | |
82 | 1 | Alexander Blum | * Single upload |
83 | 1 | Alexander Blum | * 1 x 60:00, stereo, 16 bit, 44100 Hz, **wav** |
84 | 1 | Alexander Blum | * **0.813721727626 s** (CPU: 4 x Intel(R) Core(TM) i5-3210M CPU @ 2.50GHz / RAM: 8GB / Alex Home) |
85 | 1 | Alexander Blum | * **1.67045951694 s** (CPU: 2 x CoreDuo @ 2.26GHz / RAM: 2GB / Thomas MacMini) |
86 | 1 | Alexander Blum | * 1 x 60:00, stereo, 16 bit, 44100 Hz, **flac** |
87 | 1 | Alexander Blum | * **0.70059890559 s** (CPU: 4 x Intel(R) Core(TM) i5-3210M CPU @ 2.50GHz / RAM: 8GB / Alex Home) |
88 | 1 | Alexander Blum | * Parallel upload |
89 | 1 | Alexander Blum | * 12 x 5:00, stereo, 16 bit, 44100 Hz, **wav** |
90 | 1 | Alexander Blum | * **1.1565168784 s** (CPU: 4 x Intel(R) Core(TM) i5-3210M CPU @ 2.50GHz / RAM: 8GB / Alex Home) |
91 | 1 | Alexander Blum | * **4.03401154869 s** (CPU: 2 x CoreDuo @ 2.26GHz / RAM: 2GB / Thomas MacMini) |
92 | 1 | Alexander Blum | * 12 x 5:00, stereo, 16 bit, 44100 Hz, **flac** |
93 | 1 | Alexander Blum | * **1.15892334707 s** (CPU: 4 x Intel(R) Core(TM) i5-3210M CPU @ 2.50GHz / RAM: 8GB / Alex Home) |
94 | 1 | Alexander Blum | |
95 | 1 | Alexander Blum | ## Preview creation |
96 | 1 | Alexander Blum | |
97 | 1 | Alexander Blum | * **Execution time** (*average for 100 MB*) |
98 | 1 | Alexander Blum | * Single upload |
99 | 1 | Alexander Blum | * 1 x 60:00, stereo, 16 bit, 44100 Hz, **wav** |
100 | 1 | Alexander Blum | * **7.77690890781 s** (CPU: 4 x Intel(R) Core(TM) i5-3210M CPU @ 2.50GHz / RAM: 8GB / Alex Home) |
101 | 1 | Alexander Blum | * **19.7436978084 s** (CPU: 2 x CoreDuo @ 2.26GHz / RAM: 2GB / Thomas MacMini) |
102 | 1 | Alexander Blum | * 1 x 60:00, stereo, 16 bit, 44100 Hz, **flac** |
103 | 1 | Alexander Blum | * **11.7975480003 s** (CPU: 4 x Intel(R) Core(TM) i5-3210M CPU @ 2.50GHz / RAM: 8GB / Alex Home) |
104 | 1 | Alexander Blum | * Parallel upload |
105 | 1 | Alexander Blum | * 12 x 5:00, stereo, 16 bit, 44100 Hz, **wav** |
106 | 1 | Alexander Blum | * **20.5859080226 s** (CPU: 4 x Intel(R) Core(TM) i5-3210M CPU @ 2.50GHz / RAM: 8GB / Alex Home) |
107 | 1 | Alexander Blum | * **24.0136030735 s** (CPU: 2 x CoreDuo @ 2.26GHz / RAM: 2GB / Thomas MacMini) |
108 | 1 | Alexander Blum | * 12 x 5:00, stereo, 16 bit, 44100 Hz, **flac** |
109 | 1 | Alexander Blum | * **31.1712267596 s** (CPU: 4 x Intel(R) Core(TM) i5-3210M CPU @ 2.50GHz / RAM: 8GB / Alex Home) |
110 | 1 | Alexander Blum | * **Size** |
111 | 1 | Alexander Blum | * 1 x 60:00, stereo, 16 bit, 44100 Hz, **wav** |
112 | 1 | Alexander Blum | * 1.378.560 Byte, Verhältnis: **0.00217082** (12bit, mono, 16kHz, ogg; Fadein: 1s, Fadeout: 1s, Segmentintervall: 54s, Segmentelänge: 8s, Segmentcrossfade: 2s) |
113 | 1 | Alexander Blum | * 1 x 60:00, stereo, 16 bit, 44100 Hz, **flac** |
114 | 1 | Alexander Blum | * 1.378.560 Byte, Verhältnis: **0.00460570** (12bit, mono, 16kHz, ogg; Fadein: 1s, Fadeout: 1s, Segmentintervall: 54s, Segmentelänge: 8s, Segmentcrossfade: 2s) |
115 | 1 | Alexander Blum | |
116 | 1 | Alexander Blum | ## Fingerprint Recognition Score Depending on Number of Second of Audio File Length |
117 | 1 | Alexander Blum | |
118 | 1 | Alexander Blum | These are scores for different excerpt sizes from the middle of the song 'Glaub an Dich' by Lars Boos: |
119 | 1 | Alexander Blum | |
120 | 1 | Alexander Blum | 01 seconds result in a score of 0 |
121 | 1 | Alexander Blum | 02 seconds result in a score of 18 |
122 | 1 | Alexander Blum | 03 seconds result in a score of 23 |
123 | 1 | Alexander Blum | 05 seconds result in a score of 38 |
124 | 1 | Alexander Blum | 06 seconds result in a score of 39 |
125 | 1 | Alexander Blum | 08 seconds result in a score of 52 |
126 | 1 | Alexander Blum | 09 seconds result in a score of 44 |
127 | 1 | Alexander Blum | 10 seconds result in a score of 47 |
128 | 1 | Alexander Blum | 11 seconds result in a score of 40 |
129 | 1 | Alexander Blum | 12 seconds result in a score of 70 |
130 | 1 | Alexander Blum | 13 seconds result in a score of 64 |
131 | 1 | Alexander Blum | 14 seconds result in a score of 69 |
132 | 1 | Alexander Blum | 15 seconds result in a score of 95 |
133 | 1 | Alexander Blum | 16 seconds result in a score of 103 |
134 | 1 | Alexander Blum | 17 seconds result in a score of 139 |
135 | 1 | Alexander Blum | 18 seconds result in a score of 105 |
136 | 1 | Alexander Blum | 19 seconds result in a score of 102 |
137 | 1 | Alexander Blum | 20 seconds result in a score of 128 |
138 | 1 | Alexander Blum | 21 seconds result in a score of 180 |
139 | 1 | Alexander Blum | 22 seconds result in a score of 139 |
140 | 1 | Alexander Blum | 23 seconds result in a score of 125 |
141 | 1 | Alexander Blum | 24 seconds result in a score of 192 |
142 | 1 | Alexander Blum | 25 seconds result in a score of 219 |
143 | 1 | Alexander Blum | 26 seconds result in a score of 156 |
144 | 1 | Alexander Blum | 27 seconds result in a score of 215 |
145 | 1 | Alexander Blum | 28 seconds result in a score of 249 |
146 | 1 | Alexander Blum | 29 seconds result in a score of 222 |
147 | 1 | Alexander Blum | 30 seconds result in a score of 217 |
148 | 1 | Alexander Blum | 31 seconds result in a score of 194 |
149 | 1 | Alexander Blum | 32 seconds result in a score of 339 |
150 | 1 | Alexander Blum | 33 seconds result in a score of 227 |
151 | 1 | Alexander Blum | 34 seconds result in a score of 216 |
152 | 1 | Alexander Blum | 35 seconds result in a score of 330 |
153 | 1 | Alexander Blum | 36 seconds result in a score of 333 |
154 | 1 | Alexander Blum | 37 seconds result in a score of 276 |
155 | 1 | Alexander Blum | 38 seconds result in a score of 255 |
156 | 1 | Alexander Blum | 39 seconds result in a score of 359 |
157 | 1 | Alexander Blum | 40 seconds result in a score of 412 |
158 | 1 | Alexander Blum | 41 seconds result in a score of 323 |
159 | 1 | Alexander Blum | 42 seconds result in a score of 323 |
160 | 1 | Alexander Blum | 43 seconds result in a score of 429 |
161 | 1 | Alexander Blum | 44 seconds result in a score of 472 |
162 | 1 | Alexander Blum | 45 seconds result in a score of 324 |
163 | 1 | Alexander Blum | 46 seconds result in a score of 388 |
164 | 1 | Alexander Blum | 47 seconds result in a score of 490 |
165 | 1 | Alexander Blum | 48 seconds result in a score of 511 |
166 | 1 | Alexander Blum | 49 seconds result in a score of 431 |
167 | 1 | Alexander Blum | 50 seconds result in a score of 441 |
168 | 1 | Alexander Blum | 51 seconds result in a score of 545 |
169 | 1 | Alexander Blum | 52 seconds result in a score of 532 |
170 | 1 | Alexander Blum | 53 seconds result in a score of 468 |
171 | 1 | Alexander Blum | 54 seconds result in a score of 450 |
172 | 1 | Alexander Blum | 55 seconds result in a score of 741 |
173 | 1 | Alexander Blum | 56 seconds result in a score of 450 |
174 | 1 | Alexander Blum | 57 seconds result in a score of 449 |
175 | 1 | Alexander Blum | 58 seconds result in a score of 622 |
176 | 1 | Alexander Blum | 59 seconds result in a score of 714 |
177 | 1 | Alexander Blum | 60 seconds result in a score of 453 |