Can bus driver can_transmit gets timeout sometime in high can bus load.
Re: Can bus driver can_transmit gets timeout sometime in high can bus load.
Sure. I really want to know if there is an unresolved issue with this driver too. I will test more but I only moved to this driver 2 days ago. I did test sending two messages on high resolution timer callbacks, both at 1ms intervals with queue size of 5 and saw about 1000 messages per sec from each with no bus errors. The day before I pushed over the 8000 per second when Kvaser cannot keep up.
Re: Can bus driver can_transmit gets timeout sometime in high can bus load.
jcsbanks wrote:Sure. I really want to know if there is an unresolved issue with this driver too. I will test more but I only moved to this driver 2 days ago. I did test sending two messages on high resolution timer callbacks, both at 1ms intervals with queue size of 5 and saw about 1000 messages per sec from each with no bus errors. The day before I pushed over the 8000 per second when Kvaser cannot keep up.
8000 per second works. but 16000 per seconds does not keep up with tx_queue size =100
Re: Can bus driver can_transmit gets timeout sometime in high can bus load.
snahmad75 wrote:jcsbanks wrote:Sure. I really want to know if there is an unresolved issue with this driver too. I will test more but I only moved to this driver 2 days ago. I did test sending two messages on high resolution timer callbacks, both at 1ms intervals with queue size of 5 and saw about 1000 messages per sec from each with no bus errors. The day before I pushed over the 8000 per second when Kvaser cannot keep up.
800 per second works. but 1600 per seconds does not keep up with tx_queue size =100
Re: Can bus driver can_transmit gets timeout sometime in high can bus load.
8000 per second works. but 16000 per seconds does not keep up with tx_queue size =100
800 per second works. but 1600 per seconds does not keep up with tx_queue size =100
800 per second works. but 1600 per seconds does not keep up with tx_queue size =100
Re: Can bus driver can_transmit gets timeout sometime in high can bus load.
Sorry for confusion.WiFive wrote:8000 per second works. but 16000 per seconds does not keep up with tx_queue size =100
800 per second works. but 1600 per seconds does not keep up with tx_queue size =100
I meant this
800 per second works. but 1600 per seconds does not keep up with tx_queue size =100
We found reason. as my application get TCP messages suddenly comings via TCP buffering. in separate thread i transmit all these TCP messages with my 1ms thread cycle. otherwise no issue with can_transmit method if uses in isolation. can driver is stable.
Who is online
Users browsing this forum: No registered users and 95 guests