From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM02-SN1-obe.outbound.protection.outlook.com (mail-sn1nam02on0071.outbound.protection.outlook.com [104.47.36.71]) by dpdk.org (Postfix) with ESMTP id 6F5861B052 for ; Mon, 8 Jan 2018 17:05:56 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=CAVIUMNETWORKS.onmicrosoft.com; s=selector1-cavium-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=ijRufDDye7RgfFRqXVsBUwl94/NV9YN5coN5PoI9Zg4=; b=iIE4lSov7kTyZVzMDgpUdcwlXJfsY4ChYcQHgfWZKB26dv2ZXB25a3n5nlYwMdgyptSGke2xS5rw/7ejdCyKIBI0zsqBOHCAeNBvwWas7iFBKSTaS52Y/2CB1BLVAkWyb/9fY348beru5o1r+to10uqJVUbnpOhjYt6YxGWrEuA= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Pavan.Bhagavatula@cavium.com; Received: from Pavan-LT (111.93.218.67) by BN6PR07MB3457.namprd07.prod.outlook.com (10.161.153.20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.386.5; Mon, 8 Jan 2018 16:05:49 +0000 Date: Mon, 8 Jan 2018 21:35:30 +0530 From: Pavan Nikhilesh To: "Van Haaren, Harry" , "Eads, Gage" , "jerin.jacob@caviumnetworks.com" , "santosh.shukla@caviumnetworks.com" Cc: dev@dpdk.org Message-ID: <20180108160529.gven7vlrbmrrlw2p@Pavan-LT> References: <1512011314-19682-1-git-send-email-gage.eads@intel.com> <1512011314-19682-2-git-send-email-gage.eads@intel.com> <20180108153219.jszoepdgfiggn3bm@Pavan-LT> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: NeoMutt/20170609 (1.8.3) X-Originating-IP: [111.93.218.67] X-ClientProxiedBy: SG2PR0302CA0003.apcprd03.prod.outlook.com (10.170.129.13) To BN6PR07MB3457.namprd07.prod.outlook.com (10.161.153.20) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: e75ed001-a4b7-4069-e4a5-08d556b1b092 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(4534020)(4602075)(4627115)(201703031133081)(201702281549075)(5600026)(4604075)(2017052603307)(7153060)(7193020); SRVR:BN6PR07MB3457; X-Microsoft-Exchange-Diagnostics: 1; BN6PR07MB3457; 3:f7Fi72OrNbQyR3cIwl8GJUyCbVlsVNiLRnqS7bYPdgInxNWNgb0wgXFn9vp9B1UaO7ZBtnScnpRO/Lj/xW+HZYYh+mCDmSZZ6D+8JTHiUVdnf5z6UVp3wYDJtfhRLA5HGe0J8pmgGWRcsNBR4RcYg/bvzCICEwBHQiXp8LvehsAfIcKcGHfmOspIfVNp+yZ6wCcwNYmqOj6R9gxGLrVvCGdPCfxyrGVh1FY/HmsPa1J/+4i97/nl5j1Dd4Mo6/2u; 25:J5w3aWF663zbDNGUTV/jeHh0MaIhZPystHWn5XjzToBmcKvAr5wzCIAlUcnvanv4Pshw7EYJ3WCfiQqYLsNGE2oP9nPkRKhs4H0hNTChS8sBR4RsvPlbeZYbfeH9dzn9CzQrQ4bGdFQGdZqf4Mw70861JfHkOVhWsOxcH1f1Eluzm0UkmIbGgWQQCN/d05PdCIQ+QlNp3kJhYGt8VC2+zPEhZvgj5WOp4epccgX/a4nCHL+Med+ZEsBo6yQYCVqcFKIWpwTTEPYT9jrdNPAtPu2qxkRkD0thXMeog2KEIkr2SFLR0GjGfPRsPRt3XazYGcKAJ+NOiFbDUkbyekCySw==; 31:Vn1AK0SFpFI/WNXpLxan3uRoCXELjKdV3Njiu3LPtS00u6o5i/Dnxey1IVrBFhrQyv4xKgIhiIzy3gffbItFHmTzS6slc1eFzTuSzzqR3tJlKsV0YtbU0Sed1b8aZcLII0Jvo/ZQyMhjMzfdhWrWy6rf8MlWH+5p+qD4y6IRD4Wowk74dr/oAuWifpMe7PKrOtqL1fJJvk7ey3pVryK0XY4qmHNeNciX2gWCQEiivWU= X-MS-TrafficTypeDiagnostic: BN6PR07MB3457: X-Microsoft-Exchange-Diagnostics: 1; BN6PR07MB3457; 20:kUCr64Uv5ROxcmI4H4cVTnU1fpkMEjRhNhKpeQ0GNpLPaW+rtW4z5ijqDfwwZjnuSL477fPfR869Lt/WS/PFeqhuViw16JWyRPRvnfcbLbpQd8Af+hWqgFg6ck8YGfgsdz7ZkoFqRapbfsocAQNMvm7nwAps2pLGvKMU1tSYq/O0Mo3VBcQ5l9QBhGqjnuZFm135RC8eqIiTapd7Rs3WCIFh9iBrRzDvK+JNBvWXCs9DC3vGSA+sbOy2NwGWxIr7+4OVb2kHS5YyMlti2VAUY95TR8pSsv6uLK7uxi32dvh7k9HnjD9KetdqWe02A/MmR4jS4lVIAQePW4to2rhuP9kZ4Ma0IfSaH4vQq55HQgZDiigp9bArL48CfQP0B/iqJkw3psqnNTerZ7wdd7Fa/iHvk06yTEgxsWDB0h31JWRFhYeEMdzrCcQ5AmqtoPb5day3BG4Im847G6soRnDgXeSRH4jHqgJnkJqcEa2+YR85RQwf4geiozJPIfJqSl4TR3yWySfjDRyLS76InvAD8xq/kTdWebjYGS5og8PlG/0avy5ja1e7o935SumxxS+Yg8TpS/g61WdKF4SbvKrTj/lQtJu1h9tGyPJWvKHiluE= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(211171220733660)(228905959029699); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040470)(2401047)(5005006)(8121501046)(93006095)(10201501046)(3002001)(3231023)(944501075)(6041268)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123562045)(20161123560045)(20161123558120)(20161123564045)(6072148)(201708071742011); SRVR:BN6PR07MB3457; BCL:0; PCL:0; RULEID:(100000803101)(100110400095); SRVR:BN6PR07MB3457; X-Microsoft-Exchange-Diagnostics: 1; BN6PR07MB3457; 4:O3Rfy04olvjmh83eN8y0dfnth1BQw+c6frRh+yxpmHTnbE0kBi08YUBgelAhGYq2SpYaTseilM6fZcg5Nd0TXCcKjFufpOi0qKGSSRkp2wjnwveT+XFOCYAGj1iTr7x2PT6HRSIkyqcE5aQ9cN4RfktvEk3iHmkoXW0QILolT0LRo6zXhuyI5TAxdF90BSlWpaKbdkTa3+0qoAJr1pNMvok5t3QO/tGzpTj4l5Tocci/XWW47yUhoBZhk5OqAmaba8vQ6Ob+DDMr2CNSFLD3aUGNvnn59YBlaTmC3fEIhkFVofRC9PY4++eoBa7VuiMoyOlEY8flpJ2cwhtjIIs4oTkO/zx4MeAYLb+l2t1g3tY= X-Forefront-PRVS: 054642504A X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(396003)(39850400004)(366004)(346002)(376002)(39380400002)(199004)(189003)(24454002)(7736002)(575784001)(53936002)(68736007)(93886005)(229853002)(6306002)(2906002)(25786009)(97736004)(55016002)(9686003)(2201001)(110136005)(83506002)(6666003)(16526018)(2501003)(53376002)(6246003)(478600001)(305945005)(6636002)(81166006)(8936002)(8676002)(5660300001)(81156014)(50466002)(42882006)(2950100002)(53546011)(16586007)(106356001)(59450400001)(105586002)(3846002)(5009440100003)(66066001)(316002)(47776003)(33716001)(52116002)(6496006)(23726003)(76176011)(4326008)(966005)(72206003)(6116002)(58126008)(386003)(33896004)(1076002)(107986001)(42262002); DIR:OUT; SFP:1101; SCL:1; SRVR:BN6PR07MB3457; H:Pavan-LT; FPR:; SPF:None; PTR:InfoNoRecords; A:1; MX:1; LANG:en; Received-SPF: None (protection.outlook.com: cavium.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BN6PR07MB3457; 23:CMSQvcuRYgpP3vvOjGSLFwDshIF2vKzNa6w3GDlQG?= =?us-ascii?Q?TfwvZ3bFzjkwe9EezJxeiWa1zpOm/inBP0b8/ooM8aXtz3S4ROexEG7EAznN?= =?us-ascii?Q?/z3lbx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IhF+j09K272c8wJEnZTvDIXQqHMfEGmWe6PwxC4tS5+iqhgr3fT/fx7xD27PJOKve5ggyAjzvDzRp2UnsliktCyFL7MFmwy/oGSQf9ngdAcwebWz+UL2FCGXBI=; 24:kxLdpgapF+4h8ynDLWH4zg7gMPL4lXO8meOJT/NO1YHPVufUsEcGbzaQXkcXPYgn9VtKBa4PJvegr34RY1qcRCfoDAu1tOEGTddMUA4vHBY=; 7:I6cO9OkiPX2+Np9JvG9gSp8aELw9Qzff9XrLOuHcRwj5J+qioP92x/YJheq5KWpHuGgfAtc2jXLgfkSr6Ipq0gRbCjHirC5JrUmj3xo6aauVhUDfoyoyECUZJS5j3I/Ztdzj6QfYwlrmsslZCtAsF9137ZR0fovoJEMMvx2Q0wg0Dag94g9o3Z73/57fylrKM5VcUfPU71f9DbKhlJ9UVy4cSKt6/+/YO/xuUmGcd+9cXTPCNEDeFgq58EHJiQVT SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 08 Jan 2018 16:05:49.2847 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: e75ed001-a4b7-4069-e4a5-08d556b1b092 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 711e4ccf-2e9b-4bcf-a551-4094005b6194 X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN6PR07MB3457 Subject: Re: [dpdk-dev] [PATCH 2/2] event/sw: use dynamically-sized IQs 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: Mon, 08 Jan 2018 16:05:57 -0000 On Mon, Jan 08, 2018 at 03:50:24PM +0000, Van Haaren, Harry wrote: > > From: Pavan Nikhilesh [mailto:pbhagavatula@caviumnetworks.com] > > Sent: Monday, January 8, 2018 3:32 PM > > To: Eads, Gage ; Van Haaren, Harry > > ; jerin.jacob@caviumnetworks.com; > > santosh.shukla@caviumnetworks.com > > Cc: dev@dpdk.org > > Subject: Re: [PATCH 2/2] event/sw: use dynamically-sized IQs > > > > On Wed, Nov 29, 2017 at 09:08:34PM -0600, Gage Eads wrote: > > > This commit introduces dynamically-sized IQs, by switching the underlying > > > data structure from a fixed-size ring to a linked list of queue 'chunks.' > > > > > Sw eventdev crashes when used alongside Rx adapter. The crash happens when > > pumping traffic at > 1.4mpps. This commit seems responsible for this. > > > > > > Apply the following Rx adapter patch > > http://dpdk.org/dev/patchwork/patch/31977/ > > Command used: > > ./build/eventdev_pipeline_sw_pmd -c 0xfffff8 --vdev="event_sw" -- -r0x800 > > -t0x100 -w F000 -e 0x10 > > Applied the patch to current master, recompiled; cannot reproduce here.. > master in the sense dpdk-next-eventdev right? > Is it 100% reproducible and "instant" or can it take some time to occur there? > It is instant > > > Backtrace: > > > > Thread 4 "lcore-slave-4" received signal SIGSEGV, Segmentation fault. > > [Switching to Thread 0xffffb6c8f040 (LWP 25291)] > > 0x0000aaaaaadcc0d4 in iq_dequeue_burst (count=48, ev=0xffffb6c8dd38, > > iq=0xffff9f764720, sw=0xffff9f332600) at > > /root/clean/rebase/dpdk-next-eventdev/drivers/event/sw/iq_chunk.h:142 > > 142 ev[total++] = current->events[index++]; > > Could we get the output of (gdb) info locals? > Thread 4 "lcore-slave-4" received signal SIGSEGV, Segmentation fault. [Switching to Thread 0xffffb6c8f040 (LWP 19751)] 0x0000aaaaaadcc0d4 in iq_dequeue_burst (count=48, ev=0xffffb6c8dd38, iq=0xffff9f764620, sw=0xffff9f332500) at /root/clean/rebase/dpdk-next-eventdev/drivers/event/sw/iq_chunk.h:142 142 ev[total++] = current->events[index++]; (gdb) info locals next = 0x7000041400be73b current = 0x7000041400be73b total = 36 index = 1 (gdb) Noticed an other crash: Thread 4 "lcore-slave-4" received signal SIGSEGV, Segmentation fault. [Switching to Thread 0xffffb6c8f040 (LWP 19690)] 0x0000aaaaaadcfb78 in iq_alloc_chunk (sw=0xffff9f332500) at /root/clean/rebase/dpdk-next-eventdev/drivers/event/sw/iq_chunk.h:63 63 sw->chunk_list_head = chunk->next; (gdb) info locals chunk = 0x14340000119 (gdb) bt #0 0x0000aaaaaadcfb78 in iq_alloc_chunk (sw=0xffff9f332500) at /root/clean/rebase/dpdk-next-eventdev/drivers/event/sw/iq_chunk.h:63 #1 iq_enqueue (ev=0xffff9f3967c0, iq=0xffff9f764620, sw=0xffff9f332500) at /root/clean/rebase/dpdk-next-eventdev/drivers/event/sw/iq_chunk.h:95 #2 __pull_port_lb (allow_reorder=0, port_id=5, sw=0xffff9f332500) at /root/clean/rebase/dpdk-next-eventdev/drivers/event/sw/sw_evdev_scheduler.c:463 #3 sw_schedule_pull_port_no_reorder (sw=0xffff9f332500, port_id=5) at /root/clean/rebase/dpdk-next-eventdev/drivers/event/sw/sw_evdev_scheduler.c:486 #4 0x0000aaaaaadd0608 in sw_event_schedule (dev=0xaaaaaafbd200 ) at /root/clean/rebase/dpdk-next-eventdev/drivers/event/sw/sw_evdev_scheduler.c:554 #5 0x0000aaaaaadca008 in sw_sched_service_func (args=0xaaaaaafbd200 ) at /root/clean/rebase/dpdk-next-eventdev/drivers/event/sw/sw_evdev.c:767 #6 0x0000aaaaaab54740 in rte_service_runner_do_callback (s=0xffff9fffdf80, cs=0xffff9ffef900, service_idx=0) at /root/clean/rebase/dpdk-next-eventdev/lib/librte_eal/common/rte_service.c:349 #7 0x0000aaaaaab54868 in service_run (i=0, cs=0xffff9ffef900, service_mask=18446744073709551615) at /root/clean/rebase/dpdk-next-eventdev/lib/librte_eal/common/rte_service.c:376 #8 0x0000aaaaaab54954 in rte_service_run_iter_on_app_lcore (id=0, serialize_mt_unsafe=1) at /root/clean/rebase/dpdk-next-eventdev/lib/librte_eal/common/rte_service.c:405 #9 0x0000aaaaaaaef04c in schedule_devices (lcore_id=4) at /root/clean/rebase/dpdk-next-eventdev/examples/eventdev_pipeline_sw_pmd/main.c:223 #10 0x0000aaaaaaaef234 in worker (arg=0xffff9f331c80) at /root/clean/rebase/dpdk-next-eventdev/examples/eventdev_pipeline_sw_pmd/main.c:274 #11 0x0000aaaaaab4382c in eal_thread_loop (arg=0x0) at /root/clean/rebase/dpdk-next-eventdev/lib/librte_eal/linuxapp/eal/eal_thread.c:182 #12 0x0000ffffb7e46d64 in start_thread () from /usr/lib/libpthread.so.0 #13 0x0000ffffb7da8bbc in thread_start () from /usr/lib/libc.so.6 > > > > (gdb) bt > > #0 0x0000aaaaaadcc0d4 in iq_dequeue_burst (count=48, ev=0xffffb6c8dd38, > > iq=0xffff9f764720, sw=0xffff9f332600) at > > /root/clean/rebase/dpdk-next-eventdev/drivers/event/sw/iq_chunk.h:142 > > #1 sw_schedule_atomic_to_cq (sw=0xffff9f332600, qid=0xffff9f764700, > > iq_num=0, > > count=48) at > > /root/clean/rebase/dpdk-next- > > eventdev/drivers/event/sw/sw_evdev_scheduler.c:74 > > #2 0x0000aaaaaadcdc44 in sw_schedule_qid_to_cq (sw=0xffff9f332600) at > > /root/clean/rebase/dpdk-next- > > eventdev/drivers/event/sw/sw_evdev_scheduler.c:262 > > #3 0x0000aaaaaadd069c in sw_event_schedule (dev=0xaaaaaafbd200 > > ) at > > /root/clean/rebase/dpdk-next- > > eventdev/drivers/event/sw/sw_evdev_scheduler.c:564 > > #4 0x0000aaaaaadca008 in sw_sched_service_func (args=0xaaaaaafbd200 > > ) at > > /root/clean/rebase/dpdk-next-eventdev/drivers/event/sw/sw_evdev.c:767 > > #5 0x0000aaaaaab54740 in rte_service_runner_do_callback (s=0xffff9fffdf80, > > cs=0xffff9ffef900, service_idx=0) at > > /root/clean/rebase/dpdk-next- > > eventdev/lib/librte_eal/common/rte_service.c:349 > > #6 0x0000aaaaaab54868 in service_run (i=0, cs=0xffff9ffef900, > > service_mask=18446744073709551615) at > > /root/clean/rebase/dpdk-next- > > eventdev/lib/librte_eal/common/rte_service.c:376 > > #7 0x0000aaaaaab54954 in rte_service_run_iter_on_app_lcore (id=0, > > serialize_mt_unsafe=1) at > > /root/clean/rebase/dpdk-next- > > eventdev/lib/librte_eal/common/rte_service.c:405 > > #8 0x0000aaaaaaaef04c in schedule_devices (lcore_id=4) at > > /root/clean/rebase/dpdk-next- > > eventdev/examples/eventdev_pipeline_sw_pmd/main.c:223 > > #9 0x0000aaaaaaaef234 in worker (arg=0xffff9f331d80) at > > /root/clean/rebase/dpdk-next- > > eventdev/examples/eventdev_pipeline_sw_pmd/main.c:274 > > #10 0x0000aaaaaab4382c in eal_thread_loop (arg=0x0) at > > /root/clean/rebase/dpdk-next- > > eventdev/lib/librte_eal/linuxapp/eal/eal_thread.c:182 > > #11 0x0000ffffb7e46d64 in start_thread () from /usr/lib/libpthread.so.0 > > #12 0x0000ffffb7da8bbc in thread_start () from /usr/lib/libc.so.6 > > > > Segfault seems to happen in sw_event_schedule and only happens under high > > traffic load. > > I've added -n 0 to the command line allowing it to run forever, > and after ~2 mins its still happily forwarding pkts at ~10G line rate here. > On arm64 the crash is instant even without -n0. > > > Thanks, > > Pavan > > Thanks for reporting - I'm afraid I'll have to ask a few questions to identify why I can't reproduce here before I can dig in and identify a fix. > > Anything special about the system that it is on? Running on arm64 octeontx with 8x10G connected. > What traffic pattern is being sent to the app? Using something similar to trafficgen, IPv4/UDP pkts. 0:00:51 958245 |0xB00 2816|0xB10 2832|0xB20 2848|0xB30 2864|0xC00 * 3072|0xC10 * 3088|0xC20 * 3104|0xC30 * 3120| Totals Port Status |XFI30 Up|XFI31 Up|XFI32 Up|XFI33 Up|XFI40 Up|XFI41 Up|XFI42 Up|XFI43 Up| 1:Total TX packets | 7197041566| 5194976604| 5120240981| 4424870160| 5860892739| 5191225514| 5126500427| 4429259828|42545007819 3:Total RX packets | 358886055| 323055411| 321000948| 277179800| 387486466| 350278086| 348080242| 295460613|2661427621 6:TX packet rate | 0| 0| 0| 0| 0| 0| 0| 0| 0 7:TX octet rate | 0| 0| 0| 0| 0| 0| 0| 0| 0 8:TX bit rate, Mbps | 0| 0| 0| 0| 0| 0| 0| 0| 0 10:RX packet rate | 0| 0| 0| 0| 0| 0| 0| 0| 0 11:RX octet rate | 0| 0| 0| 0| 0| 0| 0| 0| 0 12:RX bit rate, Mbps | 0| 0| 0| 0| 0| 0| 0| 0| 0 36:tx.size | 60| 60| 60| 60| 60| 60| 60| 60| 37:tx.type | IPv4+UDP| IPv4+UDP| IPv4+UDP| IPv4+UDP| IPv4+UDP| IPv4+UDP| IPv4+UDP| IPv4+UDP| 38:tx.payload | abc| abc| abc| abc| abc| abc| abc| abc| 47:dest.mac | fb71189c0| fb71189d0| fb71189e0| fb71189bf| fb7118ac0| fb7118ad0| fb7118ae0| fb7118abf| 51:src.mac | fb71189bf| fb71189cf| fb71189df| fb71189ef| fb7118abf| fb7118acf| fb7118adf| fb7118aef| 55:dest.ip | 11.1.0.99| 11.17.0.99| 11.33.0.99| 11.0.0.99| 14.1.0.99| 14.17.0.99| 14.33.0.99| 14.0.0.99| 59:src.ip | 11.0.0.99| 11.16.0.99| 11.32.0.99| 11.48.0.99| 14.0.0.99| 14.16.0.99| 14.32.0.99| 14.48.0.99| 73:bridge | off| off| off| off| off| off| off| off| 77:validate packets | off| off| off| off| off| off| off| off| Thanks, Pavan. > > Thanks > > > >