[yocto] CPU Load

2018-03-27 Thread Ryan Meulenkamp

Hi y'all,

I have some questions about CPU load and performance, but first some 
background information.


We have small embedded system running an openembedded classic (Angström) 
distro. Now to get ourselves up-to-date we started working on a new 
iteration of the OS based on openembedded core and Yocto. It is nearly 
finished now, if it weren't for one problem: The CPU load 
(/proc/loadavg) of the core/yocto based OS is more than double that of 
the classic/Angström OS.


So the way I see it this could be caused by a number of factors:

 - loadavg's calculation changed
 - certain newer versions of applications run heavier
 - The kernel itself is heavier (we upgraded from 2.6.35.14+ to 4.9.28+)
  - Possibly caused by some configs
 - ...

My question: is there something that changed since OE-classic that you 
know could be the cause of this? If not, how would I go about finding 
the cause? I don't think the top command is sufficient for this, because 
it's precision is such that many processes' CPU usage just become 0%. 
Also, both top and htop cause huge cpu loads themselves.


Any tips and tricks would be welcome!

Thanks in advance!

Ryan
--
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] Halt problem

2018-01-16 Thread Ryan Meulenkamp


Hi Alan,

On 01/16/2018 08:48 AM, Alan Levy wrote:

Shutdown is supposed to terminate all processes/threads so it's probably not 
about the watchdog daemon. It sounds more like the classic distro was disabling 
the hardware watchdog during shutdown and your new distro doesn't do that. Try 
comparing the kernel watchdog drivers in the two distros because that's the 
most likely culprit.


I tried that, but I think the hardware watchdog can only be enabled on 
the at91sam9m10. I'll compare the drivers anyway.


Thanks, and with kind regards,

Ryan Meulenkamp
--
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] Halt problem

2018-01-15 Thread Ryan Meulenkamp

Hi y'all,

I ran into a problem using shutdown -h (or halt) on an openembedded-core 
(yocto) distro running on the Atmel at91sam9g45.


We used to run an openembedded-classic (angström) based OS with kernel 
version 2.6.35.14+. Here, halting the system would cause it to shutdown 
without resetting, or turning the power off, to await a manual reset.


Now we are building a new distro based on openembedded-core and yocto. 
Halting the system now causes a watchdog intervention. I tried all 
different arguments for both the shutdown and the halt command. It looks 
if though the classic based distro left the watchdog daemon running 
during a halt.


What could be the cause of this problem? In what direction should I look 
(e.g. kernel config, sysvinit config, openembedded config, processor 
specific code etc.)?


I'm not sure if this is the right mailing list to ask this question, but 
I guess one of you could point me in the right direction.


Thanks in advance and kind regards,

Ryan Meulenkamp
--
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto