Compression and decompression CPU usage in Leon 3

Mohammed Saeed Khoory Mohammed.Khoory at eiast.ae
Tue Jan 13 01:28:16 UTC 2015


This might be a long shot, but are you read/writing directly from/to a filesystem? Or is this compression being performed entirely in memory? 

> -----Original Message-----
> From: users [mailto:users-bounces at rtems.org] On Behalf Of Rafael Morales
> Sent: Tuesday, January 13, 2015 6:33 AM
> To: angelo fraietta; rteMS
> Cc: Carmen Pastor
> Subject: Re: Compression and decompression CPU usage in Leon 3
> 
> 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.
> 
> 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
> >> http://lists.rtems.org/mailman/listinfo/users
> >
> > ---
> > This email has been checked for viruses by Avast antivirus software.
> > http://www.avast.com
> 
> _______________________________________________
> users mailing list
> users at rtems.org
> http://lists.rtems.org/mailman/listinfo/users


More information about the users mailing list