From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 1D32FA034C; Wed, 21 Dec 2022 21:48:06 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id AD03E40A7F; Wed, 21 Dec 2022 21:48:05 +0100 (CET) Received: from mail-yw1-f170.google.com (mail-yw1-f170.google.com [209.85.128.170]) by mails.dpdk.org (Postfix) with ESMTP id 122D740698 for ; Wed, 21 Dec 2022 21:48:04 +0100 (CET) Received: by mail-yw1-f170.google.com with SMTP id 00721157ae682-3bf4ade3364so2121277b3.3 for ; Wed, 21 Dec 2022 12:48:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=iol.unh.edu; s=unh-iol; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=SVl7cyhhS5y9dSA2X8xBfE0R3vkcYYM88Zvo/yvyak8=; b=fR8iDMBn5eWovbo+oNKhBccaICjmRmJANfJTb3m7UOOw0Gt9w060dJBsk+g0yEt1rH N2ct6DsQHtFaQNUv7zKZbiWrPBoDgjfGYFLXNijnRS9/CyEmel2YpI5nNNDsgqw2TGj5 gFRdmpE9ehP9Q6i6T9M5xyuH67el3vUAeaMOg= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=SVl7cyhhS5y9dSA2X8xBfE0R3vkcYYM88Zvo/yvyak8=; b=WNivigfpGzbXeAyKQufQW69TUjkVwEJWVxDsdOrNS6aIcTBASScA/jGjVxffgP982R eqbAcT8Jb3vgaQt06rlc8S9eTrasClR5W6IxRymAglfZpKPh0HpF5qccK05VY+ccRae6 ui/n2UsAyEfJjnhoz6KyG7QyZ1QpBd6EfTF0+IK2KSjSU5tzzIdmWpO/5G87a4qTxdvT TwMFTGtEybCkS/61DEMA3P8E1K90WsHvlOb6M3sGcs4jCY1dPo53VmCLyM3r+He/2PYI W3YLbVNCy/Fp4+LuvAqZTXXqzr2mcYljZ/oRBB9etam91A4A4PvA4sTfHXNOPltLcMKI 3Rqg== X-Gm-Message-State: AFqh2kp0IC5SgyexKa74PohtM8JKrn6civUl5JDX1tOc2YDcGG3Gt11A cF3H1RJW2V0gZI9jrmn7mHfkJzpm23R1uyHoOAFq+w== X-Google-Smtp-Source: AMrXdXv7i73OvdiVP+YFJukyMqatJ4/Q/rZwFtiKmj9sqT9oRHd8msXqpqaXgBYNiJVAngfdfui/7r6gu5wGwxAaX00= X-Received: by 2002:a81:b716:0:b0:370:4d2d:8edd with SMTP id v22-20020a81b716000000b003704d2d8eddmr367071ywh.120.1671655683150; Wed, 21 Dec 2022 12:48:03 -0800 (PST) MIME-Version: 1.0 References: <20221221181349.GB20526@linuxonhyperv3.guj3yctzbm1etfxqx2vob5hsef.xx.internal.cloudapp.net> <20221221110333.6a10cf48@hermes.local> <20221221193336.GC20526@linuxonhyperv3.guj3yctzbm1etfxqx2vob5hsef.xx.internal.cloudapp.net> <20221221114941.63e3bd24@hermes.local> In-Reply-To: <20221221114941.63e3bd24@hermes.local> From: Lincoln Lavoie Date: Wed, 21 Dec 2022 15:47:52 -0500 Message-ID: Subject: Re: DPDK:fast-tests suite linux/vm To: Stephen Hemminger Cc: Tyler Retzlaff , dev@dpdk.org Content-Type: multipart/alternative; boundary="0000000000002e728505f05cab49" X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org --0000000000002e728505f05cab49 Content-Type: text/plain; charset="UTF-8" 16GB should be enough to run the unit tests. You'll likely have better luck with the system setup to provide pages. Our lab runners provide 2560x 2MB pages (5 GB), out of their 16G of RAM. We only run 1 unit test at a time on each runner, because of noise neighbor issues between the containers. On Wed, Dec 21, 2022 at 2:49 PM Stephen Hemminger < stephen@networkplumber.org> wrote: > On Wed, 21 Dec 2022 11:33:36 -0800 > Tyler Retzlaff wrote: > > > On Wed, Dec 21, 2022 at 11:03:33AM -0800, Stephen Hemminger wrote: > > > On Wed, 21 Dec 2022 10:13:49 -0800 > > > Tyler Retzlaff wrote: > > > > > > > hi folks, > > > > > > > > are there any additional requirements that may not be documented for > > > > running the DPDK:fast-tests suite in a vm on linux? > > > > > > > > if i run the suite as follows i end up getting intermittent failures. > > > > are there known issues running in a vm? > > > > > > > > meson test -C u --test-args='--no-huge' --suite fast-tests > > > > > > > > RTE>>fbarray_autotest > > > > + ------------------------------------------------------- + > > > > + Test Suite : fbarray autotest > > > > > > > > Thread 1 "dpdk-test" received signal SIGBUS, Bus error. > > > > __memset_evex_unaligned_erms () at > > > > ../sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:250 > > > > 250 ../sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: No > such > > > > file or directory. > > > > (gdb) bt > > > > #0 __memset_evex_unaligned_erms () at > > > > ../sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:250 > > > > #1 0x0000555556022d5b in rte_fbarray_init (arr=0x55555e3566c0 > , > > > > name=0x55555bebdb28 "fbarray_autotest", len=256, elt_sz=4) at > ../lib/eal/common/eal_common_fbarray.c:802 > > > > #2 0x00005555557b24af in autotest_setup () at > ../app/test/test_fbarray.c:31 > > > > #3 0x0000555555636f03 in unit_test_suite_runner > (suite=0x55555c846140 ) > > > > at ../app/test/test.c:306 > > > > #4 0x00005555557b5ffc in test_fbarray () at > ../app/test/test_fbarray.c:733 > > > > #5 0x00005555556292c4 in cmd_autotest_parsed > (parsed_result=0x7fffffff8140, cl=0x55556a8b2fa0, data=0x0) > > > > at ../app/test/commands.c:68 > > > > #6 0x0000555555fb3294 in __cmdline_parse (cl=0x55556a8b2fa0, > buf=0x55556a8b2fe8 "fbarray_autotest\n", > > > > call_fn=true) at ../lib/cmdline/cmdline_parse.c:294 > > > > #7 0x0000555555fb32dc in cmdline_parse (cl=0x55556a8b2fa0, > buf=0x55556a8b2fe8 "fbarray_autotest\n") > > > > at ../lib/cmdline/cmdline_parse.c:302 > > > > #8 0x0000555555fb1577 in cmdline_valid_buffer (rdl=0x55556a8b2fb0, > buf=0x55556a8b2fe8 "fbarray_autotest\n", > > > > size=18) at ../lib/cmdline/cmdline.c:24 > > > > #9 0x0000555555fb667d in rdline_char_in (rdl=0x55556a8b2fb0, c=10 > '\n') at ../lib/cmdline/cmdline_rdline.c:444 > > > > #10 0x0000555555fb19bd in cmdline_in (cl=0x55556a8b2fa0, > buf=0x7fffffffe3f0 "fbarray_autotest\n", size=17) > > > > at ../lib/cmdline/cmdline.c:146 > > > > #11 0x0000555555636a34 in main (argc=2, argv=0x7fffffffe930) at > ../app/test/test.c:208 > > > > > > > > thanks! > > > > > > Were hugepages setup before running the test? Was there enough memory > available? > > > > hugepages are not setup on the system, i explicitly pass --no-huge or > > does that not do what i think it should? > > > > the vm has fixed 16GB memory, stepping through the code i do not see > > internal allocation calls fail prior to the failure. > > > > thanks > > Could be that the allocation gives bogus memory? > -- *Lincoln Lavoie* Principal Engineer, Broadband Technologies 21 Madbury Rd., Ste. 100, Durham, NH 03824 lylavoie@iol.unh.edu https://www.iol.unh.edu +1-603-674-2755 (m) --0000000000002e728505f05cab49 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
16G= B should be enough to run the unit tests.=C2=A0 You'll likely have bett= er luck=C2=A0with the system setup to provide pages.=C2=A0 Our lab runners = provide 2560x 2MB pages (5 GB), out of their 16G of RAM.=C2=A0 We only run = 1 unit test at a time on each runner, because of noise neighbor issues betw= een the containers.

On Wed, Dec 21, 2022 at 2:49 PM Stephen Hemminger = <stephen@networkplumber.or= g> wrote:
On Wed, 21 Dec 2022 11:33:36 -0800
Tyler Retzlaff <roretzla@linux.microsoft.com> wrote:

> On Wed, Dec 21, 2022 at 11:03:33AM -0800, Stephen Hemminger wrote:
> > On Wed, 21 Dec 2022 10:13:49 -0800
> > Tyler Retzlaff <roretzla@linux.microsoft.com> wrote:
> >=C2=A0 =C2=A0
> > > hi folks,
> > >
> > > are there any additional requirements that may not be docume= nted for
> > > running the DPDK:fast-tests suite in a vm on linux?
> > >
> > > if i run the suite as follows i end up getting intermittent = failures.
> > > are there known issues running in a vm?
> > >
> > >=C2=A0 =C2=A0meson test -C u --test-args=3D'--no-huge'= ; --suite fast-tests
> > >=C2=A0 =C2=A0
> > > RTE>>fbarray_autotest=C2=A0 =C2=A0
> > >=C2=A0 + ----------------------------------------------------= --- +
> > >=C2=A0 + Test Suite : fbarray autotest
> > >
> > > Thread 1 "dpdk-test" received signal SIGBUS, Bus e= rror.
> > > __memset_evex_unaligned_erms () at
> > > ../sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:250<= br> > > > 250=C2=A0 =C2=A0 =C2=A0../sysdeps/x86_64/multiarch/memset-ve= c-unaligned-erms.S: No such
> > > file or directory.
> > > (gdb) bt
> > > #0=C2=A0 __memset_evex_unaligned_erms () at
> > > ../sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:250<= br> > > > #1=C2=A0 0x0000555556022d5b in rte_fbarray_init (arr=3D0x555= 55e3566c0 <param>,
> > >=C2=A0 =C2=A0 =C2=A0name=3D0x55555bebdb28 "fbarray_autot= est", len=3D256, elt_sz=3D4) at ../lib/eal/common/eal_common_fbarray.c= :802
> > > #2=C2=A0 0x00005555557b24af in autotest_setup () at ../app/t= est/test_fbarray.c:31
> > > #3=C2=A0 0x0000555555636f03 in unit_test_suite_runner (suite= =3D0x55555c846140 <fbarray_test_suite>)
> > >=C2=A0 =C2=A0 =C2=A0at ../app/test/test.c:306
> > > #4=C2=A0 0x00005555557b5ffc in test_fbarray () at ../app/tes= t/test_fbarray.c:733
> > > #5=C2=A0 0x00005555556292c4 in cmd_autotest_parsed (parsed_r= esult=3D0x7fffffff8140, cl=3D0x55556a8b2fa0, data=3D0x0)
> > >=C2=A0 =C2=A0 =C2=A0at ../app/test/commands.c:68
> > > #6=C2=A0 0x0000555555fb3294 in __cmdline_parse (cl=3D0x55556= a8b2fa0, buf=3D0x55556a8b2fe8 "fbarray_autotest\n",
> > >=C2=A0 =C2=A0 =C2=A0call_fn=3Dtrue) at ../lib/cmdline/cmdline= _parse.c:294
> > > #7=C2=A0 0x0000555555fb32dc in cmdline_parse (cl=3D0x55556a8= b2fa0, buf=3D0x55556a8b2fe8 "fbarray_autotest\n")
> > >=C2=A0 =C2=A0 =C2=A0at ../lib/cmdline/cmdline_parse.c:302
> > > #8=C2=A0 0x0000555555fb1577 in cmdline_valid_buffer (rdl=3D0= x55556a8b2fb0, buf=3D0x55556a8b2fe8 "fbarray_autotest\n",
> > >=C2=A0 =C2=A0 =C2=A0size=3D18) at ../lib/cmdline/cmdline.c:24=
> > > #9=C2=A0 0x0000555555fb667d in rdline_char_in (rdl=3D0x55556= a8b2fb0, c=3D10 '\n') at ../lib/cmdline/cmdline_rdline.c:444
> > > #10 0x0000555555fb19bd in cmdline_in (cl=3D0x55556a8b2fa0, b= uf=3D0x7fffffffe3f0 "fbarray_autotest\n", size=3D17)
> > >=C2=A0 =C2=A0 =C2=A0at ../lib/cmdline/cmdline.c:146
> > > #11 0x0000555555636a34 in main (argc=3D2, argv=3D0x7fffffffe= 930) at ../app/test/test.c:208
> > >
> > > thanks!=C2=A0
> >
> > Were hugepages setup before running the test? Was there enough me= mory available?=C2=A0
>
> hugepages are not setup on the system, i explicitly pass --no-huge or<= br> > does that not do what i think it should?
>
> the vm has fixed 16GB memory, stepping through the code i do not see > internal allocation calls fail prior to the failure.
>
> thanks

Could be that the allocation gives bogus memory?


--
Lincoln Lavoie
Prin= cipal Engineer, Broadband Technologies
21 Madbury Rd., Ste. 100, = Durham, NH 03824
+1-603-674-= 2755 (m)

<= /div>
--0000000000002e728505f05cab49--