Skip to content

Commit 0d9be45

Browse files
committed
net, passt: Rm optimization requirements
Remove redundant node optimization requirements which are no longer required, and update some stale information that is no longer relevant. Signed-off-by: Nir Dothan <[email protected]>
1 parent cddff7b commit 0d9be45

File tree

1 file changed

+3
-25
lines changed
  • docs/network/net_binding_plugins

1 file changed

+3
-25
lines changed

docs/network/net_binding_plugins/passt.md

Lines changed: 3 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -28,23 +28,11 @@ Its main benefits are:
2828
| Primary network (pod network) | Yes |
2929
| Secondary network | No |
3030

31-
### Node optimization requirements/recommendations:
32-
33-
1. To get better performance the node should be configured with:
34-
```
35-
sysctl -w net.core.rmem_max = 33554432
36-
sysctl -w net.core.wmem_max = 33554432
37-
```
38-
2. To run multiple passt VMs with no explicit ports, the node's `fs.file-max` should be increased
39-
(for a VM forwards all IPv4 and IPv6 ports, for TCP and UDP, passt needs to create ~2^18 sockets):
40-
```
41-
sysctl -w fs.file-max = 9223372036854775807
42-
```
4331

4432
> **NOTE**: To achieve optimal memory consumption with Passt binding,
4533
> specify ports required for your workload.
4634
> When no ports are explicitly specified, all ports are forwarded,
47-
> leading to memory overhead of up to 800 Mi.
35+
> leading to memory overhead of up to 250 Mi.
4836
4937
## Passt network binding plugin
5038
[v1.1.0]
@@ -123,16 +111,6 @@ The sidecar sources can be found
123111
The relevant sidecar image needs to be accessible by the cluster and
124112
specified in the Kubevirt CR when registering the network binding plugin.
125113
126-
### Feature Gate
127-
If not already set, add the `NetworkBindingPlugins` FG.
128-
```
129-
kubectl patch kubevirts -n kubevirt kubevirt --type=json -p='[{"op": "add", "path": "/spec/configuration/developerConfiguration/featureGates/-", "value": "NetworkBindingPlugins"}]'
130-
```
131-
132-
> **Note**: The specific passt plugin has no FG by its own. It is up to the cluster
133-
> admin to decide if the plugin is to be available in the cluster.
134-
> The passt binding is still in evaluation, use it with care.
135-
136114
### Passt Registration
137115
As described in the [registration section](../../network/network_binding_plugins.md#register), passt binding plugin
138116
configuration needs to be added to the kubevirt CR.
@@ -147,7 +125,7 @@ kubectl patch kubevirts -n kubevirt kubevirt --type=json -p='[{"op": "add", "pat
147125
"migration": {},
148126
"computeResourceOverhead": {
149127
"requests": {
150-
"memory": "500Mi",
128+
"memory": "250Mi",
151129
}
152130
}
153131
}
@@ -159,7 +137,7 @@ The NetworkAttachmentDefinition and sidecarImage values should correspond with t
159137
names used in the previous sections, [here](#passt-networkattachmentdefinition)
160138
and [here](#passt-sidecar-image).
161139

162-
When using the plugin, additional memory overhead of `500Mi` will be requested for the compute container in the virt-launcher pod.
140+
When using the plugin, additional memory overhead of `250Mi` will be requested for the compute container in the virt-launcher pod.
163141

164142
When the VM boots for the first time, Passt's internal DHCP server assigns an IP address to the guest with an "infinite" lease duration.
165143

0 commit comments

Comments
 (0)