Compression and decompression CPU usage in Leon 3
joel.sherrill at oarcorp.com
Mon Jan 12 21:35:47 UTC 2015
On 1/12/2015 3:33 PM, Rafael Morales wrote:
> Dear Angelo,
> Thank you for your response.
> I've checked and there is no critical sections inside code. Just nested
> "for" and memory buffers playing.
Any chance the thread doing the compression is non-preemptible?
> Saludos Rafael.
>> Check that there is not a critical section running within the algorithm
>> On 13/01/2015 5:39 AM, Rafael Morales wrote:
>>> Dear all,
>>> I'm using a Leon 3 with RTEMS 4.10.
>>> When I run a compression/decompression algorithm (zlib or promDecode
>>> from mkprom sources) on KB of data,
>>> my other RTEMS tasks seems to be frozen.
>>> I've tried to put the compression/decompression in a separate task
>>> with low priority, but no luck.
>>> In theory, a more privileged task should stop the compression and
>>> start to run, but I see just the opposite.
>>> Any idea?
>>> Thanks in advance.
>>> users mailing list
>>> users at rtems.org
>> This email has been checked for viruses by Avast antivirus software.
> users mailing list
> users at rtems.org
Joel Sherrill, Ph.D. Director of Research & Development
joel.sherrill at OARcorp.com On-Line Applications Research
Ask me about RTEMS: a free RTOS Huntsville AL 35805
Support Available (256) 722-9985
More information about the users