Hi Avinash,

These are the following outputs:

cat /proc/meminfo | grep -i huge

AnonHugePages:         0 kB
ShmemHugePages:        0 kB
HugePages_Total:    4096
HugePages_Free:      524
HugePages_Rsvd:        0
HugePages_Surp:        0
Hugepagesize:       2048 kB

free -h
total used free shared buff/cache available Mem: 125G 8.3G 116G 19M 566M 116G
Swap:          976M          0B        976M


cat /etc/default/grub

# If you change this file, run 'update-grub' afterwards to update
# /boot/grub/grub.cfg.
# For full documentation of the options in this file, see:
#   info -f grub -n 'Simple configuration'

GRUB_DEFAULT=0
GRUB_HIDDEN_TIMEOUT=0
GRUB_HIDDEN_TIMEOUT_QUIET=true
GRUB_TIMEOUT=10
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX=""

# Uncomment to enable BadRAM filtering, modify to suit your needs
# This works with Linux (no patch required) and with any kernel that obtains # the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
#GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"

# Uncomment to disable graphical terminal (grub-pc only)
#GRUB_TERMINAL=console

# The resolution used on graphical terminal
# note that you can use only modes which your graphic card supports via VBE
# you can see them in real GRUB with the command `vbeinfo'
#GRUB_GFXMODE=640x480

# Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
#GRUB_DISABLE_LINUX_UUID=true

# Uncomment to disable generation of recovery mode menu entries
#GRUB_DISABLE_RECOVERY="true"

# Uncomment to get a beep at grub start
#GRUB_INIT_TUNE="480 440 1"

Thanks,
Priyanka

On 2018-09-06 11:23, Avinash Dhar Dubey wrote:
Arijit,

Share the output of "cat /proc/meminfo | grep -i huge" and "free -h".
You are using 1GB hugepages and you have not configured them.
Better use 2MB hugepages if you are running vpp just for learning.

Also share the contents of "/etc/default/grub". Looks like you have set 1GB
as default hugepage size.

Regards,
Avinash

On Thu, Sep 6, 2018 at 4:41 PM, Arijit Pramanik <pariji...@gmail.com> wrote:

I have added the plugin path as /usr/lib/vpp/vpp_plugins and enabled only
dpdk_plugin.so

But I'm getting the error currently as

Sep 06 16:30:54 turing-04 vpp[2339]: EAL: No free hugepages reported in
hugepages-1048576kB
Sep 06 16:30:54 turing-04 vpp[2339]: EAL: VFIO support initialized
Sep 06 16:30:54 turing-04 vnet[2339]: EAL: VFIO support initialized
Sep 06 16:30:54 turing-04 vpp[2339]: EAL: Requested device 0000:81:00.1
cannot be used
Sep 06 16:30:54 turing-04 vnet[2339]: EAL: Requested device 0000:81:00.1
cannot be used
Sep 06 16:30:55 turing-04 vnet[2339]: dpdk_pool_create:550:
ioctl(VFIO_IOMMU_MAP_DMA) pool 'dpdk_mbuf_pool_socket0': Invalid argument
(errno 22)
Sep 06 16:30:55 turing-04 vnet[2339]: dpdk_pool_create: failed to create
dpdk_mbuf_pool_socket1
Sep 06 16:30:55 turing-04 vnet[2339]: dpdk_buffer_pool_create:616:
WARNING: Failed to allocate mempool for CPU socket 1. Threads running on
socket 1 will use socket 0 mempool.
Sep 06 16:30:55 turing-04 vnet[2339]: dpdk_ipsec_process:1018: not enough
DPDK crypto resources, default to OpenSSL
Sep 06 16:30:55 turing-04 vnet[2339]: dpdk_lib_init:230: DPDK drivers
found no ports...

Thanks,
Arijit.


On Thu, Sep 6, 2018 at 9:44 AM Avinash Dhar Dubey <
mailbox.avin...@gmail.com> wrote:

Arijit,

We are using Intel X540 NIC.
>>  Intel X540 NIC  is supported by DPDK.

I'll try with one of them. Which one do you think is best suited for my
NIC, How do I ensure that the driver module is loaded in the kernel
beforehand?
>> You can use uio_pci_generic driver. To ensure that the driver is loaded before you start vpp, you can run "modprobe uio_pci_generic". It
will load the driver if its already present as part of your kernel
distribution. If not found you can get it by installing
linux-image-extra-<kernel-version>-generic package.

We want vpp with dpdk plugin. I've just installed vpp using apt-get
following the steps on this link : https://wiki.fd.io/view/VPP/
Installing_VPP_binaries_from_packages.
Does DPDK have to be spearely installed to be able to use the dpdk plugin? >> No, when you compile vpp it creates dpdk_plugin.so which gets loaded
if you have specified the plugin_path in startup.conf

Hope this helps.

Avinash




On Thu, Sep 6, 2018 at 1:05 AM, Arijit Pramanik <pariji...@gmail.com>
wrote:

Hi Marco,

Thanks a lot for your prompt reply and assistance.

We are using Intel X540 NIC.

I'll try with one of them. Which one do you think is best suited for my NIC, How do I ensure that the driver module is loaded in the kernel
beforehand?

We want vpp with dpdk plugin. I've just installed vpp using apt-get
following the steps on this link : https://wiki.fd.io/view/VPP/
Installing_VPP_binaries_from_packages.
Does DPDK have to be spearely installed to be able to use the dpdk
plugin?

Thanks a lot,
Arijit.



On Wed, Sep 5, 2018 at 8:30 PM Marco Varlese <mvarl...@suse.de> wrote:

Arijit,

Few questions:
1) What NIC is your 10G NIC?
2) Your configuration is wrong:
ixgbe is not a uio-driver... you should choose between vfio-pci,
uio-pci-generic or igb_uio (and make sure to have that driver module loaded
in the kernel beforehand).
3) I assume you're trying to use VPP with DPDK plugin enabled. Can you
confirm?


- Marco

On Wed, 2018-09-05 at 23:18 +0530, Arijit Pramanik wrote:

ng VPP with DPDK on our intel Xeon 24 core server. We have installed
VPP and our 1G card was visible when
$ sudo vppctl show interface

--

Marco V

SUSE LINUX GmbH | GF: Felix Imendörffer, Jane Smithard, Graham Norton
HRB 21284 (AG Nürnberg) Maxfeldstr. 5, D-90409, Nürnberg




On Wed, Sep 5, 2018 at 8:30 PM Marco Varlese <mvarl...@suse.de> wrote:

Arijit,

Few questions:
1) What NIC is your 10G NIC?
2) Your configuration is wrong:
ixgbe is not a uio-driver... you should choose between vfio-pci,
uio-pci-generic or igb_uio (and make sure to have that driver module loaded
in the kernel beforehand).
3) I assume you're trying to use VPP with DPDK plugin enabled. Can you
confirm?


- Marco

On Wed, 2018-09-05 at 23:18 +0530, Arijit Pramanik wrote:

ng VPP with DPDK on our intel Xeon 24 core server. We have installed
VPP and our 1G card was visible when
$ sudo vppctl show interface

--

Marco V

SUSE LINUX GmbH | GF: Felix Imendörffer, Jane Smithard, Graham Norton
HRB 21284 (AG Nürnberg) Maxfeldstr. 5, D-90409, Nürnberg


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#10388): https://lists.fd.io/g/vpp-dev/message/10388
Mute This Topic: https://lists.fd.io/mt/25209728/675719
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub  [
mailbox.avin...@gmail.com]
-=-=-=-=-=-=-=-=-=-=-=-



-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#10404): https://lists.fd.io/g/vpp-dev/message/10404
Mute This Topic: https://lists.fd.io/mt/25209728/21656
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub  [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to