From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 8E54CA0597 for ; Thu, 9 Apr 2020 20:36:27 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 5A9771C2E7; Thu, 9 Apr 2020 20:36:26 +0200 (CEST) Received: from mail-pl1-f170.google.com (mail-pl1-f170.google.com [209.85.214.170]) by dpdk.org (Postfix) with ESMTP id 1F7BA1C2AD for ; Thu, 9 Apr 2020 20:36:24 +0200 (CEST) Received: by mail-pl1-f170.google.com with SMTP id h11so4131913plk.7 for ; Thu, 09 Apr 2020 11:36:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=6Z47Z+IuW3+w+8jv2HdKbNKj0EVfXxh0KMdaWAv9kKc=; b=Ax1oA4s62CP3x0OV9BsiRDAumkk9JLX2g8FI3QLrHpN1xNn5CWX/1+r9TSeNURJmPB nmUxcGR7a/mt16ftvC1zGlN7VWyBpQh9kO9glbfzIdEjUBQDhEslu5+/PDk6s8nPDRP8 geAynvEajOs+tqVAIHwoDElCBNP8G6z0Q7Up9lCIS/u70jRPBvzz2XaERSvmD4fi4cuq MaOi0uE5rqT64+mSH/dYp5gMUNPhdLMkBjjeUzBMceOKPzXmRa/BA6PveQy73wNV0T4g 0LiEK3hrZAxj2Rc6RvPS0xE2GCcfuLNZDWoKdo+sV75Fb2NgI7RknGm5dJ+/8xet92VL Dhpw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=6Z47Z+IuW3+w+8jv2HdKbNKj0EVfXxh0KMdaWAv9kKc=; b=j/orc7eX6VZBDXrpEKHXcrFIMgewHOcfWBjNsN1rK5NGLp528k7XuaLdymPcYQqhca KAMZahLRe3FRZoogy2n+kTStYrpIsvgX7bDyJwapoSle4yeEtI74pAiQBvy3I1y85eOR PVI6hA0L0HUZX33Cqkntp0HUBwNeYArVwj0fmrRPr326x4BbLtaAX8AJXtD0DroFYJMa 0ctoXm1x36n6R2hL57boPOrYq3nlQxlmxyhgDt4wJFkuF4G1PMNC/EUWi35kpkd5kW9g R+wpQGLASMdHk6VXDV0Dw4KpEo3/Uz0bfOUZllHEXtsrug63JUwQ1jQsVF0Um+BtBPbm ur+A== X-Gm-Message-State: AGi0PuYrNq56Vz23vv4TMl54YqGWg9L7BKIDkrgN9GF1IwJUCCsMrHeZ W5kP5d5QkNbGmUgtkNiUayrGLQ== X-Google-Smtp-Source: APiQypLcgpLRiIbm906+Y/NdMfiDBHzFLoT2EBkRX2xRd7P0WDtvgCT3WofjZbJihH3izoAAeaeH0w== X-Received: by 2002:a17:90b:3714:: with SMTP id mg20mr889256pjb.127.1586457383952; Thu, 09 Apr 2020 11:36:23 -0700 (PDT) Received: from hermes.lan (204-195-22-127.wavecable.com. [204.195.22.127]) by smtp.gmail.com with ESMTPSA id s10sm5112282pfd.124.2020.04.09.11.36.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 Apr 2020 11:36:23 -0700 (PDT) Date: Thu, 9 Apr 2020 11:36:15 -0700 From: Stephen Hemminger To: Archit Pandey Cc: users@dpdk.org, "Mohit P. Tahiliani" , Gokul Bargaje , Tarun Anand , sanjana.krishnam@gmail.com Message-ID: <20200409113615.4b63b0f5@hermes.lan> In-Reply-To: References: <20200409075708.6e4e3175@hermes.lan> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-users] Calling timers from a library X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: users-bounces@dpdk.org Sender: "users" On Thu, 9 Apr 2020 21:18:45 +0530 Archit Pandey wrote: > Thanks for the tip! > > This was what I experienced when I ran a separate function with periodic > calls to rte_timer_manage(). The code would deadlock and stop executing > after a few seconds. > > Is there a way to overcome this? Perhaps by passing the core numbers into > the library? The best advice is to stick to the DPDK threads. There are multiple ways to do multiple events in one thread.