summaryrefslogtreecommitdiff
path: root/opendc-web/opendc-web-ui/src/util/unit-specifications.js
blob: 28479edde1586c4355eb68105324f90109b8bace (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
export const CPU_UNITS = {
    'cpu-1': {
        _id: 'cpu-1',
        name: 'Intel i7 v6 6700k',
        clockRateMhz: 4100,
        numberOfCores: 4,
        energyConsumptionW: 70,
    },
    'cpu-2': {
        _id: 'cpu-2',
        name: 'Intel i5 v6 6700k',
        clockRateMhz: 3500,
        numberOfCores: 2,
        energyConsumptionW: 50,
    },
    'cpu-3': {
        _id: 'cpu-3',
        name: 'Intel® Xeon® E-2224G',
        clockRateMhz: 3500,
        numberOfCores: 4,
        energyConsumptionW: 71,
    },
    'cpu-4': {
        _id: 'cpu-4',
        name: 'Intel® Xeon® E-2244G',
        clockRateMhz: 3800,
        numberOfCores: 8,
        energyConsumptionW: 71,
    },
    'cpu-5': {
        _id: 'cpu-5',
        name: 'Intel® Xeon® E-2246G',
        clockRateMhz: 3600,
        numberOfCores: 12,
        energyConsumptionW: 80,
    },
}

export const GPU_UNITS = {
    'gpu-1': {
        _id: 'gpu-1',
        name: 'NVIDIA GTX 4 1080',
        clockRateMhz: 1200,
        numberOfCores: 200,
        energyConsumptionW: 250,
    },
    'gpu-2': {
        _id: 'gpu-2',
        name: 'NVIDIA Tesla V100',
        clockRateMhz: 1200,
        numberOfCores: 5120,
        energyConsumptionW: 250,
    },
}

export const MEMORY_UNITS = {
    'memory-1': {
        _id: 'memory-1',
        name: 'Samsung PC DRAM K4A4G045WD',
        speedMbPerS: 16000,
        sizeMb: 4000,
        energyConsumptionW: 10,
    },
    'memory-2': {
        _id: 'memory-2',
        name: 'Samsung PC DRAM M393A2K43BB1-CRC',
        speedMbPerS: 2400,
        sizeMb: 16000,
        energyConsumptionW: 10,
    },
    'memory-3': {
        _id: 'memory-3',
        name: 'Crucial MTA18ASF4G72PDZ-3G2E1',
        speedMbPerS: 3200,
        sizeMb: 32000,
        energyConsumptionW: 10,
    },
    'memory-4': {
        _id: 'memory-4',
        name: 'Crucial MTA9ASF2G72PZ-3G2E1',
        speedMbPerS: 3200,
        sizeMb: 16000,
        energyConsumptionW: 10,
    },
}

export const STORAGE_UNITS = {
    'storage-1': {
        _id: 'storage-1',
        name: 'Samsung EVO 2016 SATA III',
        speedMbPerS: 6000,
        sizeMb: 250000,
        energyConsumptionW: 10,
    },
    'storage-2': {
        _id: 'storage-2',
        name: 'Western Digital MTA9ASF2G72PZ-3G2E1',
        speedMbPerS: 6000,
        sizeMb: 4000000,
        energyConsumptionW: 10,
    },
}