RES: Question about SIS for RTEMS 5 and timing

Fabrício de Novaes Kucinskis fabricio.kucinskis at
Fri Aug 7 16:40:40 UTC 2020

Thanks for the response, Joel! Hope you’re fine.


It’s been a while since I've used SIS paying attention to its timing. I'm trying it now to make some activities possible at home office, because I’m not allowed to bring lab equipment home :(.


I've recovered some virtual machines we have with previous versions of RTEMS (and hence, SIS), and noticed that:

                * SIS 2.7.5 for RTEMS 4.10 had its timing "correct", or else, one simulated second is near one second;

                * SIS 2.8 for RTEMS 4.11 runs the same application super-fast, as does the current SIS 2.21 for RTEMS 5.


So, it seems that something has changed between versions 2.7.5 and 2.8. As I've stated before, set the "freq" parameter seems to have no effect.


Maybe Jiri - long time no write! - can say if there's a way to get the same "old 2.7.5" timing behavior on the current version?


Thanks again and best regards,




De: Joel Sherrill [mailto:joel at] 
Enviada em: sexta-feira, 7 de agosto de 2020 11:31
Para: Fabrício de Novaes Kucinskis <fabricio.kucinskis at>; Jiri Gaisler <jiri at>
Cc: RTEMS Users <rtems-users at>
Assunto: Re: Question about SIS for RTEMS 5 and timing




On Thu, Aug 6, 2020 at 3:54 PM Fabrício de Novaes Kucinskis <fabricio.kucinskis at <mailto:fabricio.kucinskis at> > wrote:

Hello all, I hope everyone on the list is health and safe.


I’m studying the update of a SPARC project, currently based on RTEMS 4.11, to RTEMS 5.


After installing RTEMS 5, the first thing I did was compile and run, on SIS, a set of example applications.


When calling sparc-rtems5-sis, I noticed that the loaded application run fast as hell, as SIS was just calling one instruction after the other, with no timing concerns – different from what I saw on older versions.


I’ve tried to set the frequency with the “-freq” parameter, but this makes no difference. I also checked the RTEMS SPARC BSP sources, and the CLOCK_SPEED definition inside the trap table is still set to 10, as ever.


Can anyone say what is different between the previous and current SIS versions, and how can I make the applications run with a reasonable timing?


AFAIK sis is cycle accurate for the instructions inside its simulated world. But the erc32 is VERY slow compared to the host processor and simulated code runs incredibly fast. 1 second of erc32 CPU time takes much less time to simulate.


There is a perf command in sis to get the view of the simulated CPU time.


I've cc'ed Jiri so he can add anything.


Thanks in advance and best regards,



users mailing list
users at <mailto:users at>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the users mailing list