Verified. (BTW, I aborted the initial run as it simply took too long so
actual numbers would have been much higher)
root@t:~# apt-cache policy libapt-pkg4.12
libapt-pkg4.12:
Installed: 1.0.1ubuntu2.17
Candidate: 1.0.1ubuntu2.18
Version table:
1.0.1ubuntu2.18 0
500 http://archive.ubuntu.com/ubuntu/ trusty-proposed/main amd64
Packages
*** 1.0.1ubuntu2.17 0
500 http://archive.ubuntu.com/ubuntu/ trusty-updates/main amd64 Packages
500 http://security.ubuntu.com/ubuntu/ trusty-security/main amd64
Packages
100 /var/lib/dpkg/status
1.0.1ubuntu2 0
500 http://archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages
root@t:~# strace -f -c apt-cache search test >/dev/null
Process 2338 attached
^CProcess 2337 detached
Process 2338 detached
% time seconds usecs/call calls errors syscall
------ ----------- ----------- --------- --------- ----------------
50.32 0.827909 3 329234 getrlimit
49.55 0.815234 2 329234 329227 fcntl
0.03 0.000510 10 50 mmap
0.02 0.000407 10 40 open
0.01 0.000225 10 23 mprotect
0.01 0.000212 6 34 read
0.01 0.000209 5 40 close
0.01 0.000202 7 29 fstat
0.01 0.000167 13 13 13 access
0.00 0.000044 6 8 2 stat
0.00 0.000027 14 2 getdents
0.00 0.000018 9 2 munmap
0.00 0.000018 6 3 brk
0.00 0.000016 16 1 execve
0.00 0.000008 8 1 pipe
0.00 0.000007 7 1 openat
0.00 0.000004 4 1 1 lseek
0.00 0.000004 4 1 clone
0.00 0.000003 3 1 1 ioctl
0.00 0.000003 3 1 arch_prctl
0.00 0.000000 0 6 rt_sigaction
------ ----------- ----------- --------- --------- ----------------
100.00 1.645227 658725 329244 total
root@t:~# apt install libapt-pkg4.12
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
libfreetype6 os-prober
Use 'apt-get autoremove' to remove them.
The following packages will be upgraded:
libapt-pkg4.12
1 upgraded, 0 newly installed, 0 to remove and 18 not upgraded.
Need to get 638 kB of archives.
After this operation, 0 B of additional disk space will be used.
Get:1 http://archive.ubuntu.com/ubuntu/ trusty-proposed/main libapt-pkg4.12
amd64 1.0.1ubuntu2.18 [638 kB]
Fetched 638 kB in 0s (687 kB/s)
(Reading database ... 25096 files and directories currently installed.)
Preparing to unpack .../libapt-pkg4.12_1.0.1ubuntu2.18_amd64.deb ...
Unpacking libapt-pkg4.12:amd64 (1.0.1ubuntu2.18) over (1.0.1ubuntu2.17) ...
Setting up libapt-pkg4.12:amd64 (1.0.1ubuntu2.18) ...
Processing triggers for libc-bin (2.19-0ubuntu6.14) ...
# strace -f -c apt-cache search test >/dev/null
Process 2389 attached
Process 2390 attached
Process 2391 attached
% time seconds usecs/call calls errors syscall
------ ----------- ----------- --------- --------- ----------------
21.80 0.002285 10 225 24 stat
14.36 0.001505 68 22 munmap
13.31 0.001395 8 169 24 open
9.96 0.001044 2 644 read
9.44 0.000990 6 162 close
9.21 0.000966 6 154 mmap
5.69 0.000597 6 103 fstat
3.82 0.000401 18 22 getdents
2.41 0.000253 5 53 mprotect
1.64 0.000172 57 3 wait4
1.25 0.000131 12 11 openat
1.17 0.000123 21 6 6 statfs
1.13 0.000118 2 55 fcntl
1.12 0.000117 4 32 31 access
0.73 0.000077 3 23 brk
0.54 0.000057 1 49 3 lseek
0.53 0.000056 19 3 pipe
0.40 0.000042 1 54 write
0.35 0.000037 1 67 umask
0.31 0.000032 4 9 dup2
0.27 0.000028 6 5 5 ioctl
0.25 0.000026 9 3 clone
0.17 0.000018 5 4 arch_prctl
0.13 0.000014 4 4 execve
0.00 0.000000 0 18 rt_sigaction
0.00 0.000000 0 1 msync
------ ----------- ----------- --------- --------- ----------------
100.00 0.010484 1901 93 total
** Tags removed: verification-needed verification-needed-trusty
** Tags added: verification-done verification-done-trusty
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1332440
Title:
apt-get update very slow when ulimit -n is big
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1332440/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs