<div dir="ltr"><div dir="ltr"><br></div><div dir="ltr"><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, 4 Mar 2022 at 19:48, Greg KH <<a href="mailto:greg@kroah.com" target="_blank">greg@kroah.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On Fri, Mar 04, 2022 at 04:27:50PM +0530, Mithran B wrote:<br>
> Hello,<br>
> <br>
> In Host and Gadget systems, enabled the USB CDC drivers.<br>
> Then nodes are created as /dev/ttyAcm0 and /dev/ttyGs0.<br>
> Then opened the nodes and write and read back the data.<br>
> It is working.<br>
> <br>
> I want to test the performance of this interface and drivers.<br>
> Do we have any utility for this?<br>
> How to do the performance test?<br>
<br>
What exactly do you want to measure?  Determine that first before trying<br>
to find a test for that.  Without knowing what you want to measure, it's<br>
hard to tell you how to measure it :)<br>
<br>
good luck!<br>
<br>
greg k-h<br></blockquote><div><br></div><div>Thank you. </div><div>I want to send the data at the rate of 5mbps from Host device to target device using USB CDC - ACM. </div><div>In termios functions, how to configure this 5mbps as baud rate and USB payload size, i.e. packet</div><div>size to be in 2K bytes. </div><div><br></div><div>How to achieve this?</div><div><br></div><div>-Thanks.</div></div></div>
</div>