Re: uart throughput

From: Greg KH
Date: Thu Apr 05 2018 - 15:20:01 EST


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