From mboxrd@z Thu Jan 1 00:00:00 1970 From: gregkh@linuxfoundation.org (Greg KH) Date: Thu, 5 Apr 2018 21:19:53 +0200 Subject: uart throughput In-Reply-To: References: Message-ID: <20180405191953.GA19801@kroah.com> To: kernelnewbies@lists.kernelnewbies.org List-Id: kernelnewbies.lists.kernelnewbies.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