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 B84E6A04F6; Tue, 7 Jan 2020 08:17:30 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 9323A1D94D; Tue, 7 Jan 2020 08:17:30 +0100 (CET) Received: from mx0b-00169c01.pphosted.com (mx0b-00169c01.pphosted.com [67.231.156.123]) by dpdk.org (Postfix) with ESMTP id BFD451D94B for ; Tue, 7 Jan 2020 08:17:28 +0100 (CET) Received: from pps.filterd (m0048189.ppops.net [127.0.0.1]) by mx0b-00169c01.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id 0077DSxH012537 for ; Mon, 6 Jan 2020 23:17:28 -0800 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paloaltonetworks.com; h=mime-version : from : date : message-id : subject : to : content-type; s=PPS12012017; bh=z1kpm6W5CKuWAgmP0bnnT/8lcr2GFyBGhErTZEt2Bbs=; b=cB/n+c/F1MBu0HfeH0hz7jbiON7H375sKCPBP5FAuw1+4N05NHDx/7qyAEqAI7ZAmBVs xTT0WrzZlPtMgf/oKVfwIE1rukGiJqwK/3e6M0jEcj4bK5PubuuDA3/G0vI9JR6tT0cJ kwvaPkv7HqtmZA6Zg056KUV5G/rMeRuAs5GTPnLgwzoqjcOM9/xVRUp4G3ajVin9BTtp vYKtedJd6KUrKKqGfDQg8FQ8FPFmBm6IrDlwpRTPr7RI4zPB5AyCO/sYAEnp6CiUe1wj RON7Of2qVf4Fmuc6zDKkXETmiY7zG2THVknQnWA7ccnk4QhrhzHNFUjgpzDZALs9ZyIE ww== Received: from mail-qk1-f199.google.com (mail-qk1-f199.google.com [209.85.222.199]) by mx0b-00169c01.pphosted.com with ESMTP id 2xau386k37-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NOT) for ; Mon, 06 Jan 2020 23:17:28 -0800 Received: by mail-qk1-f199.google.com with SMTP id d1so8935171qkk.15 for ; Mon, 06 Jan 2020 23:17:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paloaltonetworks-com.20150623.gappssmtp.com; s=20150623; h=mime-version:from:date:message-id:subject:to; bh=z1kpm6W5CKuWAgmP0bnnT/8lcr2GFyBGhErTZEt2Bbs=; b=gvWtuLSaFoJE1gDVYg6nj2/aGvmFJd+SldrfUE+YniQUT6lRGrRG+xQ7/FxZoAKOl6 6lX0mEz2utI+OzseIQwQ7vbuVocTwdc1JEG2xRW80EGOFN173tDXq3wTpXYsPtQmBbw2 rmxyKT9eMY6zabnY3UByvdOXwnGk30cmpIuIyJlopamKsu9ZXyEkWwGj9kJ63K7eA5Gs YLtVfdIaGzvplq2rNq8l5tmjeOGN8JLA8MN6HVAgg/FagUzg4QJdG5SYTviGlXcnlKpI vG9+RFYaeJJWTbgOuD3I7QjQs+xbkRWY6WqwvgcWQYmT8LfntenLgdvk0yqjtBWXLOBt lLeA== 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=z1kpm6W5CKuWAgmP0bnnT/8lcr2GFyBGhErTZEt2Bbs=; b=JJaeEAGZ+dn1EUMasvlDiEUOmIAbvMv7jMJD9UOWSueMpjKaVXT4tJPgvH9bafhX/R YdGohax9oIR0Qz2kif5+QGVhtXIds5Xp3431911DF+UlZC8mMMnhJR7dKeAwWL9LO9sH ZmSNHyUFOiA11cn+mK7hrX74NLqEn4nzdHQfIYZu0XuVfISCtlrbqb4lmTX/RIHBYFQp 6pW15MPtCHXk7SeMhjBQMIOBBw8vEMHlERrHD+8rs9PAM278H92lv6R/Y3T0Wavy05qo ir4iAFglcvDA4S7hdzLYz8uPZrYVDLhZYfNjFrh0MPlmvkL65U6/EFAgMuWowQLbmtr6 T4wg== X-Gm-Message-State: APjAAAX6BjEkEvgkGcwQUR+RL2tPNIr7VRPKtOdUs1Ogq6lbrLMzVAwV R/l9WDk3K1WCbRx/86pDJQLvXRiY1ySP2CsJAZMXwxdpKmV1GmSqnLfazMCvM9DpJasU5+5inA+ Cgs4UJxJcil0l+BSg/Jk= X-Received: by 2002:a37:a348:: with SMTP id m69mr80598957qke.343.1578381447383; Mon, 06 Jan 2020 23:17:27 -0800 (PST) X-Google-Smtp-Source: APXvYqzcZKOqXRuxLW4m0Eda3fehBbpUMv657yOz/rgfK5h6jKEF/ErggbHtIdAZvws/3S1My4aHEUG005ljS4loP5c= X-Received: by 2002:a37:a348:: with SMTP id m69mr80598944qke.343.1578381447094; Mon, 06 Jan 2020 23:17:27 -0800 (PST) MIME-Version: 1.0 From: Venky Venkatesh Date: Mon, 6 Jan 2020 23:17:16 -0800 Message-ID: To: dev@dpdk.org X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.95,18.0.572 definitions=2020-01-07_01:2020-01-06,2020-01-07 signatures=0 X-Proofpoint-Spam-Details: rule=outbound_spam_notspam policy=outbound_spam score=0 adultscore=0 suspectscore=3 bulkscore=0 priorityscore=1501 lowpriorityscore=0 impostorscore=0 spamscore=0 mlxscore=0 clxscore=1015 malwarescore=0 mlxlogscore=548 phishscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-1910280000 definitions=main-2001070057 Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: [dpdk-dev] eventdev fault handling 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" Hi, This concerns eventdev being used in a DPDK multi-process mode wherein the PRIMARY process sets up the device, ports, queues and linkages and the SECONDARY processes are the real workers to which the events are load balanced to via the queues. My question (for both the sw evdev PMD and the DSW evdev PMD) is what is the recommended handling when one of the SECONDARY processes dies? In answering this you can assume that the dead process will be restarted in a few seconds (within 10 seconds): 1. Is it worthwhile unlinking that process from the queues it is linked to? 2. If so, do these PMDs support such capabilities? Additionally, what is to be done with (i.e. with respect to telling the eventdev) the events queued to the concerned core but not dequeued AND the burst dequeued held by the process at the time of death? 3. If not, then if there is continuous traffic bound to that process (for reasons e.g. scheduling algorithm of the PMD, flowid state while dying etc.), will the device eventually get backed up due to max-inflight? If so, what is the recommended remedy? 4. For DSW there is the additional aspect of ongoing/future migrations -- what is the design recommendation to compensate for that during a process crash If your answer is sensitive to the restart delay, pls explain for the different delay ranges. Thanks -Venky