]> Git — Sourcephile - sourcephile-txt.git/blob - Demandes_de_Critiques/ddc9_-_logiciellerie_-_une_infra_de_dev.md
DDC9: phase de test
[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-13)
6 - Phase: Test
7
8 # Bilan approximatif
9 ## Mentions possibles
10 - R: « À rejeter »
11 - C: « À clarifier »
12 - A: « À améliorer »
13 - T: « À tester »
14 - G: « À garder »
15
16 ## Analyses des préoccupations
17 ### [G] Pour l’indépendance
18 #### [G] Concernant les charges
19 - [G] julm: on est sur une dépense de ~350€ de matériel pour une espérance de fonctionnement et d’usage >5ans. C’est un prix très correct pour ce que c’est.
20 #### [T] Concernant l’autonomie
21 - [T] julm: on a la main sur le matériel et le logiciel (sauf à priori le BIOS).
22 ### [T] Pour la science
23 - [T] julm: on peut mettre du NixOS, du Haskell et du PureScript.
24 ### [T] Pour la production
25 - [T] julm: il n'est pas certain que le CPU puisse être utilisé à pleine puissance avec la batterie actuelle.
26 ### [A] Pour l’essaimage
27 - [A] julm
28 ### [A] Pour la coopération
29 - [A] julm: les machines sont fabriquées à l'autre bout de la planète dans des conditions sociales probablement déplorables.
30 ### [A] Pour l’environnement
31 - [A] julm: c’est une machine très basse consommation (entre 5W et 17W), mais c’est quand même une consommation.
32
33
34 # Explications
35 ## Motivations
36 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.
37
38 ## Objectif
39 ### Objectif minimal
40 Avoir une machine x86_64 assez puissante pour utiliser confortablement les outils de développement d'Haskell, Purescript et Nix.
41 ### Objectif modeste
42 ### Objectif honorable
43 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.
44 ### Objectif ambitieux
45 ### Objectif maximal
46 Avoir une machine utilisable chez moi, sur une batterie que je possède déjà.
47
48 #### Écran
49 L'alimentation **doit** être en USB, et les données en USB ou HDMI sur un port différent.
50 L'écran **devrait** consommer en moyenne 5W et au maximum 10W, en 5V 2A USB-A ou USB-C.
51 Cela oriente vers une taille autour de 10 pouces.
52 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).
53 La résolution 1280x800 **devrait** être supportée.
54 Le constrate **peut** être aussi faible que 500:1, il ne s'agit pas ici de regarder des films, mais de coder et naviguer.
55 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.
56 La luminosité ne doit pas être à base de PWM, pour êviter les maux de tête.
57 Plusieurs angles d'inclination dans les modes portrait et paysage **devraient** être supportés.
58 Une fixation sur pied du type VESA **devrait** être supportée.
59
60 ## Études
61 ### RAM
62 > 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
63 - https://www.reddit.com/r/hardware/comments/5dimal/lpddr3_vs_ddr4_power_usage/da542as/
64
65 ### Bluetooth
66 - https://doc.ubuntu-fr.org/bluetooth_materiel-soutenu
67
68 ### TDP
69 - AMD: https://www.gamersnexus.net/guides/3525-amd-ryzen-tdp-explained-deep-dive-cooler-manufacturer-opinions
70 - Intel: https://www.how2shout.com/what-is/what-does-tdp-mean-thermal-design-power.html
71
72 ### CPU
73 #### Intel Core i7-620M
74 - https://en.wikichip.org/wiki/intel/core_i7/i7-620m
75 - CPU de mon ThinkPad X201, pour comparaison.
76 - Consommation électrique: entre 18W (powersave) et 24W (ondemand), mesuré par `powertop` pendant un `stress --cpu 4`, avec écran éteint.
77 - Année: 2010
78 - TDP: 35W
79
80 #### AMD Ryzen Embedded V1605B
81 - https://en.wikichip.org/wiki/amd/ryzen_embedded/v1605b
82 - Année: 2018
83 - TDP: 15W
84 - cTDP down: 12W
85 - cTDP up: 25W
86
87 #### Intel Pentium N4200
88 - https://en.wikichip.org/wiki/intel/pentium_(2009)/n4200
89 - TDP: 6W
90 - Frequency: 1100MHz
91 - Turbo Frequency: 2500MHz (1 core)
92
93 #### Intel Celeron J3455
94 - https://en.wikichip.org/wiki/intel/celeron/j3455
95 - Année: 2016
96 - TDP: 10W
97
98 #### Intel Celeron J4005
99 - https://en.wikichip.org/wiki/intel/celeron/j4005
100 - Année: 2017
101 - TDP: 10W
102 - Frequency: 2,000MHz
103 - Turbo Frequency: 2,700MHz (1 core)
104
105 #### Intel Core i7-7600U
106 - https://en.wikichip.org/wiki/intel/core_i7/i7-7600u
107 - Année: 2017
108 - Frequency: 2,800MHz
109 - Turbo Frequency:
110 - 3,900MHz (1 core)
111 - 3,900MHz (2 cores)
112 - TDP: 15W
113 - cTDP down: 7.5W @800MHz
114 - cTDP up: 25W @2,900MHz
115
116 #### Intel Core i7-7660U
117 - https://en.wikichip.org/wiki/intel/core_i7/i7-7600u
118 - Année: 2017
119 - Frequency: 2,500MHz
120 - Turbo Frequency: 4,000MHz (1 core)
121 - TDP: 15W
122 - cTDP down: 9.5W @800MHz
123
124 #### Intel Core i7-8565U
125 - https://en.wikichip.org/wiki/intel/core_i7/i7-8565u
126 - Année: 2018
127 - Frequency: 1,800MHz
128 - Turbo Frequency:
129 - 4,600MHz (1 core)
130 - 4,500MHz (2 cores)
131 - 4,100MHz (4 cores)
132 - TDP: 15W
133 - cTDP down: 10W @800MHz
134 - cTDP up: 25W @2,000MHz
135
136 #### Intel Core i7-8665U
137 - https://en.wikichip.org/wiki/intel/core_i7/i7-8665u
138 - https://www.notebookcheck.net/Intel-Core-i7-8665U-SoC-Whiskey-Lake.416029.0.html
139 - Année: 2019
140 - Frequency: 1,900MHz
141 - Turbo Frequency: 4,800MHz (1 core)
142 - TDP 15W
143 - cTDP down 10W
144 - cTDP up: 25W
145
146 #### Intel Core i7-10710U
147 - Année: 2019
148
149 # Actions
150 ## Ordinateur : Shuttle XPC Slim DL10J
151 - https://www.ldlc.com/fiche/PB00259273.html
152 - https://mitxpc.com/products/dl10j?_pos=3&_sid=997c6e4a6&_ss=r
153 - Intel Celeron J4005
154 - Seulement 8G de RAM (DDR4).
155
156 ## Bluetooth : TRENDnet TBW-107UB
157 Le Bluetooth permet de réutiliser mon clavier Keys-to-Go, que je peux utiliser sans déranger les personnes qui se reposent dans la même pièce car il est très silencieux.
158 - https://www.ldlc.com/fiche/PB00107707.html
159
160 ## Alimentation : USB Power ZK-DP3D
161 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),
162 il faut un élévateur de tension USB 5V vers 12V ou 19V et supportant les 15W.
163
164 - 11e, https://www.thanksbuyer.com/adjustable-usb-power-supply-15w-usb-fan-speed-controller-cv-cc-support-fast-charge-zk-dp3d-63918
165
166 ## Êcran : LP101WH1 10" HD
167 Je peux commencer par essayer de réutiliser ce modèle car 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.
168 - https://secure.reichelt.com/de/en/raspberry-pi-display-lcd-10-1-hdmi-lp101wh1-rpi-lcd-10-1hdmi-p191307.html
169
170 # Critiques
171 ## Questions non-résolues
172
173 ## Alternatives
174 ### Enclosure
175 #### Akasa Plato X8
176 - 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
177
178 #### Streacom NC2 Fanless Chassis
179 - https://streacom.com/products/nc2-fanless-chassis/
180 - Format: Intel NUC
181
182 #### Streacom FC5 Alpha Fanless Chassis
183 - Format: Mini-ITX, Micro-ATX and Full ATX
184
185 ### Ordinateur
186 #### Louer un espace en ligne
187 #### ASRock iBox-V1000
188 - https://www.asrockind.com/overview.asp?Model=iBOX-V1000
189 - 500e, https://mitxpc.com/products/ibox-v1000
190 - CPU: AMD Ryzen™ Embedded V1605B (4 Cores/8 Threads – Base 2.0GHz – Turbo 3.6GHz - TDP 12-25W)
191 - Consommation: 12W-25W
192 - Stockage: M.2 jusqu'à 22x80 et SATA 2.5"
193
194 #### Viking D16 systems
195 - https://store.vikings.net/libre-friendly-hardware/the-server-1u
196 - ~1500€
197
198 - Micrologiciel: Various options based on a de-blobbed coreboot, 2 - 16 MB firmware images
199 - Processor/System Bus: 2 x Socket G34, 6200 series, HyperTransport™ Technology 3.0, 6.4 GT/s per link (triple link)
200 - Carte graphique: On-board (Aspeed AST2050 with 8MB VRAM) or PCIe expansion card
201 - 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
202 - Core Logic: AMD SR5690, AMD SP5100
203 - Form Factor: SSI-EEB
204 - 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
205
206 #### ASUS KPGE-D16
207 Assemblage DIY basé sur le Viking D16.
208
209 Achats :
210 - KPGE-D16, 224e+64e, https://www.ebay.fr/itm/ASUS-KGPE-D16-2UHS-Motherboard-2x-OS6386-CPU-with-heatsink-Fan-IO-Shield-/352941344143
211
212 Ressources :
213 - https://wiki.vikings.net/wiki/KGPE-D16
214 - https://libreboot.org/docs/hardware/kgpe-d16.html
215 - https://www.raptorengineering.com/coreboot/kgpe-d16-status.php
216
217 ##### Micrologiciel
218 Coreboot ou Libreboot devraient pouvoir être installés avec un flasher CH341A pour SPI 25xx sur P-DIP8.
219
220 Using a chip extraction tool for the swap, and making sure to clear my CMOS memory between each swap.
221
222 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.
223
224 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.)
225
226 Achats:
227 - Winchiphead CH341A
228 - 6e, https://www.ebay.fr/itm/USB-Programmer-CH341A-24-25-Serie-Graveur-BIOS-Writer-SPI-Flash-de-bord-U6N2-/263081754209
229
230 Ressources :
231 - https://libreboot.org/docs/install/bbb_setup.html
232 - https://www.deityguard.org/flashing
233 - https://flashrom.org/Supported_hardware
234 - AMD family 10h support dropped by coreboot: https://www.reddit.com/r/coreboot/comments/dz0bkf/comment/f84ruo6
235
236 ##### Ventilateur
237 - https://noctua.at/en/nh-u12do-a3
238 - https://www.dynatron.co/product-page/t757
239
240 Un ventilateur dure environ 5 ans. Le système peut être endommagé si le ventilateur n'est pas remplacé.
241
242 ##### CPU
243 Opteron 6272, 2-2.4-3Ghz, 16 cores, family 15h, socket G34, year 2012, 32nm
244
245 - Supporte la DDR3 1600 ECC registered, en UDIMM ou RDIMM
246 - Support l'accelération de la virtualisation par AMD-V
247 - Supporte l'accelération du chiffrement par AES-NI
248
249 Achats :
250 - Deux vendus avec la carte KPGE-D16 d'occasion.
251
252 ##### RAM
253 Kingston à éviter d'après libreboot.
254
255 Achats :
256 - 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
257
258 ##### Alimentation
259 Les Opteron sont des CPU pre-Ryzen, le 6272 est annoncé comme nécessitant entre 80W et 115W, à comparer aux 15W à 25W du V1605B.
260
261 > It requires a 24 pin SSI motherboard power connector, and 2 independent 12V 8 pin SSI CPU power connectors
262
263 > 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.
264
265 ##### Enclosure
266 > 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.
267
268 - ~200€, Nanoxia Deep Silence 5
269
270 ##### Stockage
271 - Main Storage (SSD recommended)
272 - Samsung EVO 860, 500GB, https://www.ldlc.com/fiche/PB00243244.html
273 - Storage HDD 2x Seagate BarraCuda..
274
275 #### System76 Thelio
276 - https://system76.com/desktops/thelio-b1/configure
277 - ~1000€, AMD Ryzen 3 3200G, 2x 8GB Dual Channel DDR4 @3200MHz, 1x 250GB NVMe (Seq. Read: 3500MB/s, Write: 2300MB/s)
278 - ~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)
279 - ~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)
280
281 > 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.
282
283 #### System76 Meerkat
284 - https://system76.com/desktops/meerkat
285 - ~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)
286
287 #### Talos™ II Entry-Level Developer System
288 - https://www.raptorcs.com/content/TLSDS3/intro.html
289 - CPU: IBM POWER9 (2017, 14 nm FinFET) https://en.wikipedia.org/wiki/POWER9
290 - >2500e
291 - Frais de port éĺevés.
292 - Architecture PowerPC (et non x86_64, bien supportée par NixOS et Haskell).
293
294 #### Onlogic CL210G-11
295 - https://www.onlogic.com/cl210g-11/
296 - Seulement 4G de RAM.
297
298 #### Intel NUC7CJYH
299 - https://www.notebookcheck.net/Intel-NUC-Kit-NUC7CJYH-Celeron-J4005-UHD-600-Mini-PC-Review.308466.0.html
300 - Intel Celeron J4005
301 - Seulement 8G de RAM (DDR4).
302
303 #### NUC8v7PNH
304 - Intel Provo Canyon 8th Gen NUC with i7 Processor
305 - DDR4.
306 - Pas de jack audio.
307
308 #### Intel NUC8CCHKR
309 - http://simplynuc.com/8CCHKR-full/
310 - Seulement 4G de RAM.
311
312 #### Intel NUC8i7INH
313 - https://www.intel.com/content/www/us/en/products/boards-kits/nuc/kits/nuc8i7inh.html
314 - Seulement 8G de RAM.
315 - LPDDR3.
316
317 #### Intel NUC8v7PNF
318 - https://simplynuc.com/8v7pnf-full/
319 - https://ark.intel.com/content/www/us/en/ark/products/199110/intel-nuc-8-pro-kit-nuc8v7pnh.html
320 - i7-8665U
321 - ~1000€
322 - Livraison mi-mai 2020
323
324 #### Shuttle DS77U7
325 - https://www.ldlc.com/fiche/PB00239089.html
326 - Dual-Core Intel i7-7500U
327 - Fanless
328
329 #### TranquilPC Mini Multi display PC
330 - AMD Ryzen™ Embedded V1605B (4 Cores/8 Threads – Base 2.0GHz – Turbo 3.6GHz - TDP 12-25W)
331 - N'a pas l'air de pouvoir inclure un disque 2.5"
332
333 #### Simply NUC LLMv6SQ (code named Sequoia)
334 - http://simplynuc.com/sequoia-v6-full/
335 - ~700€
336 - not fanless
337
338 #### Fanless Quad-Core ML100G-40
339 - https://www.onlogic.com/ml100g-40/
340 - ~700€
341
342 #### IB918
343 - AMD Ryzen™ Embedded V1000/R1000 SoC 3.5-inch Disk-Size SBC
344 - http://ibase-usa.com/english/ProductDetail/EmbeddedComputing/IB918
345
346 #### EmETXe-a10M0
347 - AMD Ryzen Embedded V1000 V1605B/V1756B/V1807B COM Express® Compact Type 6 CPU Module
348 - https://www.arbor-technology.com/gl/Product/Pro/Model/EmETXe-a10M0
349
350 #### BleuJour METAu
351 - https://www.bleujour.com/pc-embarque/meta-u/
352
353 #### Prime Computer PrimeServer Pro
354 - https://primecomputer.co/products/prime-server-pro/
355 - Prix abusés !
356
357 ### Alimentation
358 - USB Power ZK-DP2F
359 - 4e, http://www.icstation.com/adjustable-step-down-power-supply-module-fast-charging-cvcc-buck-boost-voltage-converter-p-13741.html
360 - USB Power ZK-DP2
361 - 4e, http://www.icstation.com/mobile/adjustable-step-down-power-supply-module-cvcc-buck-boost-voltage-converter-with-shell-p-13463.html
362 - 7e, https://www.tindie.com/products/icstation/15w-adjustable-step-updown-power-module-13452/
363 - VariPower-USB-700
364 - 35e, http://www.etonnet.com/varipower-700.html
365 - 35e, https://www.tindie.com/products/etonnet/varipower-usb-700/
366
367 Il serait également possible d'acheter une batterie avec USB-PowerDelivery et un sink négociant 12V :
368 - https://www.tindie.com/products/pier42/usb-c-pd-sink/
369
370 ### Écran
371 - https://www.gechic.com/en-portable-monitor-onlap1306h-specification.html
372 - 5V 1.6A
373 - https://www.gechic.com/en-portable-monitor-onlap1102e-overview.html
374 - 5V 1.7A
375 - https://www.gechic.com/en-portable-monitor-onlap1102e-overview.html
376 - Asus ZenScreen MB16AC (15,6 pouces, FHD, IPS)
377 - https://www.notebookcheck.biz/Courte-critique-de-l-ecran-Asus-ZenScreen-MB16AC-15-6-pouces-FHD-IPS.268242.0.html
378 - Elecrow Raspberry Pi Écran portable IPS 10,1" 2K 2560 x 1600