Skip to contentSkip to conversation

eal_flags_autotest fails with tailq fully local

DISCUSSION Thomas Monjalon 1 participant 2 messages Oct 31, 2014 – Nov 5, 2014

lore
Share & tools
lore
#0 lore raw

Hi,

Since release 1.7.1 and patchset "tailq fully local", the test eal_flags_autotest doesn't work anymore. It fails because it doesn't find any free hugepage (rte_memzone_reserve).

The interesting commits are:

	http://dpdk.org/browse/dpdk/commit/?id=e3f3b68c6e42
	http://dpdk.org/browse/dpdk/commit/?id=dd0024ccbc70

The test works only when these patches are reverted.

Here is how to reproduce:
git revert e3f3b68c6e42
git revert dd0024ccbc70
make config T=x86_64-native-linuxapp-gcc
make
mkdir -p /mnt/huge
mount -t hugetlbfs nodev /mnt/huge
echo 9 > /sys/devices/system/node/node0/hugepages/hugepages-2048kB/nr_hugepages build/app/test -c 1 -n 1 -m 1
eal_flags_autotest

I'd like this regression to be fixed for the coming release. If someone has an idea, he's welcome :)

Thanks

Signature · 1 line
Thomas
#1 lore raw
Quoted 20 lines

Since release 1.7.1 and patchset "tailq fully local", the test eal_flags_autotest doesn't work anymore. It fails because it doesn't find any free hugepage (rte_memzone_reserve).

The interesting commits are:

	http://dpdk.org/browse/dpdk/commit/?id=e3f3b68c6e42
	http://dpdk.org/browse/dpdk/commit/?id=dd0024ccbc70

The test works only when these patches are reverted.

Here is how to reproduce:
git revert e3f3b68c6e42
git revert dd0024ccbc70
make config T=x86_64-native-linuxapp-gcc
make
mkdir -p /mnt/huge
mount -t hugetlbfs nodev /mnt/huge
echo 9 > /sys/devices/system/node/node0/hugepages/hugepages-2048kB/nr_hugepages build/app/test -c 1 -n 1 -m 1
eal_flags_autotest

Quoted 2 lines

I'd like this regression to be fixed for the coming release. If someone has an idea, he's welcome :)

Thanks to Anatoly, it's now fixed:

	http://dpdk.org/browse/dpdk/commit/?id=b600409890
Signature · 1 line
Thomas