Skip to content

Commit 2183317

Browse files
committed
[windows] Adjust resources for Windows Docker Machine
The new default values are: - RACKER_WDM_VCPUS: 4 - RACKER_WDM_MEMORY: 4096 MB
1 parent 387dc20 commit 2183317

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

doc/winrunner.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -65,13 +65,13 @@ Resources
6565
=========
6666

6767
When creating the `Windows Docker Machine`_ virtual machine, the program will
68-
configure it to use 6 VCPUs and 6144 MB system memory by default.
68+
configure it to use 4 VCPUs and 4 GB system memory by default.
6969

7070
In order to adjust those values, use these environment variables before
7171
invoking the later commands::
7272

73-
export RACKER_VM_VCPUS=12
74-
export RACKER_VM_MEMORY=8192
73+
export RACKER_WDM_VCPUS=8
74+
export RACKER_WDM_MEMORY=8192
7575

7676
If you want to adjust the values after the initial deployment, you will have to
7777
reset the `Windows Docker Machine`_ installation directory. For example, it is:

postroj/winrunner.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@
2424

2525
class WinRunner:
2626

27-
VCPUS = os.environ.get("RACKER_WDM_VCPUS", 6)
28-
MEMORY = os.environ.get("RACKER_WDM_MEMORY", 6144)
27+
VCPUS = os.environ.get("RACKER_WDM_VCPUS", 4)
28+
MEMORY = os.environ.get("RACKER_WDM_MEMORY", 4096)
2929

3030
def __init__(self, image: str):
3131
self.image_base = image

0 commit comments

Comments
 (0)