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 8512342D4B for ; Sun, 25 Jun 2023 16:47:28 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 75AA340ED8; Sun, 25 Jun 2023 16:47:28 +0200 (CEST) Received: from mail-pf1-f174.google.com (mail-pf1-f174.google.com [209.85.210.174]) by mails.dpdk.org (Postfix) with ESMTP id 3D4E440A7F for ; Sun, 25 Jun 2023 16:47:27 +0200 (CEST) Received: by mail-pf1-f174.google.com with SMTP id d2e1a72fcca58-666e3b15370so1269418b3a.0 for ; Sun, 25 Jun 2023 07:47:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20221208.gappssmtp.com; s=20221208; t=1687704446; x=1690296446; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:from:to:cc:subject:date :message-id:reply-to; bh=c7dukOnCEBbJOHXAGNBMC4krMTdympF6bl+B2rU7/6M=; b=kBk0pH/y6pJGXr/KNjeNzU9OA7Oh3ITCgym/0nB4BXk+bvmpLmX7z9kJKi7mN56bXZ c/Lz6KYGRq8f68Zy7S5bir+hQ7wBSArsUvMbpZdm9xBCIz+6eKIEqPIeCD+ID5reHjQN en8kMn686SEZUSk8KQ/ScoW6Za+G6WlYBVitqN7q4edmuOVLGsxubEJXBD2iQXbPwN4r TDKkmLQpuCN3bI8pvxVk+gksPOmPfNvWDuJ+WgEvJjVtDVJPHvvo8tVQiGl5G6r/KlvK s7wNi09ofDri7rBJXVtpHInXw58PbdQsuS+CzXPCaMgdkB3TDNYDk+AwnoWN4svMnV12 Zzfw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1687704446; x=1690296446; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=c7dukOnCEBbJOHXAGNBMC4krMTdympF6bl+B2rU7/6M=; b=VeA+rUVpDyzcCWZqJ/5vy3xR63OHWRzfvfTzwuiq0EB8LSj0UsmPKXK9asfeBeo2dH N+s7qBC9ZMoWsqlFpjNF1tTroJmvw5/IbtI4VDWRuBqM45/ad/phU0JS5JBNLY9Lt1Sm EFUKb0spvu5IKFzvl8xG7XFKfhyOyrBZ2PhNh5SGq2pguZWs9WQAGaR4ZLRWHqEI17fS HcEbjnuPrmlEwOBpS+vSXJ6jiuHWJ16UWmZNyU3lj8NYkJDpq4x9HgtoGQVKLfsLOE1t gnCN7i9ij2ENY3SnC4cYyQAVOhCeVCAp9dfQ/82pE9HObhbkpRKRSYIJGD0V3m9GxMF9 YKIQ== X-Gm-Message-State: AC+VfDz+cKZTYWw7U2q8Be/qUGDPInGMFRX2+EkJQ7jdUtrP0G1lbrIY BTLtroqvJG3HrEe2a6iFAlIGow== X-Google-Smtp-Source: ACHHUZ764W1CFROYosRdxZxc6xod4mU07/go4jtq8Oj3i6GTGeC/L+DCg8vPvmyjWBaoVJ1Ggqvwfw== X-Received: by 2002:a05:6a00:1303:b0:668:9bf9:fa75 with SMTP id j3-20020a056a00130300b006689bf9fa75mr15448852pfu.34.1687704446426; Sun, 25 Jun 2023 07:47:26 -0700 (PDT) Received: from hermes.local (204-195-120-218.wavecable.com. [204.195.120.218]) by smtp.gmail.com with ESMTPSA id b23-20020aa78117000000b00634dde2992bsm2338031pfi.132.2023.06.25.07.47.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 25 Jun 2023 07:47:26 -0700 (PDT) Date: Sun, 25 Jun 2023 07:47:24 -0700 From: Stephen Hemminger To: Antonio Di Bacco Cc: users@dpdk.org Subject: Re: Threads on mail lcore seems to stop for several seconds Message-ID: <20230625074724.61fc5d1c@hermes.local> In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: users-bounces@dpdk.org On Tue, 20 Jun 2023 14:49:04 +0200 Antonio Di Bacco wrote: > I have a few threads running on main lcore (launched with > rte_eal_remote_launch). It seems that randomly all threads get stuck > for some reason and then they resume again after a few seconds. > > What could be the problem? > > Regards. If you have multiple threads on one core, then the locks used by DPDK will do this. DON'T run multple threads on one core.