Parameters for the PCAN Windows Drivers
Parameters for the PCAN Windows Drivers
Hello,
in the Linux driver (pcanfd_pci.c) there are kernel module options fdirqcl (count_limit) and fdirqtl (time_limit) which allow configuration of interrupt throttling and therefore latency vs. throughput tuning.
Are these parameters configurable in a Windows environment with the driver pcan_pci.sys?
Are there similar parameters for the pcan_usb.sys driver?
Kind Regards,
Martin
in the Linux driver (pcanfd_pci.c) there are kernel module options fdirqcl (count_limit) and fdirqtl (time_limit) which allow configuration of interrupt throttling and therefore latency vs. throughput tuning.
Are these parameters configurable in a Windows environment with the driver pcan_pci.sys?
Are there similar parameters for the pcan_usb.sys driver?
Kind Regards,
Martin
Re: Parameters for the PCAN Windows Drivers
Dear Martin,
no, these parameters are not included (and also not necessary) in the pcan_pci.sys driver but in one of the next driver versions such a feature will be implemented inside our Windows USB driver.
regards
no, these parameters are not included (and also not necessary) in the pcan_pci.sys driver but in one of the next driver versions such a feature will be implemented inside our Windows USB driver.
regards
Re: Parameters for the PCAN Windows Drivers
Hello,
OK, as the count_limit and the time_limit are actually values inside registers of the PCI hardware to control the rate of interrupts I was thinking that the PCI driver can set those in the same way the Linux driver does.
Regarding the Windows USB driver I am looking forward to the new version.
I guess your are you pointing to the fast_fwd (Fast Forward) Feature of the USB hardware the Linux driver is capable of activating. Am I right?
Kind regards,
Martin
OK, as the count_limit and the time_limit are actually values inside registers of the PCI hardware to control the rate of interrupts I was thinking that the PCI driver can set those in the same way the Linux driver does.
Regarding the Windows USB driver I am looking forward to the new version.
I guess your are you pointing to the fast_fwd (Fast Forward) Feature of the USB hardware the Linux driver is capable of activating. Am I right?
Kind regards,
Martin
Re: Parameters for the PCAN Windows Drivers
Hi,
do you have any performance problems with our PCIe Windows driver or what´s the reason for your question?
do you have any performance problems with our PCIe Windows driver or what´s the reason for your question?
Re: Parameters for the PCAN Windows Drivers
Hello,
No, I have no performance issues with the Windows PCIe driver as we are not using PCIe hardware currently, but we are investigating how to improve the latency with the Windows USB driver and hardware.
Therefore we evaluated die PCIe and USB hardware in a Linux environment and found out, that the mentioned parameters (fdirqcl, fdirqtl and fast_fwd) reduce the latency of received CAN messages on both types of hardware by a factor of 10 for PCIe and a factor 5 for USB.
Therefore my question whether further reduction of latency is possible in the Windows drivers (regarding the USB hardware).
King Regards,
Martin
No, I have no performance issues with the Windows PCIe driver as we are not using PCIe hardware currently, but we are investigating how to improve the latency with the Windows USB driver and hardware.
Therefore we evaluated die PCIe and USB hardware in a Linux environment and found out, that the mentioned parameters (fdirqcl, fdirqtl and fast_fwd) reduce the latency of received CAN messages on both types of hardware by a factor of 10 for PCIe and a factor 5 for USB.
Therefore my question whether further reduction of latency is possible in the Windows drivers (regarding the USB hardware).
King Regards,
Martin
Re: Parameters for the PCAN Windows Drivers
Hi,
as already written in a previous post: In one of the next driver versions such a feature will be implemented inside our Windows USB driver.
Unfortunately i can´t tell you any time line for this at the moment.
as already written in a previous post: In one of the next driver versions such a feature will be implemented inside our Windows USB driver.
Unfortunately i can´t tell you any time line for this at the moment.
Re: Parameters for the PCAN Windows Drivers
Hello again,
It now says at https://www.peak-system.com/CAN-Geraete ... 403.0.html:
Can (and if yes, how) the feature be activated via CANAPI4?
Kind Regards,
Martin
It now says at https://www.peak-system.com/CAN-Geraete ... 403.0.html:
Is it also supported for the PCAN-USB X6?The "Fast Forward" feature is now available for PCAN-USB Classic devices
Can (and if yes, how) the feature be activated via CANAPI4?
Kind Regards,
Martin
Re: Parameters for the PCAN Windows Drivers
Hi,
yes, all PCAN FD hardware supports that feature. See parameter CAN_PARAM_IRQ_TIMING in the PCAN-Developer 4 documentation for more details
regards
Michael
yes, all PCAN FD hardware supports that feature. See parameter CAN_PARAM_IRQ_TIMING in the PCAN-Developer 4 documentation for more details
regards
Michael
