Discussion:
[fedora-arm] fedora 25 sddm-greeter high CPU
Kevin Faulkner
2016-12-05 03:30:07 UTC
Permalink
Hi I've installed Fedora 25 on my Beaglebone Black for the reasons of
testing packages perhaps doing some quality assurance and helping with
test days. I used the KDE spin and I found that sddm-greeter
constantly consumes high amount of CPU, I can log in and it seem to
kick off KDE and it starts akonadi for a new user. I tried to strace
the process and I found that it calls gettimeofday
frequently, which is expected since it displays the time. I don't have
any explanation about why the CPU is so high. I tried to install
systemtap but I didn't find kernel-debug-core. Is there something else
I should do to debug this, is this a bug and should I report this? I
don't want to waste people's time with a bug that might not be valid
which is why I'm trying to investigate this as much as possible.
I know the beaglebone black doesn't have the greatest resources
available one CPU (1 GHZ) and 512MB RAM and on an sdcard (couldn't
find how to move it to the NAND).

```
ATOP - localhost 2016/12/04 18:54:36 ----------- 1h54m56s elapsed
PRC | sys 2m46s | user 1h50m | #proc 98 | #zombie 0 | no procacct |
CPU | sys 0% | user 0% | irq 100% | idle 0% | wait 0% |
CPL | avg1 1.03 | avg5 1.04 | avg15 1.01 | csw 615469 | intr 1476950 |
MEM | tot 492.2M | free 18.6M | cache 197.1M | buff 29.2M | slab 47.4M |
SWP | tot 488.0M | free 488.0M | | vmcom 627.0M | vmlim 734.1M |
DSK | mmcblk0 | busy 0% | read 6552 | write 2682 | avio 4.85 ms |
DSK | mmcblk1 | busy 0% | read 196 | write 0 | avio 3.24 ms |
NET | transport | tcpi 569 | tcpo 538 | udpi 1456 | udpo 924 |
NET | network | ipi 3497 | ipo 1668 | ipfrw 0 | deliv 2623 |
NET | eth0 0% | pcki 4920 | pcko 1807 | si 0 Kbps | so 0 Kbps |
NET | lo ---- | pcki 42 | pcko 42 | si 0 Kbps | so 0 Kbps |
*** system and process activity since boot ***
PID SYSCPU USRCPU VGROW RGROW RDDSK WRDSK ST EXC S CPU CMD
929 68.88s 1h48m 332.8M 190.9M 62604K 448K N- - R 0% sddm-greeter
857 68.10s 66.86s 83728K 27668K 28120K 12K N- - S 0% Xorg
1 9.24s 2.78s 29980K 8996K 63658K 3028K N- - S 0% systemd
```
_______________________________________________
arm mailing list -- ***@lists.fedoraproject.org
To unsubscrib
Peter Robinson
2016-12-05 03:48:21 UTC
Permalink
Post by Kevin Faulkner
Hi I've installed Fedora 25 on my Beaglebone Black for the reasons of
testing packages perhaps doing some quality assurance and helping with
test days. I used the KDE spin and I found that sddm-greeter
constantly consumes high amount of CPU, I can log in and it seem to
kick off KDE and it starts akonadi for a new user. I tried to strace
the process and I found that it calls gettimeofday
frequently, which is expected since it displays the time. I don't have
any explanation about why the CPU is so high. I tried to install
systemtap but I didn't find kernel-debug-core. Is there something else
I should do to debug this, is this a bug and should I report this? I
don't want to waste people's time with a bug that might not be valid
which is why I'm trying to investigate this as much as possible.
I know the beaglebone black doesn't have the greatest resources
available one CPU (1 GHZ) and 512MB RAM and on an sdcard (couldn't
find how to move it to the NAND).
It's because the display on the BBone isn't accelerated using the GPU
and as KDE is all 3D it has to use the CPU for all the rendering. The
beagle bone is not a good device for graphical userspace.

The BeagleBone has an onobard eMMC (like a soldered mSD card) not NAND
storage. Once you've booted off the mSD card you can using the same
process for writing out an image to the eMMC as you did for writing
the SD card.
_______________________________________________
arm mailing list -- ***@lists.fedoraproject.org
To unsubs
Kevin Faulkner
2016-12-05 03:55:19 UTC
Permalink
Post by Kevin Faulkner
Hi I've installed Fedora 25 on my Beaglebone Black for the reasons of
testing packages perhaps doing some quality assurance and helping with
test days. I used the KDE spin and I found that sddm-greeter
constantly consumes high amount of CPU, I can log in and it seem to
kick off KDE and it starts akonadi for a new user. I tried to strace
the process and I found that it calls gettimeofday
frequently, which is expected since it displays the time. I don't have
any explanation about why the CPU is so high. I tried to install
systemtap but I didn't find kernel-debug-core. Is there something else
I should do to debug this, is this a bug and should I report this? I
don't want to waste people's time with a bug that might not be valid
which is why I'm trying to investigate this as much as possible.
I know the beaglebone black doesn't have the greatest resources
available one CPU (1 GHZ) and 512MB RAM and on an sdcard (couldn't
find how to move it to the NAND).
It's because the display on the BBone isn't accelerated using the GPU
and as KDE is all 3D it has to use the CPU for all the rendering. The
beagle bone is not a good device for graphical userspace.

The BeagleBone has an onobard eMMC (like a soldered mSD card) not NAND
storage. Once you've booted off the mSD card you can using the same
process for writing out an image to the eMMC as you did for writing
the SD card.

Ah thank you Peter I didn't think about KDE trying to display OpenGL I will
consider another device for this, and perhaps us the BeagleBone for
narrowing down the problem or something similar. Thank you for time!
Loading...