Skip to content

Commit 76b1acb

Browse files
authored
Fixing issue with number of memory threads
1 parent 782f280 commit 76b1acb

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

bin/wfbench

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -218,8 +218,9 @@ def main():
218218
if core:
219219
print(f"[WfBench] {args.name} acquired core {core}")
220220

221+
mem_threads=int(10 - 10 * args.percent_cpu)
221222
cpu_procs = cpu_mem_benchmark(cpu_threads=int(10 * args.percent_cpu),
222-
mem_threads=int(10 - 10 * args.percent_cpu),
223+
mem_threads=mem_threads,
223224
cpu_work=sys.maxsize if args.time else int(args.cpu_work),
224225
core=core,
225226
total_mem=args.mem)

0 commit comments

Comments
 (0)