Forum Discussion
Altera_Forum
Honored Contributor
20 years agoOk. Then I believe DMA might be the only answer for now. Because what I would have to do with this setup would go something like this: I have to read data into a locked array in one thread and then unlock it, copy it and then write it to disk in another thread. The original array would be filled up again right after it was copied. I'm not that knowledgeable about how many cycles taskswitching and arraycopying takes, but I'm afraid that I wouldn't gain anything by doing it that way. What I'm doing now is filling up a smaller array, about 200 bytes and then writing it to disk. I have tried with larger arrays, but it was slower. So I have to settle for this until a DMA might be used.
Ole