Re: Time spent in ticks...

2016-10-18 Thread Sebastian Huber
- Am 18. Okt 2016 um 18:03 schrieb Jakob Viketoft jakob.viket...@aacmicrotec.com: > Hello Pavel, Joel, Sebastian, > > From: Pavel Pisa [ppisa4li...@pikron.com] > Sent: Thursday, October 13, 2016 19:09 > To: devel@rtems.org > Cc: Jakob Viketoft; j...@rtems.org > Subje

RE: Time spent in ticks...

2016-10-18 Thread Jakob Viketoft
Hello Pavel, Joel, Sebastian, From: Pavel Pisa [ppisa4li...@pikron.com] Sent: Thursday, October 13, 2016 19:09 To: devel@rtems.org Cc: Jakob Viketoft; j...@rtems.org Subject: Re: Time spent in ticks... > Hello Jakob, > ... > the time is measured and timers queue use 64-bit types

Re: Time spent in ticks...

2016-10-14 Thread Sebastian Huber
- Am 13. Okt 2016 um 18:21 schrieb Jakob Viketoft jakob.viket...@aacmicrotec.com: [...] > Even though _Watchdog_Tick() "only" takes ~100 us now, it still sound much > higher than your total tick with a slower system (we're running at 50 MHz). > > Is there anything we can do to improve thes

Re: Time spent in ticks...

2016-10-13 Thread Pavel Pisa
...@rtems.org] > >> *Sent:* Thursday, October 13, 2016 17:38 > >> *To:* Jakob Viketoft > >> *Cc:* devel@rtems.org > >> *Subject:* Re: Time spent in ticks... > >> > >> >I don't have an or1k handy so ran on a sparc/erc32 simulator/ > >

Re: Time spent in ticks...

2016-10-13 Thread Joel Sherrill
*To:* Jakob Viketoft >> *Cc:* devel@rtems.org >> *Subject:* Re: Time spent in ticks... >> >> >I don't have an or1k handy so ran on a sparc/erc32 simulator/ >> >It is is a SPARC v7 at 15 Mhz. >> >> >These times are in microseconds and based on

Re: Time spent in ticks...

2016-10-13 Thread Joel Sherrill
On Thu, Oct 13, 2016 at 11:21 AM, Jakob Viketoft < jakob.viket...@aacmicrotec.com> wrote: > > *From:* Joel Sherrill [j...@rtems.org] > *Sent:* Thursday, October 13, 2016 17:38 > *To:* Jakob Viketoft > *Cc:* devel@rtems.org > *Subject:* Re: Time spent in ticks... > >

Re: Time spent in ticks...

2016-10-13 Thread Pavel Pisa
Hello Jakob, On Thursday 13 of October 2016 18:21:05 Jakob Viketoft wrote: > I re-tested my case using an -O3 optimization (we have been using -O0 > during development for debugging purposes) and I got a good performance > boost, but I'm still nowhere near your numbers. I can vouch for that the >

RE: Time spent in ticks...

2016-10-13 Thread Jakob Viketoft
From: Joel Sherrill [j...@rtems.org] Sent: Thursday, October 13, 2016 17:38 To: Jakob Viketoft Cc: devel@rtems.org Subject: Re: Time spent in ticks... >I don't have an or1k handy so ran on a sparc/erc32 simulator/ >It is is a SPARC v7 at 15 Mhz. >These times are in microseconds an

Re: Time spent in ticks...

2016-10-13 Thread Joel Sherrill
On Thu, Oct 13, 2016 at 3:51 AM, Jakob Viketoft < jakob.viket...@aacmicrotec.com> wrote: > Hello everyone, > > We're running on an or1k-based BSP off of 4.11 (with the patches I've > forwarded in February last year) and have seen some strange sluggishness in > the system. When measuring using a st

Time spent in ticks...

2016-10-13 Thread Jakob Viketoft
Hello everyone, We're running on an or1k-based BSP off of 4.11 (with the patches I've forwarded in February last year) and have seen some strange sluggishness in the system. When measuring using a standalone peripheral clock, I can see that we spend between 0.8 - 1.4 ms just handling the tick.