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

Brian J. Murrell brian at interlinx.bc.ca
Wed May 30 18:19:11 UTC 2012


On 12-05-30 01:11 PM, Raphaël Hertzog wrote:
> 
> sync_file_range() is something different, it just tells the filesystem to
> start the writeback, it doesn't wait for it to have happened (contrary to
> fsync()).
> 
> So it should be irrelevant for the time lost, unless Linux's NFS driver
> has a poor handling of this Linux-specific function.

Well, I tried NOOPing it with an LD_PRELOAD:

sync_file_range(int fd, off64_t offset, off64_t nbytes,
                unsigned int flags) {

        printf("sync_file_range()\n");
        return 0;
}

but that doesn't seem to have helped performance any.

-- 
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:
  Incomplete

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