DPDK Looks hugepages in 2M, 1G  and this is fine if system doesn't have 1G
huge pages we can expect this message.
2018-07-30T02:12:05.443Z|00013|dpdk|WARN|EAL: No free hugepages reported in
hugepages-1048576kB

This is something to look far:

2018-07-30T02:13:51.690Z|00041|dpdk|ERR|EAL: Unable to find a bus for the
device '0000:02:00.0'

2018-07-30T02:13:51.690Z|00042|netdev_dpdk|WARN|Error attaching device
'0000:02:00.0' to DPDK


Which driver this device(0000:02:00.0)  is originally bound to ?  can you
also paste the "dpdk-devbind -s"  output.









On Sun, Jul 29, 2018 at 9:00 PM, Vancasola <616923...@qq.com> wrote:

> Thanks for your reply, I
>
> load/inserted  vfio-pci driver
>
> and bind NICs before starting OVS-DPDK and try again, but it still doesn't
> work.
>
> And this is the latest
>
> ovs-vswichd.log:
>
>
>
>       
>       
>
> 2018-07-30T02:12:05.416Z|00001|vlog|INFO|opened log file
> /usr/local/var/log/openvswitch/ovs-vswitchd.log
>
> 2018-07-30T02:12:05.439Z|00002|ovs_numa|INFO|Discovered 8 CPU cores on
> NUMA node 0
>
> 2018-07-30T02:12:05.439Z|00003|ovs_numa|INFO|Discovered 1 NUMA nodes and
> 8 CPU cores
>
> 2018-07-30T02:12:05.439Z|00004|reconnect|INFO|unix:/
> usr/local/var/run/openvswitch/db.sock: connecting...
>
> 2018-07-30T02:12:05.439Z|00005|reconnect|INFO|unix:/
> usr/local/var/run/openvswitch/db.sock: connected
>
> 2018-07-30T02:12:05.441Z|00006|dpdk|INFO|Using DPDK 17.11.3
>
> 2018-07-30T02:12:05.441Z|00007|dpdk|INFO|DPDK Enabled - initializing...
>
> 2018-07-30T02:12:05.441Z|00008|dpdk|INFO|No vhost-sock-dir provided -
> defaulting to /usr/local/var/run/openvswitch
>
> 2018-07-30T02:12:05.441Z|00009|dpdk|INFO|IOMMU support for
> vhost-user-client disabled.
>
> 2018-07-30T02:12:05.441Z|00010|dpdk|INFO|Per port memory for DPDK devices
> disabled.
>
> 2018-07-30T02:12:05.441Z|00011|dpdk|INFO|EAL ARGS: ovs-vswitchd
> --socket-mem 1024 -c 0x00000001
>
> 2018-07-30T02:12:05.442Z|00012|dpdk|INFO|EAL: Detected 8 lcore(s)
>
> 2018-07-30T02:12:05.443Z|00013|dpdk|WARN|EAL: No free hugepages reported
> in hugepages-1048576kB
>
> 2018-07-30T02:12:05.443Z|00014|dpdk|INFO|EAL: Probing VFIO support...
>
> 2018-07-30T02:12:05.443Z|00015|dpdk|INFO|EAL: VFIO support initialized
>
> 2018-07-30T02:12:05.703Z|00016|dpdk|INFO|DPDK Enabled - initialized
>
> 2018-07-30T02:12:05.705Z|00017|bridge|INFO|ovs-vswitchd (Open vSwitch)
> 2.10.90
>
> 2018-07-30T02:12:40.234Z|00018|memory|INFO|45056 kB peak resident set
> size after 34.8 seconds
>
> 2018-07-30T02:12:40.241Z|00019|ofproto_dpif|INFO|netdev@ovs-netdev:
> Datapath supports recirculation
>
> 2018-07-30T02:12:40.241Z|00020|ofproto_dpif|INFO|netdev@ovs-netdev: VLAN
> header stack length probed as 1
>
> 2018-07-30T02:12:40.241Z|00021|ofproto_dpif|INFO|netdev@ovs-netdev: MPLS
> label stack length probed as 3
>
> 2018-07-30T02:12:40.241Z|00022|ofproto_dpif|INFO|netdev@ovs-netdev:
> Datapath supports truncate action
>
> 2018-07-30T02:12:40.241Z|00023|ofproto_dpif|INFO|netdev@ovs-netdev:
> Datapath supports unique flow ids
>
> 2018-07-30T02:12:40.241Z|00024|ofproto_dpif|INFO|netdev@ovs-netdev:
> Datapath supports clone action
>
> 2018-07-30T02:12:40.241Z|00025|ofproto_dpif|INFO|netdev@ovs-netdev: Max
> sample nesting level probed as 10
>
> 2018-07-30T02:12:40.241Z|00026|ofproto_dpif|INFO|netdev@ovs-netdev:
> Datapath supports eventmask in conntrack action
>
> 2018-07-30T02:12:40.241Z|00027|ofproto_dpif|INFO|netdev@ovs-netdev:
> Datapath supports ct_clear action
>
> 2018-07-30T02:12:40.241Z|00028|ofproto_dpif|INFO|netdev@ovs-netdev: Max
> dp_hash algorithm probed to be 1
>
> 2018-07-30T02:12:40.241Z|00029|ofproto_dpif|INFO|netdev@ovs-netdev:
> Datapath supports ct_state
>
> 2018-07-30T02:12:40.241Z|00030|ofproto_dpif|INFO|netdev@ovs-netdev:
> Datapath supports ct_zone
>
> 2018-07-30T02:12:40.241Z|00031|ofproto_dpif|INFO|netdev@ovs-netdev:
> Datapath supports ct_mark
>
> 2018-07-30T02:12:40.241Z|00032|ofproto_dpif|INFO|netdev@ovs-netdev:
> Datapath supports ct_label
>
> 2018-07-30T02:12:40.241Z|00033|ofproto_dpif|INFO|netdev@ovs-netdev:
> Datapath supports ct_state_nat
>
> 2018-07-30T02:12:40.241Z|00034|ofproto_dpif|INFO|netdev@ovs-netdev:
> Datapath supports ct_orig_tuple
>
> 2018-07-30T02:12:40.241Z|00035|ofproto_dpif|INFO|netdev@ovs-netdev:
> Datapath supports ct_orig_tuple6
>
> 2018-07-30T02:12:40.259Z|00036|bridge|INFO|bridge br0: added interface
> br0 on port 65534
>
> 2018-07-30T02:12:40.259Z|00037|bridge|INFO|bridge br0: using datapath ID
> 0000a2cd30da744a
>
> 2018-07-30T02:12:40.259Z|00038|connmgr|INFO|br0: added service controller
> "punix:/usr/local/var/run/openvswitch/br0.mgmt"
>
> 2018-07-30T02:12:50.272Z|00039|memory|INFO|peak resident set size grew
> 188% in last 10.0 seconds, from 45056 kB to 129736 kB
>
> 2018-07-30T02:12:50.272Z|00040|memory|INFO|handlers:5 ports:1
> revalidators:3 rules:5
>
> 2018-07-30T02:13:51.690Z|00041|dpdk|ERR|EAL: Unable to find a bus for the
> device '0000:02:00.0'
>
> 2018-07-30T02:13:51.690Z|00042|netdev_dpdk|WARN|Error attaching device
> '0000:02:00.0' to DPDK
>
> 2018-07-30T02:13:51.690Z|00043|netdev|WARN|dpdk-p0: could not set
> configuration (Invalid argument)
>
>
> one shows:
>
> 2018-07-30T02:12:05.443Z|00013|dpdk|WARN|EAL: No free hugepages reported
> in hugepages-1048576kB
>
> but I have set hugepages as this:
>
> $ echo 'vm.nr_hugepages=2048' > /etc/sysctl.d/hugepages.conf
> $ sysctl -w vm.nr_hugepages=1024
> $ mount -t hugetlbfs none /dev/hugepages``
>
>
>
> _______________________________________________
> discuss mailing list
> disc...@openvswitch.org
> https://mail.openvswitch.org/mailman/listinfo/ovs-discuss
>
>


-- 
Thanks and Regards,
Pradeep.K.S.
_______________________________________________
discuss mailing list
disc...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-discuss

Reply via email to