From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by dpdk.org (Postfix) with ESMTP id 0E16B3257 for ; Tue, 30 Apr 2019 19:10:16 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by fmsmga103.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 30 Apr 2019 10:10:16 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.60,414,1549958400"; d="scan'208";a="166451197" Received: from irsmsx107.ger.corp.intel.com ([163.33.3.99]) by fmsmga004.fm.intel.com with ESMTP; 30 Apr 2019 10:10:15 -0700 Received: from irsmsx101.ger.corp.intel.com ([169.254.1.115]) by IRSMSX107.ger.corp.intel.com ([169.254.10.246]) with mapi id 14.03.0415.000; Tue, 30 Apr 2019 18:10:14 +0100 From: "Trahe, Fiona" To: "dev@dpdk.org" CC: "Trybula, ArturX" , "Trahe, Fiona" , "Dybkowski, AdamX" , "Cel, TomaszX" , "akhil.goyal@nxp.com" Thread-Topic: [PATCH] app/compress-perf: add info about socket id used by app and by the driver Thread-Index: AQHU/2Baj5SP0au4yUa/va7V6L386qZU7ymg Date: Tue, 30 Apr 2019 17:10:14 +0000 Message-ID: <348A99DA5F5B7549AA880327E580B4358974F68C@IRSMSX101.ger.corp.intel.com> References: <1556634100-17286-1-git-send-email-tomaszx.cel@intel.com> In-Reply-To: <1556634100-17286-1-git-send-email-tomaszx.cel@intel.com> Accept-Language: en-IE, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiYmM1NzVjODktNzliZS00MTAzLWI4MWQtMjA4Yjc4NTU5MjNhIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoiQzd2VzdFTkR4dHFnSWJcL2VLZWNQTWgzMFpxQTVVM2taOWJ1NFE4ZXVNMGNTbUVlakROSmdEQ1VsWUtDQ2JsOEYifQ== x-ctpclassification: CTP_NT dlp-product: dlpe-windows dlp-version: 11.0.600.7 dlp-reaction: no-action x-originating-ip: [163.33.239.181] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: [dpdk-dev] [PATCH] app/compress-perf: add info about socket id used by app and by the driver X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Apr 2019 17:10:17 -0000 Added info about socket id used by compression perf test process and by the= driver Signed-off-by: Tomasz Cel Signed-off-by: Fiona Trahe --- Target 19.08 release app/test-compress-perf/main.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/test-compress-perf/main.c b/app/test-compress-perf/main.c index c2a45d1..21ed12e 100644 --- a/app/test-compress-perf/main.c +++ b/app/test-compress-perf/main.c @@ -533,6 +533,9 @@ main(int argc, char **argv) else level =3D test_data->level.list[0]; =20 + printf("App uses socket: %u\n", rte_socket_id()); + printf("Driver uses socket: %u\n", + rte_compressdev_socket_id(test_data->cdev_id)); printf("Burst size =3D %u\n", test_data->burst_sz); printf("File size =3D %zu\n", test_data->input_data_sz); =20 --=20 2.7.4 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 8F2B1A0679 for ; Tue, 30 Apr 2019 19:10:18 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 4E4F14C95; Tue, 30 Apr 2019 19:10:18 +0200 (CEST) Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by dpdk.org (Postfix) with ESMTP id 0E16B3257 for ; Tue, 30 Apr 2019 19:10:16 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by fmsmga103.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 30 Apr 2019 10:10:16 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.60,414,1549958400"; d="scan'208";a="166451197" Received: from irsmsx107.ger.corp.intel.com ([163.33.3.99]) by fmsmga004.fm.intel.com with ESMTP; 30 Apr 2019 10:10:15 -0700 Received: from irsmsx101.ger.corp.intel.com ([169.254.1.115]) by IRSMSX107.ger.corp.intel.com ([169.254.10.246]) with mapi id 14.03.0415.000; Tue, 30 Apr 2019 18:10:14 +0100 From: "Trahe, Fiona" To: "dev@dpdk.org" CC: "Trybula, ArturX" , "Trahe, Fiona" , "Dybkowski, AdamX" , "Cel, TomaszX" , "akhil.goyal@nxp.com" Thread-Topic: [PATCH] app/compress-perf: add info about socket id used by app and by the driver Thread-Index: AQHU/2Baj5SP0au4yUa/va7V6L386qZU7ymg Date: Tue, 30 Apr 2019 17:10:14 +0000 Message-ID: <348A99DA5F5B7549AA880327E580B4358974F68C@IRSMSX101.ger.corp.intel.com> References: <1556634100-17286-1-git-send-email-tomaszx.cel@intel.com> In-Reply-To: <1556634100-17286-1-git-send-email-tomaszx.cel@intel.com> Accept-Language: en-IE, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiYmM1NzVjODktNzliZS00MTAzLWI4MWQtMjA4Yjc4NTU5MjNhIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoiQzd2VzdFTkR4dHFnSWJcL2VLZWNQTWgzMFpxQTVVM2taOWJ1NFE4ZXVNMGNTbUVlakROSmdEQ1VsWUtDQ2JsOEYifQ== x-ctpclassification: CTP_NT dlp-product: dlpe-windows dlp-version: 11.0.600.7 dlp-reaction: no-action x-originating-ip: [163.33.239.181] Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: [dpdk-dev] [PATCH] app/compress-perf: add info about socket id used by app and by the driver X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Message-ID: <20190430171014.PHnKLdj-AMV9lDVr1fPgURkkKnlzGB6nBmug_n1XgaY@z> Added info about socket id used by compression perf test process and by the= driver Signed-off-by: Tomasz Cel Signed-off-by: Fiona Trahe --- Target 19.08 release app/test-compress-perf/main.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/test-compress-perf/main.c b/app/test-compress-perf/main.c index c2a45d1..21ed12e 100644 --- a/app/test-compress-perf/main.c +++ b/app/test-compress-perf/main.c @@ -533,6 +533,9 @@ main(int argc, char **argv) else level =3D test_data->level.list[0]; =20 + printf("App uses socket: %u\n", rte_socket_id()); + printf("Driver uses socket: %u\n", + rte_compressdev_socket_id(test_data->cdev_id)); printf("Burst size =3D %u\n", test_data->burst_sz); printf("File size =3D %zu\n", test_data->input_data_sz); =20 --=20 2.7.4