You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: tests/README.md
+12Lines changed: 12 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -79,6 +79,18 @@ For those developing new features for SWSS or the DVS framework, you might find
79
79
```
80
80
81
81
## Other useful test parameters
82
+
- You can specify a maximum amount of cores for the DVS to use (we recommend 2):
83
+
```
84
+
sudo pytest --max_cpu 2
85
+
```
86
+
87
+
For a persistent DVS:
88
+
```
89
+
docker run --privileged -v /var/run/redis-vs/sw:/var/run/redis --network container:sw -d --name vs --cpus 2 docker-sonic-vs
90
+
```
91
+
92
+
For specific details about the performance impact of this, see [the Docker docs.](https://docs.docker.com/config/containers/resource_constraints/#configure-the-default-cfs-scheduler)
93
+
82
94
- You can see the output of all test cases that have been run by adding the verbose flag:
0 commit comments