Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp1816557ybi; Sat, 8 Jun 2019 19:47:05 -0700 (PDT) X-Google-Smtp-Source: APXvYqwmL4s/RSn1DbxZOQceP69A4jjiT/25PU0xeqTME+W5qrycMUECu2Imi1i5DJ7vxXC2TBo2 X-Received: by 2002:a17:90a:5d09:: with SMTP id s9mr13652671pji.120.1560048425315; Sat, 08 Jun 2019 19:47:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560048425; cv=none; d=google.com; s=arc-20160816; b=qM2yJ0SojyS8jPFB6hVXDEQTfyCp+N0U+YC3UOJ0uxtvhd6pksNLW5Cv1+HboTDEmD BFrvY4koKnVKVlVz0Jtakoh/bu1JBeQkXFf0MuNoBTInZwRVI3cLnB0PMMGxtFgZAtEX ut4xz7JsJ1tuupWDhbn6G2tlKxQL2Wv8lAKBON41a9pz1KNX4IwXAUARraw/cl2vCihz Y9LA7zKIc/ad0lJEMo05gd/cDcKb36E87ByZIu6RBX7ffqs02SFvybRjcHLRK5hadVYC OXlR6e12Wn6ubi29YacT9c5QdZqUO0ji4/JnNNF5f50UuDrTVeUvUqaJwe2NeIObB7EY YTtQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=HSCm9fmHq45iKXWvH1z71kgLM8Zr/K08UPBWZ48G3rQ=; b=Axa8mmr/9UPDa936bYzldR3YRIX0ij4Ax4T6519mDJY3F9z2T72kR8mMziJxwLMWaj RT3XgvgC3sEoC7CVDGynrTp6OzxCw9KMHf19qdR5YGA1Ms9vNDXFRY+BEgn2b51GSCu6 dAEn9JZvibZdcR9CypCqEqkc68FHKlUTY+nytCxh5L76HwTVpFYcRP1vJrtVDaTaRUdR UzMpKJa1J8QXyxgNg7Bm3Vb7f8CvpNIy8DSwo5s2Jcly7ndzt+NpcBOvyp6Edt4hkqoX Q7gqnRbQfj6BqOXQD94PE7YUUjK7Fnumig8aVS1eVjqY3Fe2Nts/y8IMj7/5Bou0Zr+L ONgw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=uEXex3bz; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id j9si5922709pgp.328.2019.06.08.19.46.41; Sat, 08 Jun 2019 19:47:05 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=uEXex3bz; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728766AbfFIC3v (ORCPT + 99 others); Sat, 8 Jun 2019 22:29:51 -0400 Received: from bombadil.infradead.org ([198.137.202.133]:55642 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727630AbfFIC1c (ORCPT ); Sat, 8 Jun 2019 22:27:32 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; h=Sender:Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From: Reply-To:Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=HSCm9fmHq45iKXWvH1z71kgLM8Zr/K08UPBWZ48G3rQ=; b=uEXex3bzRE7TtZEhdIcrgqO2/F UUAWu2jvNFKVpxGz0N/V+MDqaVTTbVhMTt1HSEheJkj1I4BRZlaJoXIbCrLo7og9XvTccvNrDCJDT xP1wXtLBM7hZpnmtWMLFQ45AJ0jwKOb3hjO9iaN78I3F/MblqNCnwxtYB5g1f+dZ8nfai8GkCA6ly r5lRWx9cEcIPXkGXyiTwkNkw9uDOVwaSM8QGaf+7YC5BZul68TcQPJuIkJq4iMWpJHD1X4XV+83yt 71u5+9gjCI5N+wZO1SfckZRnsYSvMYUVmR1rWjgtxluMYREdO4Zg0A01m2cp8ZEJhDZz+86+YTjFH ZhiY92VQ==; Received: from 179.176.115.133.dynamic.adsl.gvt.net.br ([179.176.115.133] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtpsa (Exim 4.92 #3 (Red Hat Linux)) id 1hZnYS-0001mu-84; Sun, 09 Jun 2019 02:27:32 +0000 Received: from mchehab by bombadil.infradead.org with local (Exim 4.92) (envelope-from ) id 1hZnYL-0000JV-9D; Sat, 08 Jun 2019 23:27:25 -0300 From: Mauro Carvalho Chehab To: Linux Doc Mailing List Cc: Mauro Carvalho Chehab , Mauro Carvalho Chehab , linux-kernel@vger.kernel.org, Jonathan Corbet , Sudeep Dutt , Ashutosh Dixit Subject: [PATCH v3 17/33] docs: mic: convert docs to ReST and rename to *.rst Date: Sat, 8 Jun 2019 23:27:07 -0300 Message-Id: X-Mailer: git-send-email 2.21.0 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Convert Intel Many Integrated Core architecture docs to ReST. The conversion is trivial: just add title and literal block markups, and adjust some identation. At its new index.rst, let's add a :orphan: while this is not linked to the main index.rst file, in order to avoid build warnings. Signed-off-by: Mauro Carvalho Chehab --- Documentation/mic/index.rst | 18 ++++++ .../{mic_overview.txt => mic_overview.rst} | 6 +- .../{scif_overview.txt => scif_overview.rst} | 58 +++++++++++-------- 3 files changed, 57 insertions(+), 25 deletions(-) create mode 100644 Documentation/mic/index.rst rename Documentation/mic/{mic_overview.txt => mic_overview.rst} (96%) rename Documentation/mic/{scif_overview.txt => scif_overview.rst} (76%) diff --git a/Documentation/mic/index.rst b/Documentation/mic/index.rst new file mode 100644 index 000000000000..082fa8f6a260 --- /dev/null +++ b/Documentation/mic/index.rst @@ -0,0 +1,18 @@ +:orphan: + +============================================= +Intel Many Integrated Core (MIC) architecture +============================================= + +.. toctree:: + :maxdepth: 1 + + mic_overview + scif_overview + +.. only:: subproject and html + + Indices + ======= + + * :ref:`genindex` diff --git a/Documentation/mic/mic_overview.txt b/Documentation/mic/mic_overview.rst similarity index 96% rename from Documentation/mic/mic_overview.txt rename to Documentation/mic/mic_overview.rst index 074adbdf83a4..17d956bdaf7c 100644 --- a/Documentation/mic/mic_overview.txt +++ b/Documentation/mic/mic_overview.rst @@ -1,3 +1,7 @@ +====================================================== +Intel Many Integrated Core (MIC) architecture overview +====================================================== + An Intel MIC X100 device is a PCIe form factor add-in coprocessor card based on the Intel Many Integrated Core (MIC) architecture that runs a Linux OS. It is a PCIe endpoint in a platform and therefore @@ -45,7 +49,7 @@ Here is a block diagram of the various components described above. The virtio backends are situated on the host rather than the card given better single threaded performance for the host compared to MIC, the ability of the host to initiate DMA's to/from the card using the MIC DMA engine and -the fact that the virtio block storage backend can only be on the host. +the fact that the virtio block storage backend can only be on the host:: +----------+ | +----------+ | Card OS | | | Host OS | diff --git a/Documentation/mic/scif_overview.txt b/Documentation/mic/scif_overview.rst similarity index 76% rename from Documentation/mic/scif_overview.txt rename to Documentation/mic/scif_overview.rst index 0a280d986731..4c8ad9e43706 100644 --- a/Documentation/mic/scif_overview.txt +++ b/Documentation/mic/scif_overview.rst @@ -1,3 +1,7 @@ +======================================== +Symmetric Communication Interface (SCIF) +======================================== + The Symmetric Communication Interface (SCIF (pronounced as skiff)) is a low level communications API across PCIe currently implemented for MIC. Currently SCIF provides inter-node communication within a single host platform, where a @@ -8,8 +12,11 @@ is to deliver the maximum possible performance given the communication abilities of the hardware. SCIF has been used to implement an offload compiler runtime and OFED support for MPI implementations for MIC coprocessors. -==== SCIF API Components ==== +SCIF API Components +=================== + The SCIF API has the following parts: + 1. Connection establishment using a client server model 2. Byte stream messaging intended for short messages 3. Node enumeration to determine online nodes @@ -28,9 +35,12 @@ can also register local memory which is followed by data transfer using either DMA, CPU copies or remote memory mapping via mmap. SCIF supports both user and kernel mode clients which are functionally equivalent. -==== SCIF Performance for MIC ==== +SCIF Performance for MIC +======================== + DMA bandwidth comparison between the TCP (over ethernet over PCIe) stack versus -SCIF shows the performance advantages of SCIF for HPC applications and runtimes. +SCIF shows the performance advantages of SCIF for HPC applications and +runtimes:: Comparison of TCP and SCIF based BW @@ -66,33 +76,33 @@ space API similar to the kernel API in scif.h. The SCIF user space library is distributed @ https://software.intel.com/en-us/mic-developer Here is some pseudo code for an example of how two applications on two PCIe -nodes would typically use the SCIF API: +nodes would typically use the SCIF API:: -Process A (on node A) Process B (on node B) + Process A (on node A) Process B (on node B) -/* get online node information */ -scif_get_node_ids(..) scif_get_node_ids(..) -scif_open(..) scif_open(..) -scif_bind(..) scif_bind(..) -scif_listen(..) -scif_accept(..) scif_connect(..) -/* SCIF connection established */ + /* get online node information */ + scif_get_node_ids(..) scif_get_node_ids(..) + scif_open(..) scif_open(..) + scif_bind(..) scif_bind(..) + scif_listen(..) + scif_accept(..) scif_connect(..) + /* SCIF connection established */ -/* Send and receive short messages */ -scif_send(..)/scif_recv(..) scif_send(..)/scif_recv(..) + /* Send and receive short messages */ + scif_send(..)/scif_recv(..) scif_send(..)/scif_recv(..) -/* Register memory */ -scif_register(..) scif_register(..) + /* Register memory */ + scif_register(..) scif_register(..) -/* RDMA */ -scif_readfrom(..)/scif_writeto(..) scif_readfrom(..)/scif_writeto(..) + /* RDMA */ + scif_readfrom(..)/scif_writeto(..) scif_readfrom(..)/scif_writeto(..) -/* Fence DMAs */ -scif_fence_signal(..) scif_fence_signal(..) + /* Fence DMAs */ + scif_fence_signal(..) scif_fence_signal(..) -mmap(..) mmap(..) + mmap(..) mmap(..) -/* Access remote registered memory */ + /* Access remote registered memory */ -/* Close the endpoints */ -scif_close(..) scif_close(..) + /* Close the endpoints */ + scif_close(..) scif_close(..) -- 2.21.0