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 8885AA04F2 for ; Thu, 5 Dec 2019 11:16:42 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id C800E1BF89; Thu, 5 Dec 2019 11:16:38 +0100 (CET) Received: from mail-qk1-f180.google.com (mail-qk1-f180.google.com [209.85.222.180]) by dpdk.org (Postfix) with ESMTP id 6C54E1BF7F for ; Thu, 5 Dec 2019 11:16:36 +0100 (CET) Received: by mail-qk1-f180.google.com with SMTP id i18so2814225qkl.11 for ; Thu, 05 Dec 2019 02:16:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=iith.ac.in; s=google; h=mime-version:from:date:message-id:subject:to; bh=TDG1/7qB8IUixvLB5Wi6ltc8EaqxtLsj7F/pzZmOBpk=; b=xafvhoA8Q8f+2WuLlDA07OnKiPe9tSwceGauTjbL3rEA0H35S8BtXmTrDDPeNZLnS0 MH9gmTt2vGtnC3onk2nkyrmoaVMpv6wxYXAAiyEpodKihXpze0IchSqmMdGOT0hme0WV paOZbMLoUYUnmolyJyx8BvDGngId+9v7KqY3w= 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=TDG1/7qB8IUixvLB5Wi6ltc8EaqxtLsj7F/pzZmOBpk=; b=VxRDfLPbtnXJIFocWsXvIkgzdOyUTs8FTmh77w8jqCaWYvljbXYXyHJvi04bP6VqeN 3ieIW80ChaleVWylqRxs1PDmBMSmkXC5DQJEanNOyDsK/AoBPfupl42ytmbahqh8cAmu 2QCSUGmv5+LENYkuxV2C52x3AYoDFsJyf1gi7Wdt+ZJHnINolfTz46x9SolDSGOrYP1e E1+2HIqjl1DEr/XOwaQOUiCt2hPVy5Xn6jYTCBE0hMXSyPDIDKTYvd/2FLHV8gSva7zB mTEEpX2WPOxIZPDlHrthHmVNrjXpYd4w7R0iGxZ+5FlPF1/c6fu8T8iTJie3ft+r2UTm gRNQ== X-Gm-Message-State: APjAAAWDoOXtAkHWp/IrfXJ3lSaiKO8e1HNBW3fjtijnL4SifTq+DPQK Ew4/VmelMJPTUIjk9/TJf3E8kj9HtY1OKu3n60spTa5xw3w= X-Google-Smtp-Source: APXvYqz3NMWQrPR39qZQKqnnemU5P64hitSwO9jRIrhh6j40A7eypv6nUBw0Id7n7vJ59oZ7H/Y5HKHc8WA7ufb/Woc= X-Received: by 2002:a05:620a:1467:: with SMTP id j7mr7162282qkl.76.1575540995558; Thu, 05 Dec 2019 02:16:35 -0800 (PST) MIME-Version: 1.0 From: Perugu Hemasai Chandra Prasad Date: Thu, 5 Dec 2019 15:46:23 +0530 Message-ID: To: users@dpdk.org, dev@dpdk.org Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: [dpdk-users] Sharing Data structure between logical cores in DPDK- regarding 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 have a small doubt, can we share a data structure between multiple logical cores in DPDK without locking? I have tested it by sharing a small structure with two variable and incrementing them in all logical cores. It ran smooth I didn't get any issue. But I doubt if we can run it for long time with some huge data structure having many elements getting accessed by multiple logical cores. Can anyone please clarify this. Thanks and regards, Hemasai.