Skip to content

Commit 720342e

Browse files
committed
Use two processes
1 parent cd29011 commit 720342e

File tree

1 file changed

+2
-16
lines changed

1 file changed

+2
-16
lines changed
Lines changed: 2 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,4 @@
11
#!/bin/bash
22

3-
# Install dependencies
4-
apt-get update \
5-
&& apt-get install -y --no-install-recommends \
6-
cgroup-tools
7-
8-
cgcreate -g cpu,cpuset:/cpugroup1
9-
cgcreate -g cpu,cpuset:/cpugroup2
10-
11-
cgset -r cpuset.cpus=0-27 /cpugroup1
12-
cgset -r cpuset.cpus=28-55 /cpugroup2
13-
14-
cgexec -g cpu:/cpugroup1 dotnet ./PlatformBenchmarks.dll &
15-
cgexec -g cpu:/cpugroup2 dotnet ./PlatformBenchmarks.dll
16-
17-
cgdelete -g cpu:/cpugroup1
18-
cgdelete -g cpu:/cpugroup2
3+
dotnet ./PlatformBenchmarks.dll &
4+
dotnet ./PlatformBenchmarks.dll

0 commit comments

Comments
 (0)