All of lore.kernel.org
 help / color / mirror / Atom feed
* CAN performance test
@ 2021-03-23  4:31 Joakim Zhang
  2021-03-23  7:26 ` Marc Kleine-Budde
  0 siblings, 1 reply; 2+ messages in thread
From: Joakim Zhang @ 2021-03-23  4:31 UTC (permalink / raw)
  To: Marc Kleine-Budde, linux-can; +Cc: Han Xu


Hi Marc,

Do you know there is some easy ways for us to test CAN performance? I tested it before by hardcode the driver, it's not a good way. Thanks a lot!

Best Regards,
Joakim Zhang


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: CAN performance test
  2021-03-23  4:31 CAN performance test Joakim Zhang
@ 2021-03-23  7:26 ` Marc Kleine-Budde
  0 siblings, 0 replies; 2+ messages in thread
From: Marc Kleine-Budde @ 2021-03-23  7:26 UTC (permalink / raw)
  To: Joakim Zhang; +Cc: linux-can, Han Xu

[-- Attachment #1: Type: text/plain, Size: 741 bytes --]

On 23.03.2021 04:31:41, Joakim Zhang wrote:
> Do you know there is some easy ways for us to test CAN performance? I
> tested it before by hardcode the driver, it's not a good way. Thanks a
> lot!

I usually use cansequence to test TX and RX performance independent of
each other, or canfdtest for a full duplex test.

cansequence sends CAN frames as fast as possible, while canfdtest has
some sleeps to properly interlace the RX and TX path.

regards,
Marc

-- 
Pengutronix e.K.                 | Marc Kleine-Budde           |
Embedded Linux                   | https://www.pengutronix.de  |
Vertretung West/Dortmund         | Phone: +49-231-2826-924     |
Amtsgericht Hildesheim, HRA 2686 | Fax:   +49-5121-206917-5555 |

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-03-23  7:32 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-23  4:31 CAN performance test Joakim Zhang
2021-03-23  7:26 ` Marc Kleine-Budde

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.