mirror of
https://passt.top/passt
synced 2025-05-30 04:45:34 +02:00
Tweak dhclient arguments for readability
A number of tests and examples use dhclient in both IPv4 and IPv6 modes. We use "dhclient -6" for IPv6, but usually just "dhclient" for IPv4. Add an explicit "-4" argument to make it more clear and explicit. In addition, when dhclient is run from within pasta it usually won't be "real" root, and so will not have access to write the default global pid file. This results in a mostly harmless but irritating error: Can't create /var/run/dhclient.pid: Permission denied We can avoid that by using the --no-pid flag to dhclient. Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
This commit is contained in:
parent
2320ac3349
commit
ca0c33ae5b
10 changed files with 17 additions and 17 deletions
test/perf
|
@ -18,7 +18,7 @@ htools bc head sed seq
|
|||
|
||||
# In this setup, virtio_net TX queue sometimes hangs, still under investigation
|
||||
def virtio_net_workaround
|
||||
guest modprobe -r virtio_net; modprobe virtio_net napi_tx=1; dhclient; dhclient -6; sleep 3
|
||||
guest modprobe -r virtio_net; modprobe virtio_net napi_tx=1; dhclient -4; dhclient -6; sleep 3
|
||||
endef
|
||||
|
||||
test passt: throughput and latency
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue