Re: libBSD and CPU Load display questions in SMP mode

2018-10-17 Thread Sebastian Huber
On 17/10/2018 09:20, Chris Johns wrote: On 17/10/18 5:17 pm, Sebastian Huber wrote: On 17/10/2018 07:59, Chris Johns wrote: On 17/10/18 4:05 pm, Sebastian Huber wrote: On 17/10/2018 02:46, Chris Johns wrote: On 16/10/2018 19:34, Sebastian Huber wrote: On 16/10/2018 10:28, jameszxj wrote: CP

Re: libBSD and CPU Load display questions in SMP mode

2018-10-17 Thread Chris Johns
On 17/10/18 5:17 pm, Sebastian Huber wrote: > On 17/10/2018 07:59, Chris Johns wrote: >> On 17/10/18 4:05 pm, Sebastian Huber wrote: >>> On 17/10/2018 02:46, Chris Johns wrote: On 16/10/2018 19:34, Sebastian Huber wrote: > On 16/10/2018 10:28, jameszxj wrote: >> CPU:zynq z7020  RTEMS

Re: libBSD and CPU Load display questions in SMP mode

2018-10-16 Thread Sebastian Huber
On 17/10/2018 07:59, Chris Johns wrote: On 17/10/18 4:05 pm, Sebastian Huber wrote: On 17/10/2018 02:46, Chris Johns wrote: On 16/10/2018 19:34, Sebastian Huber wrote: On 16/10/2018 10:28, jameszxj wrote: CPU:zynq z7020  RTEMS version: master version SMP define: #define CONFIGURE_MAXIMUM_PROC

Re: libBSD and CPU Load display questions in SMP mode

2018-10-16 Thread Chris Johns
On 17/10/18 4:05 pm, Sebastian Huber wrote: > On 17/10/2018 02:46, Chris Johns wrote: >> On 16/10/2018 19:34, Sebastian Huber wrote: >>> On 16/10/2018 10:28, jameszxj wrote: CPU:zynq z7020  RTEMS version: master version SMP define: #define CONFIGURE_MAXIMUM_PROCESSORS        2 >

Re: libBSD and CPU Load display questions in SMP mode

2018-10-16 Thread Sebastian Huber
On 17/10/2018 04:17, jameszxj wrote: thanks, 1.I read the c-use doc, but still confused about EDF SCHEDULER. The doc said "All SMP schedulers included in RTEMS are priority based. " Is that mean High priority task always piror low priority task just like Priority SMP Scheduler. But some doc fro

Re: libBSD and CPU Load display questions in SMP mode

2018-10-16 Thread Sebastian Huber
On 17/10/2018 02:46, Chris Johns wrote: On 16/10/2018 19:34, Sebastian Huber wrote: On 16/10/2018 10:28, jameszxj wrote: CPU:zynq z7020  RTEMS version: master version SMP define: #define CONFIGURE_MAXIMUM_PROCESSORS        2 #if 1 #define CONFIGURE_MAXIMUM_PRIORITY 255 #define CONFIGURE_SCHED

Re: libBSD and CPU Load display questions in SMP mode

2018-10-16 Thread Chris Johns
On 17/10/2018 13:17, jameszxj wrote: > 2.I create a patch about top usage to make the display messages look > reasonable, > if someone have time to review it? Could you please create a ticket on the 5.1 milestone and attach the patch? The first page of the wiki at https://devel.rtems.org/ has a

Re: libBSD and CPU Load display questions in SMP mode

2018-10-16 Thread jameszxj
thanks, 1.I read the c-use doc, but still confused about EDF SCHEDULER. The doc said "All SMP schedulers included in RTEMS are priority based. " Is that mean High priority task always piror low priority task just like Priority SMP Scheduler. But some doc from internet said EDF scheduler has a dyn

Re: libBSD and CPU Load display questions in SMP mode

2018-10-16 Thread Chris Johns
On 16/10/2018 19:34, Sebastian Huber wrote: > On 16/10/2018 10:28, jameszxj wrote: >> CPU:zynq z7020  RTEMS version: master version >> SMP define: >> #define CONFIGURE_MAXIMUM_PROCESSORS        2 >> >> #if 1 >> #define CONFIGURE_MAXIMUM_PRIORITY 255 >> >> #define CONFIGURE_SCHEDULER_PRIORITY_SMP >

Re: libBSD and CPU Load display questions in SMP mode

2018-10-16 Thread Sebastian Huber
On 16/10/2018 10:28, jameszxj wrote: Hi,    ask questions again,(◡‿◡) Board infomation: CPU:zynq z7020  RTEMS version: master version SMP define: #define CONFIGURE_MAXIMUM_PROCESSORS        2 #if 1 #define