← Back to team overview

dx-packages team mailing list archive

[Bug 1242229] Re: unity-panel-service uses 3% to 5% of one CPU core all the time

 

** Changed in: unity
       Status: New => Confirmed

-- 
You received this bug notification because you are a member of DX
Packages, which is subscribed to unity in Ubuntu.
Matching subscriptions: dx-packages
https://bugs.launchpad.net/bugs/1242229

Title:
  unity-panel-service uses 3% to 5% of one CPU core all the time

Status in Unity:
  Confirmed
Status in “unity” package in Ubuntu:
  Confirmed

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(0x7fad2800f2b0, FUTEX_WAKE_PRIVATE, 1) = 1
  futex(0x7fad2800eac0, FUTEX_WAKE_PRIVATE, 1) = 1
  futex(0x7fad28004110, FUTEX_WAKE_PRIVATE, 1) = 1
  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(0x7fad2800f2b0, FUTEX_WAKE_PRIVATE, 1) = 1
  futex(0x7fad2800eac0, FUTEX_WAKE_PRIVATE, 1) = 1
  futex(0x7fad28004110, FUTEX_WAKE_PRIVATE, 1) = 1
  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

To manage notifications about this bug go to:
https://bugs.launchpad.net/unity/+bug/1242229/+subscriptions


References