mlyszczek commented on PR #6537:
URL: https://github.com/apache/incubator-nuttx/pull/6537#issuecomment-1188088408

   @onegray could you please elaborate more about these performance issues?
   
   Is this because of multiple copying? cpu2 wifi buffer -> ipcc memory -> cpu1 
circ buffer -> cpu1 user space app? circ buf part can be optimized out by 
disabling CONFIG_IPCC_BUFFERED.
   
   Too many interrupts? This also could be optimized by increasing IPCC memory 
and trigger interrupt once specific threshold of memory is occupied. This could 
be done with some open flags, and ioctl(TRIGGER_TX_TRANSACTION) or similar.
   
   We could also do some black magic by exposing pointer to raw IPCC memory via 
ioctl() so userapp could work directly on IPCC memory without copying anything. 
But this is no unix way.
   
   I wrote this driver with ease of use in mind, and character device is the 
easiest I could think of:) I really don't know what is the performance of the 
driver. I am yet to see it when testing with passing lora traffic through it. 
I'm fine with renaming this to ipcc-serial though.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to