[Bug 947664] Re: Unpacking linux-headers unbelievably slow in Lubuntu Precise (Beta 1)

Christian Reis kiko at async.com.br
Tue Sep 25 01:15:55 UTC 2012


On our Precise amd64 nfs-root systems, installing linux-headers is
definitely what takes ages -- the rest of the package upgrades are
always zippy. For some reason, I see 3 different dpkg-deb instances
kicked off:

root     21184  0.0  0.0  16868   772 pts/1    S+   22:05   0:00 dpkg-deb --fsys-tarfile /var/cache/apt/archives/linux-headers-3.2.0-31_3.2.0-31.50_all.deb
root     21185  0.0  0.0  16868   352 pts/1    S+   22:05   0:00 dpkg-deb --fsys-tarfile /var/cache/apt/archives/linux-headers-3.2.0-31_3.2.0-31.50_all.deb
root     21186  0.0  0.0  16872   352 pts/1    S+   22:05   0:00 dpkg-deb --fsys-tarfile /var/cache/apt/archives/linux-headers-3.2.0-31_3.2.0-31.50_all.deb

Stracing 21186:
write(1, "eturn pte;\n}\n\nstatic inline int "..., 4096) = 4096
write(1, "_id));\n}\n\nstatic inline int chp_"..., 4096) = 4096
write(1, "x0100-0x00fc];\t/* 0x00fc */\n\tpsw"..., 4096) = 4096
write(1, "01a0-0x0180];\t/* 0x0180 */\n\tpsw_"..., 4096) = 4096
write(1, "/*\n * Pull in the generic implem"..., 4096) = 4096
(printing about 2-3 lines per second)

Stracing 21185:
write(5, "\306\312\340@\242\334Kg`\273\326f\271\377\330\276%/\224y\301\273\215\327>{\357\244tK\20\340"..., 32768) = 32768
read(3, "0\6R\1\3514\206e\355-Q\255\340+V\340 \374\365\360\226\245\36a\365\7\25266T\2313"..., 32768) = 32768
write(5, "0\6R\1\3514\206e\355-Q\255\340+V\340 \374\365\360\226\245\36a\365\7\25266T\2313"..., 32768) = 32768
(Taking about 5 seconds between lines)

Stracing 21184:
wait4(21186, ^C <unfinished ...>

Is this purely an NFS issue?

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to dpkg in Ubuntu.
https://bugs.launchpad.net/bugs/947664

Title:
  Unpacking linux-headers unbelievably slow in Lubuntu Precise (Beta 1)

Status in “dpkg” package in Ubuntu:
  Confirmed

Bug description:
  The below is an example line in an apt-get dist-upgrade which seems to
  take 30 minutes or more on a 2.1GHz CPU (one core of a quad core
  through Virtualbox). I've been looking at it for ages, and even had
  time to log in here and file the bug  - the line is still 'hung'.

  Unpacking linux-headers-3.2.0-18 (from .../linux-
  headers-3.2.0-18_3.2.0-18.28_all.deb)

  Can anyone explain this, or is it a bug in the configuration of
  Lubuntu, Apt-get or something. I read that there was a similarly
  behaving bug to do with dpkg using paranoid file synchronization but
  this length of delay is frankly a bit crazy.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/dpkg/+bug/947664/+subscriptions




More information about the foundations-bugs mailing list