2020-10-01 11:01:08 +02:00
|
|
|
from concho.dell import DellMatinfoCsvConfigurator
|
|
|
|
from concho.dell import DellMatinfoConfigurator
|
2020-09-25 16:35:13 +02:00
|
|
|
from concho.procs_chooser import plot_system_efficiency
|
2020-10-01 11:01:08 +02:00
|
|
|
from concho.procs_chooser import plot_efficiency
|
2020-09-25 16:35:13 +02:00
|
|
|
|
2020-10-01 11:01:08 +02:00
|
|
|
def test_all_matinfo_2020_configs():
|
2020-09-25 16:35:13 +02:00
|
|
|
# configurator = DellMatinfoConfigurator('rcrc1406676-4834664 - Cat2 Conf4 PowerEdge R640 - Dell.html')
|
|
|
|
# print(configurator)
|
2020-10-01 11:01:08 +02:00
|
|
|
configurators = [
|
|
|
|
DellMatinfoCsvConfigurator('c6420-20200716-price.tsv'),
|
|
|
|
DellMatinfoConfigurator('rcrc1406676-4834664 - Cat2 Conf4 PowerEdge R640 - Dell.html'),
|
|
|
|
DellMatinfoConfigurator('rcrc1406676-4824727 - Cat 2 Conf 7 PowerEdge R940 - Dell.html'),
|
|
|
|
# dell.DellPowerEdgeR940(),
|
|
|
|
]
|
|
|
|
|
|
|
|
plot_efficiency(configurators=configurators, ram_per_core=4.0e9)
|
|
|
|
|
|
|
|
def test_credits_2020_configs():
|
|
|
|
# configurator = DellMatinfoConfigurator('rcrc1406676-4834664 - Cat2 Conf4 PowerEdge R640 - Dell.html')
|
|
|
|
# print(configurator)
|
|
|
|
configurators = [
|
|
|
|
DellMatinfoCsvConfigurator('c6420-20200716-price.tsv'),
|
|
|
|
DellMatinfoConfigurator('rcrc1406676-4834664 - Cat2 Conf4 PowerEdge R640 - Dell.html'),
|
|
|
|
DellMatinfoConfigurator('rcrc1406676-4824727 - Cat 2 Conf 7 PowerEdge R940 - Dell.html'),
|
|
|
|
# dell.DellPowerEdgeR940(),
|
|
|
|
]
|
|
|
|
|
|
|
|
cpu_filter = lambda cpu : cpu.uid in [
|
|
|
|
'intel-xeon-gold-5222',
|
|
|
|
'intel-xeon-gold-6226r',
|
|
|
|
'intel-xeon-gold-6230r',
|
|
|
|
'intel-xeon-gold-6234r',
|
|
|
|
'intel-xeon-gold-6240r',
|
|
|
|
'intel-xeon-gold-6248r',
|
|
|
|
'intel-xeon-gold-6230',
|
|
|
|
'intel-xeon-gold-6240',
|
|
|
|
]
|
|
|
|
|
|
|
|
plot_efficiency(configurators=configurators, ram_per_core=4.0e9, cpu_filter=cpu_filter)
|
|
|
|
|
2020-09-25 16:35:13 +02:00
|
|
|
|
|
|
|
if __name__ == '__main__':
|
2020-10-01 11:01:08 +02:00
|
|
|
test_all_matinfo_2020_configs()
|