All of lore.kernel.org
 help / color / mirror / Atom feed
* [Xenomai-help] RT socket CAN architecture
@ 2006-10-18  9:47 Frits de Klark
  2006-10-18 10:43 ` Jan Kiszka
  0 siblings, 1 reply; 3+ messages in thread
From: Frits de Klark @ 2006-10-18  9:47 UTC (permalink / raw)
  To: xenomai

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

Hello everyone,

I'm in the need of a realtime CAN driver which is as fast as possible and at
the same time user-friendly. The RT socket CAN driver looks rather appealing
to me, but I'm wondering if there's any negative impact on speed (in the
context of minimal response times) in using a socket approach.
Also, is there any of you with some testresults?

Thanks very much in advance!

Best regards,

Frits

[-- Attachment #2: Type: text/html, Size: 449 bytes --]

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

* Re: [Xenomai-help] RT socket CAN architecture
  2006-10-18  9:47 [Xenomai-help] RT socket CAN architecture Frits de Klark
@ 2006-10-18 10:43 ` Jan Kiszka
  2006-10-18 10:56   ` Wolfgang Grandegger
  0 siblings, 1 reply; 3+ messages in thread
From: Jan Kiszka @ 2006-10-18 10:43 UTC (permalink / raw)
  To: Frits de Klark; +Cc: xenomai

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

Frits de Klark wrote:
> Hello everyone,
> 
> I'm in the need of a realtime CAN driver which is as fast as possible
> and at
> the same time user-friendly. The RT socket CAN driver looks rather
> appealing
> to me, but I'm wondering if there's any negative impact on speed (in the
> context of minimal response times) in using a socket approach.
> Also, is there any of you with some testresults?

Wolfgang once had some test results (and application code) on
hardware-based loopback latencies, maybe he can post them when time permits.

For sure, twiddling directly with the CAN hardware is always faster than
having generic layer(s) in between, but the impact of the CAN stack is
fairly small, specifically as we have a direct wake-up path from the IRQ
to the application on reception or TX buffer availability.

Do you have any scenario and/or numbers you would like to compare them
against?

Jan


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 250 bytes --]

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

* Re: [Xenomai-help] RT socket CAN architecture
  2006-10-18 10:43 ` Jan Kiszka
@ 2006-10-18 10:56   ` Wolfgang Grandegger
  0 siblings, 0 replies; 3+ messages in thread
From: Wolfgang Grandegger @ 2006-10-18 10:56 UTC (permalink / raw)
  To: Jan Kiszka; +Cc: xenomai

Jan Kiszka wrote:
> Frits de Klark wrote:
>> Hello everyone,
>>
>> I'm in the need of a realtime CAN driver which is as fast as possible
>> and at
>> the same time user-friendly. The RT socket CAN driver looks rather
>> appealing
>> to me, but I'm wondering if there's any negative impact on speed (in the
>> context of minimal response times) in using a socket approach.
>> Also, is there any of you with some testresults?
> 
> Wolfgang once had some test results (and application code) on
> hardware-based loopback latencies, maybe he can post them when time permits.

A while ago I ported the round-trip-test from RTnet. "rtcan_rtt" is a 
simplified version available in rtsocketcan-0.90.0.tar.bz2 at 
ftp://ftp.denx.de/pub/xenomai/rtsocketcan.

> For sure, twiddling directly with the CAN hardware is always faster than
> having generic layer(s) in between, but the impact of the CAN stack is
> fairly small, specifically as we have a direct wake-up path from the IRQ
> to the application on reception or TX buffer availability.
> 
> Do you have any scenario and/or numbers you would like to compare them
> against?

And what platform do you intend to use?

Wolfgang.



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

end of thread, other threads:[~2006-10-18 10:56 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-10-18  9:47 [Xenomai-help] RT socket CAN architecture Frits de Klark
2006-10-18 10:43 ` Jan Kiszka
2006-10-18 10:56   ` Wolfgang Grandegger

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.