Hi,
I am using two TI DM8168 and want to transport video YUV data from one to another via PCI-e. As I know, the speed of device itself is very fast.
The demo program just sends 510 bytes every 10 seconds, and I change to sending 4MB(just a example,near to one frame of 1080p) data every second. In RC program,I find that the time cost of following code is about 110 ms:
memset((buf + off_st), value, 4*1024*1024); in put_data_in_local_buffer() used by push_data() in tixx_rc_app.c .
110 ms is too long if I want to send a video in 30fps. I think it`s because memset is a A8 side memory operation. The EP side uses DMA so the time cost is much less(my test result shows less than 15 ms).
How to improve RC side send speed? The limit is from software not hardware.
Regards,
Xiaotao