return 1
return result
-# spread given number for all sockets
-# e.g. 32 becomes 16,16 or 8,8,8,8 etc.
-def all_sockets(num):
- mem_per_socket = num / num_sockets()
- return ",".join([str(mem_per_socket)] * num_sockets())
+# Assign given number to each socket
+# e.g. 32 becomes 32,32 or 32,32,32,32
+def per_sockets(num):
+ return ",".join([str(num)] * num_sockets())
# groups of tests that can be run in parallel
# the grouping has been found largely empirically
{
"Prefix": "group_1",
- "Memory" : all_sockets(8),
+ "Memory" : per_sockets(8),
"Tests" :
[
{
},
{
"Prefix": "group_3",
- "Memory" : all_sockets(1024),
+ "Memory" : per_sockets(1024),
"Tests" :
[
{
},
{
"Prefix": "group_4",
- "Memory" : all_sockets(128),
+ "Memory" : per_sockets(128),
"Tests" :
[
{
},
{
"Prefix": "group_5",
- "Memory" : "16",
+ "Memory" : "32",
"Tests" :
[
{
},
{
"Prefix": "group_6",
- "Memory" : all_sockets(620),
+ "Memory" : per_sockets(620),
"Tests" :
[
{
},
{
"Prefix": "mempool_perf",
- "Memory" : all_sockets(256),
+ "Memory" : per_sockets(256),
"Tests" :
[
{
},
{
"Prefix": "memcpy_perf",
- "Memory" : all_sockets(512),
+ "Memory" : per_sockets(512),
"Tests" :
[
{
},
{
"Prefix": "hash_perf",
- "Memory" : all_sockets(512),
+ "Memory" : per_sockets(512),
"Tests" :
[
{
},
{
"Prefix" : "power",
- "Memory" : all_sockets(512),
+ "Memory" : per_sockets(512),
"Tests" :
[
{
},
{
"Prefix" : "power_acpi_cpufreq",
- "Memory" : all_sockets(512),
+ "Memory" : per_sockets(512),
"Tests" :
[
{
},
{
"Prefix": "timer_perf",
- "Memory" : all_sockets(512),
+ "Memory" : per_sockets(512),
"Tests" :
[
{
#
{
"Prefix": "ring_perf",
- "Memory" : all_sockets(512),
+ "Memory" : per_sockets(512),
"Tests" :
[
{