summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
5c64c7d)
* Change behaviour to spread the memory specified across all sockets
rather than duplicating the memory for each one. This way the memory
size specified is the total memory needed by the test.
* Minor reordering of test cases, to ensure that ring autotest is the
final test run.
Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
-# multiply given number for all sockets
-# e.g. 32 becomes 32,32 or 32,32,32,32 etc.
+# 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())
def all_sockets(num):
mem_per_socket = num / num_sockets()
return ",".join([str(mem_per_socket)] * num_sockets())
},
{
"Prefix": "group_3",
},
{
"Prefix": "group_3",
- "Memory" : all_sockets(256),
+ "Memory" : all_sockets(1024),
+ "Prefix": "timer_perf",
"Memory" : all_sockets(512),
"Tests" :
[
{
"Memory" : all_sockets(512),
"Tests" :
[
{
- "Name" : "Ring performance autotest",
- "Command" : "ring_perf_autotest",
+ "Name" : "Timer performance autotest",
+ "Command" : "timer_perf_autotest",
"Func" : default_autotest,
"Report" : None,
},
]
},
"Func" : default_autotest,
"Report" : None,
},
]
},
+
+#
+# Please always make sure that ring_perf is the last test!
+#
- "Prefix": "timer_perf",
"Memory" : all_sockets(512),
"Tests" :
[
{
"Memory" : all_sockets(512),
"Tests" :
[
{
- "Name" : "Timer performance autotest",
- "Command" : "timer_perf_autotest",
+ "Name" : "Ring performance autotest",
+ "Command" : "ring_perf_autotest",
"Func" : default_autotest,
"Report" : None,
},
"Func" : default_autotest,
"Report" : None,
},