Commit Graph

7 Commits

Author SHA1 Message Date
Guillaume Raffy 0093829256 fixed bug that caused some impossible configurations to be included
now the number of cpus in a serveur can't exceed what the cpu actually supports
2021-04-08 11:20:39 +02:00
Guillaume Raffy 94bf0b3a55 replaced file extention of cpu table to ease editing
tsv is more explicit than dat (which could be anything), this allows syntax colouring
2021-04-08 10:31:43 +02:00
Guillaume Raffy 0ccf04537d concho is now able to parse r6525 configurations
- added support for amd epyc rome processors
- handled the case where the 'additional processor' section doesn't exist in the web page (as it's the case in r6525 configurations)
2021-04-08 10:18:32 +02:00
Guillaume Raffy 1340c1b980 added a configurator for poweredge c6420 based on prices coming from a tab separated value file 2020-09-29 19:09:42 +02:00
Guillaume Raffy a22f88ec6a improved dimm filling in cpu slots
previously, only one dimm was used per channel, which resulted in too expensive configurations when the number of cores increased.
2020-09-28 17:09:23 +02:00
Guillaume Raffy 053d0f17ac now concho computes the price of the memory as well
- the empty machine price is now correct (the base memory is substracted)
- also displays the mem size on the graph now that all machines don't have the same amount of memory

nb : work involved for Bug 2886 - Devis pour l'achat d'un nouveau noeud pour le cluster (crédits TS 2020)
2020-09-28 10:49:26 +02:00
Guillaume Raffy 93a8b77231 refactored because the code was hard to maintain and was hacked in lots of ways (handling of 4 servers per host).
- the prices are now retrived from matinfo's downloaded pages
- the derived prices (such as the price without cpu) are now automatically computed, rather than hardcoded from (hand computation)
- although it's a bit dirty, the architecture of the code is more generic:
  - each configuration is now stored in a Config object, which is able to compute its price.
  - dell specific code is now decoupled into a separate file.
warnings:
- the refactoring is designed to handle the old price tables but this work is not finished (the code using the old price tables is broken at the moment)
- the computed price is currently overestimated, as the price of the base memory dimms should be substracted
-  disks are not currently handled
2020-09-25 16:35:13 +02:00