1 |
Lately it feels like emerge has been getting unusual slow to calculate dependencies. |
2 |
I did a strace while emerge was running and noticed a lot of: |
3 |
|
4 |
stat64("/usr/portage/profiles/base/profile.bashrc", {st_mode=S_IFREG|0644, st_size=183, ...}) = 0 |
5 |
stat64("/usr/portage/profiles/default/linux/profile.bashrc", 0xbfbb02d0) = -1 ENOENT (No such file or directory) |
6 |
stat64("/usr/portage/profiles/arch/base/profile.bashrc", 0xbfbb02d0) = -1 ENOENT (No such file or directory) |
7 |
stat64("/usr/portage/profiles/arch/powerpc/profile.bashrc", 0xbfbb02d0) = -1 ENOENT (No such file or directory) |
8 |
stat64("/usr/portage/profiles/default/linux/powerpc/profile.bashrc", 0xbfbb02d0) = -1 ENOENT (No such file or directory) |
9 |
stat64("/usr/portage/profiles/arch/base/profile.bashrc", 0xbfbb02d0) = -1 ENOENT (No such file or directory) |
10 |
stat64("/usr/portage/profiles/arch/powerpc/profile.bashrc", 0xbfbb02d0) = -1 ENOENT (No such file or directory) |
11 |
stat64("/usr/portage/profiles/arch/powerpc/ppc32/profile.bashrc", 0xbfbb02d0) = -1 ENOENT (No such file or directory) |
12 |
stat64("/usr/portage/profiles/default/linux/powerpc/ppc32/profile.bashrc", 0xbfbb02d0) = -1 ENOENT (No such file or directory) |
13 |
stat64("/usr/portage/profiles/releases/profile.bashrc", 0xbfbb02d0) = -1 ENOENT (No such file or directory) |
14 |
stat64("/usr/portage/profiles/releases/13.0/profile.bashrc", 0xbfbb02d0) = -1 ENOENT (No such file or directory) |
15 |
stat64("/usr/portage/profiles/default/linux/powerpc/ppc32/13.0/profile.bashrc", 0xbfbb02d0) = -1 ENOENT (No such file or directory) |
16 |
stat64("/usr/local/portage/tmv3-target-overlay/profiles/cusfpv3/profile.bashrc", {st_mode=S_IFREG|0644, st_size=133, ...}) = 0 |
17 |
stat64("/etc/portage/profile/profile.bashrc", 0xbfbb02d0) = -1 ENOENT (No such file or directory) |
18 |
access("/usr/local/portage/tmv3-target-overlay/dev-libs/apr/apr-1.5.1-r1.ebuild", R_OK) = -1 ENOENT (No such file or directory) |
19 |
access("/usr/portage/dev-libs/apr/apr-1.5.1-r1.ebuild", R_OK) = 0 |
20 |
stat64("/usr/portage/dev-libs/apr/apr-1.5.1-r1.ebuild", {st_mode=S_IFREG|0644, st_size=4215, ...}) = 0 |
21 |
open("/usr/portage/metadata/md5-cache/dev-libs/apr-1.5.1-r1", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 5 |
22 |
fstat64(5, {st_mode=S_IFREG|0644, st_size=1350, ...}) = 0 |
23 |
ioctl(5, TCGETS, 0xbfbb0d88) = -1 ENOTTY (Inappropriate ioctl for device) |
24 |
fstat64(5, {st_mode=S_IFREG|0644, st_size=1350, ...}) = 0 |
25 |
_llseek(5, 0, [0], SEEK_CUR) = 0 |
26 |
_llseek(5, 0, [0], SEEK_CUR) = 0 |
27 |
_llseek(5, 0, [0], SEEK_CUR) = 0 |
28 |
fstat64(5, {st_mode=S_IFREG|0644, st_size=1350, ...}) = 0 |
29 |
read(5, "DEFINED_PHASES=compile configure"..., 1351) = 1350 |
30 |
read(5, "", 1) = 0 |
31 |
fstat64(5, {st_mode=S_IFREG|0644, st_size=1350, ...}) = 0 |
32 |
close(5) = 0 |
33 |
open("/usr/portage/dev-libs/apr/apr-1.5.1-r1.ebuild", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 5 |
34 |
fstat64(5, {st_mode=S_IFREG|0644, st_size=4215, ...}) = 0 |
35 |
ioctl(5, TCGETS, 0xbfbb0898) = -1 ENOTTY (Inappropriate ioctl for device) |
36 |
fstat64(5, {st_mode=S_IFREG|0644, st_size=4215, ...}) = 0 |
37 |
_llseek(5, 0, [0], SEEK_CUR) = 0 |
38 |
read(5, "# Copyright 1999-2015 Gentoo Fou"..., 32768) = 4215 |
39 |
read(5, "", 24576) = 0 |
40 |
read(5, "", 32768) = 0 |
41 |
close(5) = 0 |
42 |
stat64("/usr/portage/profiles/base/profile.bashrc", {st_mode=S_IFREG|0644, st_size=183, ...}) = 0 |
43 |
stat64("/usr/portage/profiles/default/linux/profile.bashrc", 0xbfbb02d0) = -1 ENOENT (No such file or directory) |
44 |
stat64("/usr/portage/profiles/arch/base/profile.bashrc", 0xbfbb02d0) = -1 ENOENT (No such file or directory) |
45 |
stat64("/usr/portage/profiles/arch/powerpc/profile.bashrc", 0xbfbb02d0) = -1 ENOENT (No such file or directory) |
46 |
stat64("/usr/portage/profiles/default/linux/powerpc/profile.bashrc", 0xbfbb02d0) = -1 ENOENT (No such file or directory) |
47 |
stat64("/usr/portage/profiles/arch/base/profile.bashrc", 0xbfbb02d0) = -1 ENOENT (No such file or directory) |
48 |
stat64("/usr/portage/profiles/arch/powerpc/profile.bashrc", 0xbfbb02d0) = -1 ENOENT (No such file or directory) |
49 |
stat64("/usr/portage/profiles/arch/powerpc/ppc32/profile.bashrc", 0xbfbb02d0) = -1 ENOENT (No such file or directory) |
50 |
stat64("/usr/portage/profiles/default/linux/powerpc/ppc32/profile.bashrc", 0xbfbb02d0) = -1 ENOENT (No such file or directory) |
51 |
stat64("/usr/portage/profiles/releases/profile.bashrc", 0xbfbb02d0) = -1 ENOENT (No such file or directory) |
52 |
stat64("/usr/portage/profiles/releases/13.0/profile.bashrc", 0xbfbb02d0) = -1 ENOENT (No such file or directory) |
53 |
stat64("/usr/portage/profiles/default/linux/powerpc/ppc32/13.0/profile.bashrc", 0xbfbb02d0) = -1 ENOENT (No such file or directory) |
54 |
stat64("/usr/local/portage/tmv3-target-overlay/profiles/cusfpv3/profile.bashrc", {st_mode=S_IFREG|0644, st_size=133, ...}) = 0 |
55 |
stat64("/etc/portage/profile/profile.bashrc", 0xbfbb02d0) = -1 ENOENT (No such file or directory) |
56 |
access("/usr/local/portage/tmv3-target-overlay/dev-libs/apr/apr-1.5.0-r2.ebuild", R_OK) = -1 ENOENT (No such file or directory) |
57 |
access("/usr/portage/dev-libs/apr/apr-1.5.0-r2.ebuild", R_OK) = 0 |
58 |
stat64("/usr/portage/dev-libs/apr/apr-1.5.0-r2.ebuild", {st_mode=S_IFREG|0644, st_size=4047, ...}) = 0 |
59 |
open("/usr/portage/metadata/md5-cache/dev-libs/apr-1.5.0-r2", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 5 |
60 |
fstat64(5, {st_mode=S_IFREG|0644, st_size=1341, ...}) = 0 |
61 |
ioctl(5, TCGETS, 0xbfbb0d88) = -1 ENOTTY (Inappropriate ioctl for device) |
62 |
|
63 |
|
64 |
Could this constant stating of profile.bashrc account for some slowness? |
65 |
|
66 |
Jocke |