File tree Expand file tree Collapse file tree 1 file changed +20
-0
lines changed
tests/playbooks/roles/install-devstack/templates Expand file tree Collapse file tree 1 file changed +20
-0
lines changed Original file line number Diff line number Diff line change @@ -21,6 +21,26 @@ TARGET_BRANCH={{ branch }}
21
21
22
22
ENABLED_SERVICES=rabbit,mysql,key
23
23
24
+ # Host tuning
25
+ # From: https://opendev.org/openstack/devstack/src/commit/05f7d302cfa2da73b2887afcde92ef65b1001194/.zuul.yaml#L645-L662
26
+ # Tune the host to optimize memory usage and hide io latency
27
+ # these setting will configure the kernel to treat the host page
28
+ # cache and swap with equal priority, and prefer deferring writes
29
+ # changing the default swappiness, dirty_ratio and
30
+ # the vfs_cache_pressure
31
+ ENABLE_SYSCTL_MEM_TUNING=true
32
+ # The net tuning optimizes ipv4 tcp fast open and config the default
33
+ # qdisk policy to pfifo_fast which effectively disable all qos.
34
+ # this minimizes the cpu load of the host network stack
35
+ ENABLE_SYSCTL_NET_TUNING=true
36
+ # zswap allows the kernel to compress pages in memory before swapping
37
+ # them to disk. this can reduce the amount of swap used and improve
38
+ # performance. effectivly this trades a small amount of cpu for an
39
+ # increase in swap performance by reducing the amount of data
40
+ # written to disk. the overall speedup is porportional to the
41
+ # compression ratio and the speed of the swap device.
42
+ ENABLE_ZSWAP=true
43
+
24
44
{% if "nova" in enable_services %}
25
45
# Nova
26
46
enable_service n-api
You can’t perform that action at this time.
0 commit comments