# Versions du script bench.sh ## Version 1.4.0 (2026-01-10) ### Nouveautés #### Amélioration capture RAM 1. **Fréquence correcte avec unité** - Avant: Cherchait `Speed: xxx MHz` → toujours 0 - Maintenant: Lit `Configured Memory Speed: xxx MT/s` ou `xxx MHz` - Nouveau champ: `speed_unit` ("MT/s" ou "MHz") - Affichage: "4800 MT/s" (DDR5) ou "1600 MHz" (DDR3) 2. **Form Factor** - Nouveau champ: `form_factor` - Valeurs: DIMM, SO-DIMM, FB-DIMM, RIMM, etc. - Permet de distinguer RAM desktop vs laptop 3. **Part Number complet** - Nouveau champ: `part_number` - Référence fabricant complète (ex: "M425R1GB4BB0-CQKOL") - Capture multi-mots 4. **Capacité maximale carte mère** - Nouveau champ: `ram_max_capacity_mb` - Extrait depuis dmidecode -t 16 (Physical Memory Array) - Exemple: 64 GB, 128 GB, 256 GB ### Format JSON RAM Layout **Avant (v1.3.2):** ```json { "slot": "DIMM", "size_mb": 8192, "type": "DDR5", "speed_mhz": 0, "manufacturer": "Samsung", "part_number": null } ``` **Maintenant (v1.4.0):** ```json { "slot": "DIMM0", "size_mb": 8192, "type": "DDR5", "speed_mhz": 4800, "speed_unit": "MT/s", "form_factor": "SODIMM", "manufacturer": "Samsung", "part_number": "M425R1GB4BB0-CQKOL" } ``` ### Rétrocompatibilité ✅ Les benchmarks v1.3.2 continuent de fonctionner ✅ Nouveaux champs optionnels (null si absents) ✅ Frontend gère gracieusement les données manquantes ### Migration Pour profiter des nouvelles fonctionnalités: ```bash # Télécharger le nouveau script cd /home/gilles/projects/serv_benchmark git pull # ou copier manuellement # Lancer un nouveau benchmark sudo bash scripts/bench.sh ``` Les nouvelles données apparaîtront: - Fréquence RAM affichée avec unité correcte - Form Factor visible dans les cartes visuelles - Part Number affiché - Capacité max de la carte mère --- ## Version 1.3.2 (2025-12-20) ### Fonctionnalités - Collecte hardware complète - Benchmarks CPU, RAM, Disk, Network - Scores CPU mono/multi - Layout RAM (slots occupés/vides) - Informations PCI/USB ### Limitations connues ❌ Fréquence RAM toujours à 0 ❌ Form Factor non capturé ❌ Part Number manquant ❌ Capacité max carte mère non disponible **→ Résolu en v1.4.0** --- ## Version 1.3.0 (2025-12-15) ### Fonctionnalités initiales - Premier support des benchmarks complets - Collecte CPU, RAM, Disk - Support basique dmidecode --- ## Comparaison rapide | Fonctionnalité | v1.3.0 | v1.3.2 | v1.4.0 | |----------------|--------|--------|--------| | Fréquence RAM | ❌ | ❌ (0) | ✅ MT/s ou MHz | | Unité fréquence | ❌ | ❌ | ✅ speed_unit | | Form Factor | ❌ | ❌ | ✅ DIMM/SO-DIMM | | Part Number | ❌ | ❌ | ✅ Complet | | Capacité max MB | ❌ | ❌ | ✅ dmidecode -t 16 | | CPU mono/multi | ❌ | ✅ | ✅ | | Network bench | ❌ | ✅ | ✅ | | SMART disques | ❌ | ✅ | ✅ | --- **Recommandation**: Mettre à jour vers v1.4.0 pour profiter de toutes les améliorations RAM.