#the startup.conf
cat /etc/vpp/startup.conf
unix {
nodaemon
# interactive
log /tmp/vpp.log
full-coredump
cli-listen /run/vpp/cli.sock
startup-config /etc/vpp/startup-config
}
nat {
translation hash buckets 102400
user hash buckets 1280
max translations per user 5000
}
cpu {
main-core 0
corelist-workers 3,4
scheduler-policy fifo
scheduler-priority 50
}
dpdk {
dev 0000:83:00.1 {
num-rx-queues 2
}
dev 0000:83:00.0 {
num-rx-queues 2
}
num-mbufs 99840
}
api-segment {
gid vpp
}
[root@h179 /git/vpp]# cat /etc/vpp/startup-config
set interface state TenGigabitEthernet83/0/0 up
set interface state TenGigabitEthernet83/0/1 up
set interface ip addr TenGigabitEthernet83/0/0 2.2.2.2/24
set interface ip addr TenGigabitEthernet83/0/1 3.3.3.2/24
set ip arp TenGigabitEthernet83/0/0 2.2.2.1 90:e2:ba:c7:5a:60
ip route add 1.1.1.0/24 via 2.2.2.1
set interface nat44 in TenGigabitEthernet83/0/0 out TenGigabitEthernet83/0/1
nat44 add address 3.3.3.5
发件人: "Matus Fabian -X (matfabia - PANTHEON TECHNOLOGIES at Cisco)"
<[email protected]>
日期: 2018年1月2日 星期二 下午2:34
收件人: 李洪亮 <[email protected]>
抄送: "[email protected]" <[email protected]>
主题: RE: The performance problem of NAT plugin
Hi,
Could you please provide your full startup config? I will try reproduce issue
and fix it.
Regards,
Matus
From: 李洪亮 [mailto:[email protected]]
Sent: Thursday, December 28, 2017 5:09 PM
To: Matus Fabian -X (matfabia - PANTHEON TECHNOLOGIES at Cisco)
<[email protected]>
Cc: [email protected]
Subject: Re: The performance problem of NAT plugin
In my case, using 2 workers configed in startup.conf
when using“set nat worker 0”, it works well;
when using “set nat worker 1”, the problem appeared just like using default nat
workers config ;
_______________________________________________
vpp-dev mailing list
[email protected]
https://lists.fd.io/mailman/listinfo/vpp-dev