From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by dpdk.space (Postfix) with ESMTP id 662B3A00E6 for ; Tue, 16 Apr 2019 16:05:26 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 4D8011B4D3; Tue, 16 Apr 2019 16:05:26 +0200 (CEST) Received: from mail-ed1-f42.google.com (mail-ed1-f42.google.com [209.85.208.42]) by dpdk.org (Postfix) with ESMTP id 63E191B4CD for ; Tue, 16 Apr 2019 16:05:24 +0200 (CEST) Received: by mail-ed1-f42.google.com with SMTP id d46so13199104eda.7 for ; Tue, 16 Apr 2019 07:05:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=NYjJyR3mZdTJBcHQzhSFOJWUUP/0434HR6iSm6I2lcs=; b=sbXTJ1jHo4ma/1DmuwjTIo69UdgEA56hrHpGlrwOUsqY1FbWrHQ1NJvAgkCzlrAprU lSA75ehxuD5i0m2/4tR9VtskBh2WxvOYV+BkoFnWC6kCbcIH6brv+lCpxP7asCfKlb1/ s1WL0AUeP/FOfOQKPvC3lHP0nmqjbsUgZ1FAlMYw1mxyeSMFWyDEXtqQf+YQII7U39Ya j+zZJG/ZlF3HSPh5U6G39ETwnYVb8as04FXXegu609IDytIgKxtU19YsFUC2ZifDkbdy aESqLdy9ePiURdKwEqUj/wT5wq3dC+Ir0kixymuxFbqcdmoZd/UY5ZpURwGQhjbsBRDv lY6g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=NYjJyR3mZdTJBcHQzhSFOJWUUP/0434HR6iSm6I2lcs=; b=kmlc30qv5W1/cIySKJ6nhlhdU7ieubTSzckUL549j4kdTcQz9kJOByOis8mYa9f+Mc xq3WczMzPQ7JR9nwrAvp5oj0s851Vr8mvIOsWJh5pPgZeD3TrGvZZz8M9c/FlA7ik0de WvStd5qmXBcXandiwJ5z2VgeEnXQLZawkhuejG2sg6Pkbx4aEwTFidbHaYcIbSzzvKTH N/D3MH6ciZuq+D9l9F9qOfSwbNu/8kNz2GI+I+uMAczWcWsuUSjHv2NcvbpUHeGXZQlS g/Ef9P34z3rx4G7b3UUfhGfU2OSaLdpv2kaRIaEs2rZzhPSgsKQ6BnOl4rLDiB0sRgTw vBPw== X-Gm-Message-State: APjAAAXOqSWAlhEJrNYQzGfsHXGAT5mdXS3yKNZQJkHVGOcYZBhuuSvw JyztLhvHQL1OAlxOWt4ZmusiSY3p9f/GwDlBEKGyik6p X-Google-Smtp-Source: APXvYqzAdaosHadKXJCsb0jO4CvXdoB5x1pRyGCPzZXKDWk8arcsYY2MAjZM3DVVGFQ/JaJq55IwpQIHuWtOs2NhcPw= X-Received: by 2002:a50:cccc:: with SMTP id b12mr50897707edj.94.1555423523667; Tue, 16 Apr 2019 07:05:23 -0700 (PDT) MIME-Version: 1.0 From: ikuzar RABE Date: Tue, 16 Apr 2019 16:05:03 +0200 Message-ID: To: users@dpdk.org Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: [dpdk-users] L-thread subsystem: rte_eal_remote_launch() does not work 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" Hi all, I am experimenting lightweigth thread (lthread) over lcore. I use lcores 0, 5 and 6. I run this example: https://doc.dpdk.org/api/examples_2performance-thread_2pthread_shim_2main_8c-example.html and the result is OK. The result is Ok => I saw Hello from every lthread / lcore Now, I want to replace rte_eal_mp_remote_launch(lthread_scheduler, (void *)NULL, CALL_MASTER); by rte_eal_remote_launch(lthread_scheduler, (void *)NULL, 5); and rte_eal_remote_launch(lthread_scheduler, (void *)NULL, 6); But I do not see any Hello from lthread / lcore. With gdb I enter into lthread_scheduler() but lthread_create(<, -1, initial_lthread, (void *) NULL); seems to be not run. I put a breakpoint inside initial_lthread() but the execution does not stop on the breakpoint. My configuration: - Linux Debian 8 - dpdk v18.05.1 - NUMA node0 CPU(s): 0-11,24-35 - NUMA node1 CPU(s): 12-23,36-47 Would someone know how to run ligthweight threads with rte_eal_remote_launch( ) ? Regards, ikuzar