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 A19F6A0598 for ; Fri, 10 Apr 2020 18:27:35 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 00D8D1D5A2; Fri, 10 Apr 2020 18:27:35 +0200 (CEST) Received: from mail-vs1-f41.google.com (mail-vs1-f41.google.com [209.85.217.41]) by dpdk.org (Postfix) with ESMTP id 9F58D1C0DC for ; Fri, 10 Apr 2020 18:27:33 +0200 (CEST) Received: by mail-vs1-f41.google.com with SMTP id a63so1563636vsa.8 for ; Fri, 10 Apr 2020 09:27:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=oo+cRFj6buXASpRKbkBogGI6syF8IlTWQ7iIU59iiAk=; b=GRkfw6x35/4sZlNRRTDvbzu6BAWr2ghLyyqcKjSeQ9M1ckC+2JyBXqADyi/A59umU5 INMNkVLLDEEe226IF8YyW6VIWItlHyi5uUULG32xmN6XJ4dnOobMTCwK4Q0CTHiztJ2T qHAxkAeKxQCc/WNn8aafM6ey6fVqio9Dnz01UUubUZyKJuKMTJ1LjFj3JcQQ6mNeZ5vJ VOgTgE/z2QPsxFyTlg8tO1F+24wT1w2JSqFgLV7i5/JSSAasTKkCvV8Mr5CCuzzYd1FU qFbAMIjYQTbXpnBYNwoAFBeyABolE0iUT6iO27/AGe92ww8gdWZhsynnhGljA8IomTR0 ejMw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=oo+cRFj6buXASpRKbkBogGI6syF8IlTWQ7iIU59iiAk=; b=Qj87rxv4JdaEbtLP0ToZ1oqZcK6KaM34pINcM037K/3e5BYQdTwTMWp3/qM/GPPbLm /HX15sZWP6OKlEqLTS8e5YF/RW/5/3HpO0J0/M0PmlqZqJo/CQNn+P6Jhlu7J2HwDLs9 ibCvIXuO+uJzIQ/NMjoAT32y3Ss5NYU+B8FcbyenGt//2cFAyrq9xGd/DPruRFgVhbso U+uVxiwFcwN9beUfXxZYzW5zj5KpCnaEecuBPIoNzxFRfxzTQqXY3rLqAwiurGfCKS0q AHiazjDey9zEjCRDOYuD5Tni9zOpbIF6IdjN1rxNtEYsKp1eB35Kxu895EHm1hRdARSI P6Ag== X-Gm-Message-State: AGi0PubWPVdnWydRYvFFs818OmKbFDkbfjOP8mlecJhCNKNtPLwKhNPn /XgdoUPlWJwVKXeLX9S/9sEaprb+cIBskS060Vo= X-Google-Smtp-Source: APiQypLd7EPSEfRPm2Hwewi0ASlXh3UbX1ONNZEA7aoXzH5vhdlKZcOwfJL+sUSTb/wxwRIVRBO3UwFou4E/z6E6+5w= X-Received: by 2002:a67:28c7:: with SMTP id o190mr4403920vso.48.1586536052910; Fri, 10 Apr 2020 09:27:32 -0700 (PDT) MIME-Version: 1.0 References: <20200409075708.6e4e3175@hermes.lan> <20200409113615.4b63b0f5@hermes.lan> In-Reply-To: <20200409113615.4b63b0f5@hermes.lan> From: Archit Pandey Date: Fri, 10 Apr 2020 21:57:21 +0530 Message-ID: To: Stephen Hemminger Cc: users@dpdk.org, "Mohit P. Tahiliani" , Gokul Bargaje , Tarun Anand , sanjana.krishnam@gmail.com Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.15 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" Thanks for the inputs! -- Archit Pandey Senior Year Undergraduate Student Department of Computer Science and Engineering National Institute of Technology Karnataka Surathkal, India On Fri, 10 Apr 2020, 12:06 am Stephen Hemminger, wrote: > 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. >