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 A9BECA0C4E; Thu, 21 Oct 2021 16:50:28 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 8C6DB411FE; Thu, 21 Oct 2021 16:50:28 +0200 (CEST) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by mails.dpdk.org (Postfix) with ESMTP id 890F44118E for ; Thu, 21 Oct 2021 16:50:26 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1634827826; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=+wtEahfepdfJhSPJDyE2mxxAONQRN3NZBG510mgkxeQ=; b=NuYs+o7UuW4dtUpk79PV/XTVolXo7ZWAfff8e0W/0dL3FD0hWXTEDAdDDcy8zHqhng888r t/ef0gtimn+iRPxirNdieKSx14gVN8D0fv2q/lEB080aKpwZyrV6e4Na6X+ZMrbmiBbpZ1 nviWHY48kdz+8Vqkuh1zGb0W4uzwloQ= Received: from mail-lj1-f198.google.com (mail-lj1-f198.google.com [209.85.208.198]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-486-FhxyWFzGM5eiGqgtbA0OIQ-1; Thu, 21 Oct 2021 10:50:24 -0400 X-MC-Unique: FhxyWFzGM5eiGqgtbA0OIQ-1 Received: by mail-lj1-f198.google.com with SMTP id 132-20020a2e058a000000b00210aeaca823so95025ljf.10 for ; Thu, 21 Oct 2021 07:50:24 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=+wtEahfepdfJhSPJDyE2mxxAONQRN3NZBG510mgkxeQ=; b=Ys0wajgifKzoLmN7uwNrtl0/90xSnkfpfpF62TGmZl84BEe055+AxJl6catebrVVmu 61VXvFaKyRgZaQdIkJJemn1H1/0eNkXjc/F8Z6bHOSYIE6iqFmeKBq1GV4VMUV06KCNf rZ4pf47qIOCfVFkKyO78/MibxVPFi6s4TUyZsZ4EJ98IvTOvvAhfsBni7iC0+1gRF2jg Ch3KUrUk3Is1r0vqfQ56vGUwC0NSGKKmHMUVbMw8mGNzMlxmP/sjZcCL9QF+QsNsMnZ4 5wCGuDVkBBOlpmyigcROvZLWrbmTps4kOhsuQuYWW1H+fHoUfbrygLj/h/POP1e5GT6f lmtg== X-Gm-Message-State: AOAM530oZ6xDpQYZRGvgxcBwiKRoJSqiyoNA7OUvkuJTlCYYNYtzOAjB ENMNKX4iLodxI9BwLuoQnN3o2JGjn2IHrZfld44IIiZToo1Usi+tHRsbITd2yI3TG/9LkZ1m7s8 udFtJtWGnECMGw+gFkJc= X-Received: by 2002:a2e:9018:: with SMTP id h24mr6610110ljg.477.1634827823248; Thu, 21 Oct 2021 07:50:23 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwT4srA/spxHSKJQGoD+jjULPiK9PGRK55sSQj58HujsZePXrHvSy6FJLglAWxrdAB/tnxQS2Pb/XtZbsnshuY= X-Received: by 2002:a2e:9018:: with SMTP id h24mr6610072ljg.477.1634827823018; Thu, 21 Oct 2021 07:50:23 -0700 (PDT) MIME-Version: 1.0 References: <20211018170136.5189-1-david.marchand@redhat.com> <20211019112602.17782-1-david.marchand@redhat.com> In-Reply-To: From: David Marchand Date: Thu, 21 Oct 2021 16:50:11 +0200 Message-ID: To: David Marchand Cc: dev , Aaron Conole , Brandon Lo , Bruce Richardson , Honnappa Nagarahalli , nd Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=dmarchan@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="UTF-8" Subject: Re: [dpdk-dev] [PATCH v2] test: rely on EAL detection for core list 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 Sender: "dev" On Tue, Oct 19, 2021 at 9:09 PM Aaron Conole wrote: > > David Marchand writes: > > > Cores count has a direct impact on the time needed to complete unit > > tests. > > > > Currently, the core list used for unit test is enforced to "all cores on > > the system" with no way for (CI) users to adapt it. > > On the other hand, EAL default behavior (when no -c/-l option gets passed) > > is to start threads on as many cores available in the process cpu > > affinity. > > > > Remove logic from meson: users can then select where to run the tests by > > either running meson with a custom cpu affinity (using taskset/cpuset > > depending on OS) or by passing a --test-args option to meson. > > > > Example: > > $ sudo meson test -C build --suite fast-tests -t 3 --test-args "-l 0-3" > > > > Signed-off-by: David Marchand > Tested-by: Bruce Richardson > Acked-by: Bruce Richardson > Acked-by: Aaron Conole Applied, thanks. -- David Marchand