]> Git — Sourcephile - sourcephile-txt.git/blob - Demandes_de_Critiques/ddc9_-_logiciellerie_-_une_infra_de_dev.md
DDC8: retour sur la conso de l'APU2
[sourcephile-txt.git] / Demandes_de_Critiques / ddc9_-_logiciellerie_-_une_infra_de_dev.md
1 # Une infrastructure de développement pour Sourcephile
2 - Demande de Critiques: 9
3 - De: Julien Moutinho <julm+ddc9@sourcephile.fr>
4 - À: Sourcephile <equipage@sourcephile.fr>
5 - Révision: 1 (2020-03-10)
6 - Phase: Écriture
7
8 # Explications
9 ## Motivations
10 Chacun des 4 CPU de mermet (APU2E4) plafonne à 800MHz, cette puissance de calcul convient aux services actuellement en production, mais n'est pas propice aux tâches de développement, surtout que beaucoup sont mono-thread : attendre 2 min pour `hdevtools` ou 10 min pour `stack build` sur les programmes en développement, c'est pour moi une perte de temps et de concentration.
11
12 ## Objectif
13 ### Objectif minimal
14 Avoir une machine x86_64 assez puissante pour utiliser confortablement les outils de développement d'Haskell, Purescript et Nix.
15 ### Objectif modeste
16 ### Objectif honorable
17 Avoir une machine silencieuse et consommant suffisamment peu d'énergie pour pouvoir l'auto-héberger chez un.e proche ou à très bas coût dans une association.
18 ### Objectif ambitieux
19 ### Objectif maximal
20 Avoir une machine utilisable chez moi, sur une batterie que je possède déjà.
21
22 #### Écran
23 L'alimentation **doit** être en USB, et les données en USB ou HDMI sur un port différent.
24 L'écran **devrait** consommer en moyenne 5W et au maximum 10W, en 5V 2A USB-A ou USB-C.
25 Cela oriente vers une taille autour de 10 pouces.
26 Un captage tactile simple ou multi-points **peut** être supporté pour éviter d'avoir une souris (cela ne consomme en général qu'environ 0,1mA).
27 La résolution 1280x800 **devrait** être supportée.
28 Le constrate **peut** être aussi faible que 500:1, il ne s'agit pas ici de regarder des films, mais de coder et naviguer.
29 Le temps de réponse n'a pas besoin d'être très élevé comme pour des jeux vidéos, mais suffisant pour ne pas le remarquer lors de l'édition de texte, soit moins de 50ms.
30 La luminosité ne doit pas être à base de PWM, pour êviter les maux de tête.
31 Plusieurs angles d'inclination dans les modes portrait et paysage **devraient** être supportés.
32 Une fixation sur pied du type VESA **devrait** être supportée.
33
34 ## Études
35 ### RAM
36 > LPDDR3 and DDR4 use about the same energy under load, however LPDDR RAM can ramp down into a low power state faster and consume far less energy while there
37 - https://www.reddit.com/r/hardware/comments/5dimal/lpddr3_vs_ddr4_power_usage/da542as/
38
39 ### Bluetooth
40 - https://doc.ubuntu-fr.org/bluetooth_materiel-soutenu
41
42 ### TDP
43 - AMD: https://www.gamersnexus.net/guides/3525-amd-ryzen-tdp-explained-deep-dive-cooler-manufacturer-opinions
44 - Intel: https://www.how2shout.com/what-is/what-does-tdp-mean-thermal-design-power.html
45
46 ### CPU
47 #### Intel Core i7-620M
48 - https://en.wikichip.org/wiki/intel/core_i7/i7-620m
49 - CPU de mon ThinkPad X201, pour comparaison.
50 - Consommation électrique: entre 18W (powersave) et 24W (ondemand), mesuré par `powertop` pendant un `stress --cpu 4`, avec écran éteint.
51 - Année: 2010
52 - TDP: 35W
53
54 #### AMD Ryzen Embedded V1605B
55 - https://en.wikichip.org/wiki/amd/ryzen_embedded/v1605b
56 - Année: 2018
57 - TDP: 15W
58 - cTDP down: 12W
59 - cTDP up: 25W
60
61 #### Intel Pentium N4200
62 - https://en.wikichip.org/wiki/intel/pentium_(2009)/n4200
63 - TDP: 6W
64 - Frequency: 1100MHz
65 - Turbo Frequency: 2500MHz (1 core)
66
67 #### Intel Celeron J3455
68 - https://en.wikichip.org/wiki/intel/celeron/j3455
69 - Année: 2016
70 - TDP: 10W
71
72 #### Intel Celeron J4005
73 - https://en.wikichip.org/wiki/intel/celeron/j4005
74 - Année: 2017
75 - TDP: 10W
76 - Frequency: 2,000MHz
77 - Turbo Frequency: 2,700MHz (1 core)
78
79 #### Intel Core i7-7600U
80 - https://en.wikichip.org/wiki/intel/core_i7/i7-7600u
81 - Année: 2017
82 - Frequency: 2,800MHz
83 - Turbo Frequency:
84 - 3,900MHz (1 core)
85 - 3,900MHz (2 cores)
86 - TDP: 15W
87 - cTDP down: 7.5W @800MHz
88 - cTDP up: 25W @2,900MHz
89
90 #### Intel Core i7-7660U
91 - https://en.wikichip.org/wiki/intel/core_i7/i7-7600u
92 - Année: 2017
93 - Frequency: 2,500MHz
94 - Turbo Frequency: 4,000MHz (1 core)
95 - TDP: 15W
96 - cTDP down: 9.5W @800MHz
97
98 #### Intel Core i7-8565U
99 - https://en.wikichip.org/wiki/intel/core_i7/i7-8565u
100 - Année: 2018
101 - Frequency: 1,800MHz
102 - Turbo Frequency:
103 - 4,600MHz (1 core)
104 - 4,500MHz (2 cores)
105 - 4,100MHz (4 cores)
106 - TDP: 15W
107 - cTDP down: 10W @800MHz
108 - cTDP up: 25W @2,000MHz
109
110 #### Intel Core i7-8665U
111 - https://en.wikichip.org/wiki/intel/core_i7/i7-8665u
112 - https://www.notebookcheck.net/Intel-Core-i7-8665U-SoC-Whiskey-Lake.416029.0.html
113 - Année: 2019
114 - Frequency: 1,900MHz
115 - Turbo Frequency: 4,800MHz (1 core)
116 - TDP 15W
117 - cTDP down 10W
118 - cTDP up: 25W
119
120 #### Intel Core i7-10710U
121 - Année: 2019
122
123 # Actions
124 ## Ordinateur : Shuttle XPC Slim DL10J
125 - https://www.ldlc.com/fiche/PB00259273.html
126 - https://mitxpc.com/products/dl10j?_pos=3&_sid=997c6e4a6&_ss=r
127 - Intel Celeron J4005
128 - Seulement 8G de RAM (DDR4).
129
130 ## Bluetooth : TRENDnet TBW-107UB
131 - https://www.ldlc.com/fiche/PB00107707.html
132
133 ## Alimentation : USB Power ZK-DP3D
134 Pour réutiliser la batterie Anker PowerCore 26800 que j’ai (capable de délivrer du 5V 6A, répartis sur 3 USB-A à 5V 3A max),
135 il faut un élévateur de tension USB 5V vers 12V ou 19V et supportant les 15W.
136
137 - 11e, https://www.thanksbuyer.com/adjustable-usb-power-supply-15w-usb-fan-speed-controller-cv-cc-support-fast-charge-zk-dp3d-63918
138
139 ## Êcran : LP101WH1 10" HD
140 J'en ai déjà un, cependant c'est un écran d'orinateur portable, il n'a pas de fixations adaptées pour le tenir au bout d'un bras. J'improvise donc un support avec du carton.
141 - https://secure.reichelt.com/de/en/raspberry-pi-display-lcd-10-1-hdmi-lp101wh1-rpi-lcd-10-1hdmi-p191307.html
142
143 # Critiques
144 ## Questions non-résolues
145
146 ## Alternatives
147 ### Enclosure
148 #### Akasa Plato X8
149 - http://www.akasa.com.tw/update.php?tpl=product/product.detail.tpl&no=181&type=Fanless%20Chassis&type_sub=Fanless%20NUC&model=A-NUC43-M1B
150
151 #### Streacom NC2 Fanless Chassis
152 - https://streacom.com/products/nc2-fanless-chassis/
153 - Format: Intel NUC
154
155 #### Streacom FC5 Alpha Fanless Chassis
156 - Format: Mini-ITX, Micro-ATX and Full ATX
157
158 ### Ordinateur
159 #### Louer un espace en ligne
160 #### ASRock iBox-V1000
161 - https://www.asrockind.com/overview.asp?Model=iBOX-V1000
162 - 500e, https://mitxpc.com/products/ibox-v1000
163 - CPU: AMD Ryzen™ Embedded V1605B (4 Cores/8 Threads – Base 2.0GHz – Turbo 3.6GHz - TDP 12-25W)
164 - Consommation: 12W-25W
165 - Stockage: M.2 jusqu'à 22x80 et SATA 2.5"
166
167 #### Viking D16 systems
168 - https://store.vikings.net/libre-friendly-hardware/the-server-1u
169 - ~1500€
170
171 - Micrologiciel: Various options based on a de-blobbed coreboot, 2 - 16 MB firmware images
172 - Processor/System Bus: 2 x Socket G34, 6200 series, HyperTransport™ Technology 3.0, 6.4 GT/s per link (triple link)
173 - Carte graphique: On-board (Aspeed AST2050 with 8MB VRAM) or PCIe expansion card
174 - Ports: Total Slots: 6 Slot Location 1: PCI 32bit/33MHz Slot Location 2: PCI-E x16 (Gen2 X8 Link) Slot Location 3: PCI-E x16 (Gen2 X16 Link), Auto switch to x8 link if slot 2 is occupied Slot Location 4: PCI-E x8 (Gen2 X4 Link) Slot Location 5: PCI-E x16 (Gen2 X16 Link) Slot Location 6: PCI-E x16 (Gen2 X16 Link), Auto turn off if slot 5 is occupied, For 1U FH/FL Card, MIO supported Additional Slot 1 : PIKE Slot for Storage expansion
175 - Core Logic: AMD SR5690, AMD SP5100
176 - Form Factor: SSI-EEB
177 - On Board: I/O1 x PSU Power Connector (24-pin SSI power connector + 8-pin SSI 12V + 8-pin SSI 12V power connector), 1 x Management Connector , Onboard socket for management card, 3 x USB pin header , Up to 6 Devices, 1 x Internal A Type USB Port, 8 x Fan Header , 4pin (3pin/4pin fan dual support), 2 x SMBus, 1 x Serial Port Header, 1 x TPM header, 1 x PS/2 KB/MS portBack I/O Ports1 x External Serial Port, 2 x External USB Port, 1 x VGA Port, 2 x RJ-45, 1 x PS/2 KB/Mouse
178
179 #### ASUS KPGE-D16
180 Assemblage DIY basé sur le Viking D16.
181
182 Achats :
183 - KPGE-D16, 224e+64e, https://www.ebay.fr/itm/ASUS-KGPE-D16-2UHS-Motherboard-2x-OS6386-CPU-with-heatsink-Fan-IO-Shield-/352941344143
184
185 Ressources :
186 - https://wiki.vikings.net/wiki/KGPE-D16
187 - https://libreboot.org/docs/hardware/kgpe-d16.html
188 - https://www.raptorengineering.com/coreboot/kgpe-d16-status.php
189
190 ##### Micrologiciel
191 Coreboot ou Libreboot devraient pouvoir être installés avec un flasher CH341A pour SPI 25xx sur P-DIP8.
192
193 Using a chip extraction tool for the swap, and making sure to clear my CMOS memory between each swap.
194
195 Once you write coreboot.rom to your chip, remember to read it back out and do an md5sum against what you got back, to compare against your original file. This way, you can verify that the image did not get corrupted during the transfer.
196
197 If you're coming from the original KGPE-D16's BIOS, you'll need to clear your CMOS (use the jumper, or just remove power and the CMOS battery and wait 5 minutes.)
198
199 Achats:
200 - Winchiphead CH341A
201 - 6e, https://www.ebay.fr/itm/USB-Programmer-CH341A-24-25-Serie-Graveur-BIOS-Writer-SPI-Flash-de-bord-U6N2-/263081754209
202
203 Ressources :
204 - https://libreboot.org/docs/install/bbb_setup.html
205 - https://www.deityguard.org/flashing
206 - https://flashrom.org/Supported_hardware
207 - AMD family 10h support dropped by coreboot: https://www.reddit.com/r/coreboot/comments/dz0bkf/comment/f84ruo6
208
209 ##### Ventilateur
210 - https://noctua.at/en/nh-u12do-a3
211 - https://www.dynatron.co/product-page/t757
212
213 Un ventilateur dure environ 5 ans. Le système peut être endommagé si le ventilateur n'est pas remplacé.
214
215 ##### CPU
216 Opteron 6272, 2-2.4-3Ghz, 16 cores, family 15h, socket G34, year 2012, 32nm
217
218 - Supporte la DDR3 1600 ECC registered, en UDIMM ou RDIMM
219 - Support l'accelération de la virtualisation par AMD-V
220 - Supporte l'accelération du chiffrement par AES-NI
221
222 Achats :
223 - Deux vendus avec la carte KPGE-D16 d'occasion.
224
225 ##### RAM
226 Kingston à éviter d'après libreboot.
227
228 Achats :
229 - 52e, 1x 8Go, DDR3 1600MHz, ECC registered, Crucial, https://www.ebay.fr/p/Ram-M%C3%A9moire-Crucial-Ct102464bd160b-8-GB-Ddr3l-1600-MHz-Pc3-12800/567387997?iid=293273368349
230
231 ##### Alimentation
232 Les Opteron sont des CPU pre-Ryzen, le 6272 est annoncé comme nécessitant entre 80W et 115W, à comparer aux 15W à 25W du V1605B.
233
234 > It requires a 24 pin SSI motherboard power connector, and 2 independent 12V 8 pin SSI CPU power connectors
235
236 > Other things to keep in mind with SSI EEB motherboards is that you will most likely be using 2 x 8pin (EPS12V) server power connectors, which most consumer grade power supplies do not provide.
237
238 ##### Enclosure
239 > SSI EEB will fit in an EATX case or bigger. Its dimensions are exactly 12 x 13 inches. However, not all screw holes will line up (usually 3 screw holes will not line up, depending on the exact SSI EEB motherboard you have). The corners line up and some intermediate ones do, and the motherboard should be held tight enough for most usage. But you may notice some motherboard bending due to the missing screws in other areas.
240
241 - ~200€, Nanoxia Deep Silence 5
242
243 ##### Stockage
244 - Main Storage (SSD recommended)
245 - Samsung EVO 860, 500GB, https://www.ldlc.com/fiche/PB00243244.html
246 - Storage HDD 2x Seagate BarraCuda..
247
248 #### System76 Thelio
249 - https://system76.com/desktops/thelio-b1/configure
250 - ~1000€, AMD Ryzen 3 3200G, 2x 8GB Dual Channel DDR4 @3200MHz, 1x 250GB NVMe (Seq. Read: 3500MB/s, Write: 2300MB/s)
251 - ~1600€, AMD AMD Ryzen 7 3800X (3.9 up to 4.5 GHz - 8 Cores - 16 Threads), 2x 8GB Dual Channel DDR4 @3200MHz, 1x 250GB NVMe (Seq. Read: 3500MB/s, Write: 2300MB/s)
252 - ~1635€, Intel i9 9900K (3.6 up to 5 GHz - 8 Cores - 16 Threads), 2x 8GB Dual Channel DDR4 @3200MHz, 1x 250GB NVMe (Seq. Read: 3500MB/s, Write: 2300MB/s)
253
254 > the Core i9 9900K and the Ryzen 9 3900X. Both are amazing CPUs that are very similar in price and have a good specialty; the 3900X is featuring 4 more cores and 8 more threads than the 9900K thus making it a gaming and workstation beast, beating the 9900K by as much as 50% in rendering/editing/streaming tasks all while consuming less power and producing less heat thanks to its superior 7nm production process. The 9900K though has a small edge in gaming performance that holds even if we overclock both CPUs to the max.
255
256 #### System76 Meerkat
257 - https://system76.com/desktops/meerkat
258 - ~1000€, Intel i7-8559U (2.7 up to 4.5GHz – 8MB Cache - 4 Cores - 8 Threads), 16GB Dual Channel DDR4 at 2400 MHz, 250GB NVMe (Seq. Read: 3500MB/s, Write: 2300MB/s)
259
260 #### Talos™ II Entry-Level Developer System
261 - https://www.raptorcs.com/content/TLSDS3/intro.html
262 - CPU: IBM POWER9 (2017, 14 nm FinFET) https://en.wikipedia.org/wiki/POWER9
263 - >2500e
264 - Frais de port éĺevés.
265 - Architecture PowerPC (et non x86_64, bien supportée par NixOS et Haskell).
266
267 #### Onlogic CL210G-11
268 - https://www.onlogic.com/cl210g-11/
269 - Seulement 4G de RAM.
270
271 #### Intel NUC7CJYH
272 - https://www.notebookcheck.net/Intel-NUC-Kit-NUC7CJYH-Celeron-J4005-UHD-600-Mini-PC-Review.308466.0.html
273 - Intel Celeron J4005
274 - Seulement 8G de RAM (DDR4).
275
276 #### NUC8v7PNH
277 - Intel Provo Canyon 8th Gen NUC with i7 Processor
278 - DDR4.
279 - Pas de jack audio.
280
281 #### Intel NUC8CCHKR
282 - http://simplynuc.com/8CCHKR-full/
283 - Seulement 4G de RAM.
284
285 #### Intel NUC8i7INH
286 - https://www.intel.com/content/www/us/en/products/boards-kits/nuc/kits/nuc8i7inh.html
287 - Seulement 8G de RAM.
288 - LPDDR3.
289
290 #### Intel NUC8v7PNF
291 - https://simplynuc.com/8v7pnf-full/
292 - https://ark.intel.com/content/www/us/en/ark/products/199110/intel-nuc-8-pro-kit-nuc8v7pnh.html
293 - i7-8665U
294 - ~1000€
295 - Livraison mi-mai 2020
296
297 #### Shuttle DS77U7
298 - https://www.ldlc.com/fiche/PB00239089.html
299 - Dual-Core Intel i7-7500U
300 - Fanless
301
302 #### TranquilPC Mini Multi display PC
303 - AMD Ryzen™ Embedded V1605B (4 Cores/8 Threads – Base 2.0GHz – Turbo 3.6GHz - TDP 12-25W)
304 - N'a pas l'air de pouvoir inclure un disque 2.5"
305
306 #### Simply NUC LLMv6SQ (code named Sequoia)
307 - http://simplynuc.com/sequoia-v6-full/
308 - ~700€
309 - not fanless
310
311 #### Fanless Quad-Core ML100G-40
312 - https://www.onlogic.com/ml100g-40/
313 - ~700€
314
315 #### IB918
316 - AMD Ryzen™ Embedded V1000/R1000 SoC 3.5-inch Disk-Size SBC
317 - http://ibase-usa.com/english/ProductDetail/EmbeddedComputing/IB918
318
319 #### EmETXe-a10M0
320 - AMD Ryzen Embedded V1000 V1605B/V1756B/V1807B COM Express® Compact Type 6 CPU Module
321 - https://www.arbor-technology.com/gl/Product/Pro/Model/EmETXe-a10M0
322
323 #### BleuJour METAu
324 - https://www.bleujour.com/pc-embarque/meta-u/
325
326 #### Prime Computer PrimeServer Pro
327 - https://primecomputer.co/products/prime-server-pro/
328 - Prix abusés !
329
330 ### Alimentation
331 - USB Power ZK-DP2F
332 - 4e, http://www.icstation.com/adjustable-step-down-power-supply-module-fast-charging-cvcc-buck-boost-voltage-converter-p-13741.html
333 - USB Power ZK-DP2
334 - 4e, http://www.icstation.com/mobile/adjustable-step-down-power-supply-module-cvcc-buck-boost-voltage-converter-with-shell-p-13463.html
335 - 7e, https://www.tindie.com/products/icstation/15w-adjustable-step-updown-power-module-13452/
336 - VariPower-USB-700
337 - 35e, http://www.etonnet.com/varipower-700.html
338 - 35e, https://www.tindie.com/products/etonnet/varipower-usb-700/
339
340 Il serait également possible d'acheter une batterie avec USB-PowerDelivery et un sink négociant 12V :
341 - https://www.tindie.com/products/pier42/usb-c-pd-sink/
342
343 ### Écran
344 - https://www.gechic.com/en-portable-monitor-onlap1306h-specification.html
345 - 5V 1.6A
346 - https://www.gechic.com/en-portable-monitor-onlap1102e-overview.html
347 - 5V 1.7A
348 - https://www.gechic.com/en-portable-monitor-onlap1102e-overview.html
349 - Asus ZenScreen MB16AC (15,6 pouces, FHD, IPS)
350 - https://www.notebookcheck.biz/Courte-critique-de-l-ecran-Asus-ZenScreen-MB16AC-15-6-pouces-FHD-IPS.268242.0.html
351 - Elecrow Raspberry Pi Écran portable IPS 10,1" 2K 2560 x 1600