Received: by 10.213.65.68 with SMTP id h4csp2295314imn; Thu, 5 Apr 2018 12:22:38 -0700 (PDT) X-Google-Smtp-Source: AIpwx49WaaRQ9u5Gr9LJfOzZGKZbs0DYuKSdKaNnpK30uyJWAvPP5CGQRzFjMcK+k9FUL1k97Im9 X-Received: by 2002:a17:902:7185:: with SMTP id b5-v6mr24067825pll.221.1522956158902; Thu, 05 Apr 2018 12:22:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1522956158; cv=none; d=google.com; s=arc-20160816; b=XxkJiSvkzQKSJeRxWFrYX/2PXnn3KAre5KfmUYS84ngoMmQrJ0/j5kjBfEG/ELphNd wER+OenF5zmBWuqlArWkI+FFeABAQpSnK1T6fuOqy2JT3iypqxqcEzP7+X5QiqW3rC6b 3qU97x+/lDXstOBUiQDdgGM7g8OeUf52qeqLh2wozqVzWFdDBxM9vixJ8spCkOc1KV8y APSPgDkUdvf7q88WjXqYTEitsjjsyef6BNK/lH2P2AlNumzpP8yDZDymr50euFQqMV2P swmtLEylcscwzd34ViTtoyOfvL8TKUYu2xf4JkliUciCZ3HnS3iICg/v/T6fTDwBsHon irIg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-transfer-encoding:content-disposition:mime-version :references:message-id:subject:cc:to:from:date :arc-authentication-results; bh=MvlD9lI37torC2LGetm8RVGeXxZDxlCOKe58V2gpJcg=; b=AlWEu9N4L3kTjqO6LZOv/7SmJSsyC36h9cNInnvTj49NyutQjx+qE1e8Ok7VQk70vp E8qg9xhM4fSWy67Yuwbwarp28kJr8ybXczuoaYDVYtmpvuWK3d1qAh7x2Oqe8kBCHOsU ErqIsYEa8X04Ks4kTXxQ15AYpgthaLCEF79vQpHBtkfrrod+3Q+z9Ci2ftLjali4liyB NOkNJe8oXTy1fSWn4WOo4cMVCyqLr7NH88K7YJHOYg8QUAIM8siu5IJ0yurMCa8s4w3G N/xyTBuuf038BYQWsfbsFw/ByI2h/3o53w4Z20giPKUyN3CYyN5HbjTm/Y5M2vGgl7RI X8aA== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w184si5807174pgb.661.2018.04.05.12.22.24; Thu, 05 Apr 2018 12:22:38 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752207AbeDETT5 (ORCPT + 99 others); Thu, 5 Apr 2018 15:19:57 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:32858 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752016AbeDETTy (ORCPT ); Thu, 5 Apr 2018 15:19:54 -0400 Received: from localhost (LFbn-1-12247-202.w90-92.abo.wanadoo.fr [90.92.61.202]) by mail.linuxfoundation.org (Postfix) with ESMTPSA id C2300DE5; Thu, 5 Apr 2018 19:19:53 +0000 (UTC) Date: Thu, 5 Apr 2018 21:19:53 +0200 From: Greg KH To: Muni Sekhar Cc: linux-serial , linux-kernel@vger.kernel.org, kernelnewbies Subject: Re: uart throughput Message-ID: <20180405191953.GA19801@kroah.com> References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.9.4 (2018-02-28) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Apr 05, 2018 at 10:08:14PM +0530, Muni Sekhar wrote: > Hi All, > > > I’ve an uart hardware implemented on Xilinx FPGA image and it connects > to host CPU(Intel based chip) on PCIe bus in Linux platform. > > > The following parameters were fixed or varied when measuring the UART > throughput in internal loopback mode(UART_RX and UART_TX pins were > internally connected): > > > • Uart baud rate > • Parity Bit > • Stop Bit(s) > > > The primary factor affecting UART throughput is the baud rate, apart > from this any other factors affect the UART throughput? > > For 4000000 bps uart baud rate, what should be the theoretical peak > data throughput? Um, you do know what "baud rate" means, right? And how stop bits and parity are related to a baud rate? Throughput all depends on a whole raft of different things. How exactly have you measured this and where did you find any performance bottlenecks? thanks, greg k-h