imx28 - very high CPU usage, system running slow

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

imx28 - very high CPU usage, system running slow

1,253 次查看
msardar
Contributor I

we are running the linux-fslc kernel 4.9 on imx28 alongside a filesystem built with Yocto (Morty). It seems that any amount of work is 'too much' for the cpu. for example, under idle conditions, top shows 'us' loading of around 15% and 'sy' loading of 3%. As soon as you run any application the loading goes up the roof hitting almost 70% - 80% on trivial tasks. 

Earlier, we found that having kernel debugging was making a significant impact which is now taken care of by disabling all kernel debugging esp. the kernel lock validator. But even with that change the system doesn't look like it is running a 200MIPS CPU at all. very sluggish!!

Some kernel tracing reveals no apparent bottlenecks (e.g scheduler looks fine so do interrupts etc). It seems that the processor it taking longer to execute instructions. note the clocks seem running at the right speed and kernel reports bogomips of 226.09

Has anyone had a similar experience with imx28? any ideas?

0 项奖励
回复
1 回复

1,048 次查看
gusarambula
NXP TechSupport
NXP TechSupport

Hello Msardar,

I would recommend trying an older branch of the Community BSP, as I would expect older branches to be more mature on the i.MX28 porting. Even though Morty has support for the i.MX28 I wouldn’t think it’s very optimized, but you would need to review the patches and notes for that branch.

Hopefully other community users may be able to provide their first hand experience using the Community BSP for the i.MX28.

Regards,

0 项奖励
回复