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 DAC30A0547; Fri, 10 Sep 2021 08:51:21 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 5B61640041; Fri, 10 Sep 2021 08:51:21 +0200 (CEST) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by mails.dpdk.org (Postfix) with ESMTP id 72EE44003E for ; Fri, 10 Sep 2021 08:51:20 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1631256679; 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=UkOkU/b4+ZqBW4CpbIQzVY4PdlJdrkWO+DdV2d7H1HY=; b=Yj75qGxoHKts3UwBvKnk2vzQKavUKy17RGZjujB+g9ZrMX3Ek79r8661RSWRS64qlQnr7d X1kpxHl2o00kyhJPbkJ6DM13d0n8P5Qh3RL8r8C53Bd/DiQxR95iRyVIB7+ARyxiHe7tB1 Zl3RFvQfsCoWDKbJ6ns6z40S8ZzWS24= Received: from mail-lj1-f199.google.com (mail-lj1-f199.google.com [209.85.208.199]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-47-IRwBdMehP7OP5Q854oqOxQ-1; Fri, 10 Sep 2021 02:51:18 -0400 X-MC-Unique: IRwBdMehP7OP5Q854oqOxQ-1 Received: by mail-lj1-f199.google.com with SMTP id b29-20020a2ebc1d000000b001ba014dfa94so465027ljf.9 for ; Thu, 09 Sep 2021 23:51:18 -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=UkOkU/b4+ZqBW4CpbIQzVY4PdlJdrkWO+DdV2d7H1HY=; b=hPNQb3QkvXUjDu3HYNXaT+rpnF7bioAoCoDfiEWe8TbuwT0kxwm7M6CVFQiL2qL/kG Apk+YH/rmsdYy7Gcs0I60p58Hp8quj6u3gcLb27E5IiJd9kuEgAAPDQXxNkWqJCrwMLG rqLqVsnBKWkPSksjGMVAcemAm/gZjqovpZeWDwyrpyYeQ6Dgv75sy/1UkAhA5pd2BcVA sflSOY68kdXxJ2g9xv2FcdsjCd8ln88CuqMTEJCSGd5rXKUzbH13+s7Zk/yr267DYO20 FpWJ6nJV6d0cV0Itl3P9Ulyg3JsWSISCOZsbFZBCU5pbkMMTFpoBkSk2KFtVPbkDim+5 Ue3Q== X-Gm-Message-State: AOAM5326slQTRfx95M9Po7+qlhTdU9Fq/ZtCvGhds/0my1Icu5aR071P 4uEh4aquzTJNn4v434j5sgJXWg2BVC76y+NmlqbeGFBJmZwj6dnaTNi1qmgjppaYRHlJMoNbQKk qlp4eCZYYlPecuBA9t3k= X-Received: by 2002:ac2:4c4c:: with SMTP id o12mr2738956lfk.499.1631256676897; Thu, 09 Sep 2021 23:51:16 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzTb5NCSUycZ7AdgvHQES/+MUY6tu0x71Te76DK9onT2eto6sn+7uO2jp/2Yq2ykz8Qg298PlKExGo1b18yUbc= X-Received: by 2002:ac2:4c4c:: with SMTP id o12mr2738931lfk.499.1631256676669; Thu, 09 Sep 2021 23:51:16 -0700 (PDT) MIME-Version: 1.0 References: <20210909134511.18871-1-david.hunt@intel.com> <20210909134511.18871-2-david.hunt@intel.com> In-Reply-To: From: David Marchand Date: Fri, 10 Sep 2021 08:51:04 +0200 Message-ID: To: Bruce Richardson , David Hunt Cc: dev 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 v1 1/6] build: increase default of max lcores to 512 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 Thu, Sep 9, 2021 at 4:38 PM Bruce Richardson wrote: > > On Thu, Sep 09, 2021 at 02:45:06PM +0100, David Hunt wrote: > > Modern processors are coming with an ever increasing number of cores, > > and 128 does not seem like a sensible max limit any more, especially > > when you consider multi-socket systems with Hyper-Threading enabled. > > > > This patch increases max_lcores default from 128 to 512. > > > > Signed-off-by: David Hunt Why should we need this? --lcores makes it possible to pin 128 lcores to any physical core on your system. And for applications that have their own thread management, they can pin thread, then use rte_thread_register. Do you have applications that require more than 128 lcores? -- David Marchand