unity-panel-service uses 3% to 5% of one CPU core all the time
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Unity |
Invalid
|
Undecided
|
Unassigned | ||
unity (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
unity-panel-service sits at between 3% and 5% of one core, all the time. That's up to 50 MIPS! What's it doing?
Only standard indicators used, and most Unity lenses and scopes not installed. Internet access is available and unfiltered. Standard Intel Mobile 4 GPU.
When I set the datetime indicator to show seconds, unity-panel-service uses an additional 1% of CPU. That's 10 million instructions each time the clock ticks!
Sample strace output (most of it looks like this, repeated over and over again, once per second):
futex(0x7fad280
futex(0x7fad280
futex(0x7fad280
recvfrom(3, 0x25896f4, 4096, 0, 0, 0) = -1 EAGAIN (Resource temporarily unavailable)
poll([{fd=4, events=POLLIN}, {fd=3, events=POLLIN}, {fd=10, events=POLLIN}], 3, 481) = 1 ([{fd=4, revents=POLLIN}])
write(7, "\1\0\0\0\0\0\0\0", 8) = 8
futex(0x7fad280
futex(0x7fad280
futex(0x7fad280
recvfrom(3, 0x25896f4, 4096, 0, 0, 0) = -1 EAGAIN (Resource temporarily unavailable)
poll([{fd=4, events=POLLIN}, {fd=3, events=POLLIN}, {fd=10, events=POLLIN}], 3, 478) = 1 ([{fd=4, revents=POLLIN}])
read(4, "\1\0\0\0\0\0\0\0", 16) = 8
recvfrom(3, 0x25896f4, 4096, 0, 0, 0) = -1 EAGAIN (Resource temporarily unavailable)
poll([{fd=4, events=POLLIN}, {fd=3, events=POLLIN}, {fd=10, events=POLLIN}], 3, 478) = 0 (Timeout)
read(4, 0x7fff81ade700, 16) = -1 EAGAIN (Resource temporarily unavailable)
recvfrom(3, 0x25896f4, 4096, 0, 0, 0) = -1 EAGAIN (Resource temporarily unavailable)
poll([{fd=4, events=POLLIN}, {fd=3, events=POLLIN}, {fd=10, events=POLLIN}], 3, 962) = 1 ([{fd=4, revents=POLLIN}])
recvfrom(3, 0x25896f4, 4096, 0, 0, 0) = -1 EAGAIN (Resource temporarily unavailable)
poll([{fd=4, events=POLLIN}, {fd=3, events=POLLIN}, {fd=10, events=POLLIN}], 3, 80) = 1 ([{fd=4, revents=POLLIN}])
read(4, "\1\0\0\0\0\0\0\0", 16) = 8
recvfrom(3, 0x25896f4, 4096, 0, 0, 0) = -1 EAGAIN (Resource temporarily unavailable)
poll([{fd=4, events=POLLIN}, {fd=3, events=POLLIN}, {fd=10, events=POLLIN}], 3, 80) = 0 (Timeout)
read(4, 0x7fff81ade700, 16) = -1 EAGAIN (Resource temporarily unavailable)
write(7, "\1\0\0\0\0\0\0\0", 8) = 8
Changed in unity: | |
status: | New → Confirmed |
Status changed to 'Confirmed' because the bug affects multiple users.