По моим предположениям из прошлой заметки Субъективное сравнение gentoo и centos. ускорения emerge можно достичь уменьшением числа ebuild-ов в дереве portage до минимально необходимого количества т.е. ровно столько сколько ebuild-ов в stage-3 с USE флагами по умолчанию. В дальнейшем такое укороченное дерево portage я для краткости буду называть base.
Если вам интересны результаты добро пожаловать под кат
Постановка задачи.¶
Что будем измерять?
Измерять будем время исполнения команды
emerge --update --newuse --deep @world @system -epv
на официальном дереве portage и на base дереве portage.
Для надежности измерять будем в секундах и будем выполнять по десять замеров для каждого дерева. После каждого замера будем выполнять
sync && echo 3 > /proc/sys/vm/drop_caches
Для получения более детальной информации будем использовать патч на portage увеличивающий его информативность. Оригинальная тема Why has portage become so slow. А сам патч TomWij gist emerg.resolv.time_print.patch Show more verbosely in which part the dependency resolver is busy.
Далее информация о подопытной системе
Версия python
> eselect python list
Available Python interpreters:
[1] python2.7 *
[2] python3.3
И всё остальное
> emerge --info
Portage 2.2.8-r1
(!../../var/portage/base/profiles/default/linux/amd64/13.0, gcc-4.8.2,
glibc-2.17, 3.10.0-123.8.1.el7.x86_64 x86_64)
=================================================================
System uname:
Linux-3.10.0-123.8.1.el7.x86_64-x86_64-Intel-R-_Pentium-R-_Dual_CPU_T3200_@_2.00GHz-with-gentoo-2.2
KiB Mem: 2912836 total, 90024 free
KiB Swap: 5177340 total, 5141200 free
Timestamp of tree: Tue, 28 Oct 2014 15:30:01 +0000
ld GNU ld version 2.23.52.0.1-%{release} 20130226
app-shells/bash: 4.2_p45::base
dev-lang/perl: 5.16.3::base
dev-lang/python: 2.7.5-r3::base, 3.3.3::base
dev-util/pkgconfig: 0.27.1::base
sys-apps/baselayout: 2.2::base
sys-apps/openrc: 0.12.4::base
sys-apps/sandbox: 2.6-r1
sys-devel/autoconf: 2.69::base
sys-devel/automake: 1.13.4::base
sys-devel/binutils: 2.23.52.0.1::base
sys-devel/gcc: 4.8.2::base
sys-devel/gcc-config: 1.7.3::base
sys-devel/libtool: 2.4.2::base
sys-devel/make: 3.82-r4::base
sys-kernel/linux-headers: 3.10::base (virtual/os-headers)
sys-libs/glibc: 2.17::base
Repositories:
gentoo
location: /usr/portage
sync-type: rsync
sync-uri: rsync://rsync.gentoo.org/gentoo-portage
priority: -1000
ABI="amd64"
ABI_X86="64"
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
ACCEPT_PROPERTIES="*"
ACCEPT_RESTRICT="*"
ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci
emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0
intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci"
APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions
alias auth_basic authn_alias authn_anon authn_dbm authn_default
authn_file authz_dbm authz_default authz_groupfile authz_host
authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock
deflate dir disk_cache env expires ext_filter file_cache filter
headers include info log_config logio mem_cache mime mime_magic
negotiation rewrite setenvif speling status unique_id userdir usertrack
vhost_alias"
ARCH="amd64"
AUTOCLEAN="yes"
BOOTSTRAP_USE="cxx unicode internal-glib python_targets_python3_3
python_targets_python2_7 multilib"
CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita
karbon braindump author"
CAMERAS="ptp2"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-mtune=generic -O2 -pipe"
CFLAGS_amd64="-m64"
CFLAGS_x32="-mx32"
CFLAGS_x86="-m32"
CHOST="x86_64-pc-linux-gnu"
CHOST_amd64="x86_64-pc-linux-gnu"
CHOST_x32="x86_64-pc-linux-gnux32"
CHOST_x86="i686-pc-linux-gnu"
CLEAN_DELAY="5"
COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog"
COLLISION_IGNORE="/lib/modules/* *.py[co] *$py.class
*/dropin.cache"
CONFIG_PROTECT="/etc /etc/conf.d /etc/init.d /usr/share/config/kdm
/usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf
/etc/gentoo-release /etc/sandbox.d /etc/skel /etc/terminfo
/lib/modules"
CXXFLAGS="-mtune=generic -O2 -pipe"
DEFAULT_ABI="amd64"
DISPLAY=":0"
DISTDIR="/usr/portage/distfiles"
ELIBC="glibc"
EMERGE_DEFAULT_OPTS="--with-bdeps=y --verbose"
EMERGE_WARNING_DELAY="10"
EPREFIX=""
EROOT="/"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs buildpkg compressdebug
config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync
news parallel-fetch preserve-libs protect-owned sandbox sfperms
splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans
userfetch userpriv usersandbox usersync"
FETCHCOMMAND="wget -t 3 -T 60 --passive-ftp -O "${DISTDIR}/${FILE}"
"${URI}""
FETCHCOMMAND_RSYNC="rsync -avP "${URI}" "${DISTDIR}/${FILE}""
FETCHCOMMAND_SFTP="bash -c "x=${2#sftp://} ; host=${x%%/*} ;
port=${host##*:} ; host=${host%:*} ; [[ ${host} =
${port} ]] && port=22 ; eval "declare -a ssh_opts=(${3})" ;
exec sftp -P ${port} "${ssh_opts[@]}"
"${host}:/${x#*/}" "$1"" sftp "${DISTDIR}/${FILE}"
"${URI}" "${PORTAGE_SSH_OPTS}""
FETCHCOMMAND_SSH="bash -c "x=${2#ssh://} ; host=${x%%/*} ;
port=${host##*:} ; host=${host%:*} ; [[ ${host} =
${port} ]] && port=22 ; exec rsync --rsh="ssh -p${port}
${3}" -avP "${host}:/${x#*/}" "$1"" rsync
"${DISTDIR}/${FILE}" "${URI}" "${PORTAGE_SSH_OPTS}""
FFLAGS="-O2 -pipe"
GCC_SPECS=""
GENTOO_MIRRORS="http://distfiles.gentoo.org"
GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt
gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore
rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx"
GRAPHITE="-floop-interchange -ftree-loop-distribution -floop-strip-mine
-floop-block"
GRUB_PLATFORMS=""
HISTCONTROL="ignoredups"
HISTSIZE="1000"
HOME="/root"
HOSTNAME="localhost.localdomain"
INFINALITY_FT_AUTOHINT_HORIZONTAL_STEM_DARKEN_STRENGTH="10"
INFINALITY_FT_AUTOHINT_INCREASE_GLYPH_HEIGHTS="true"
INFINALITY_FT_AUTOHINT_SNAP_STEM_HEIGHT="100"
INFINALITY_FT_AUTOHINT_VERTICAL_STEM_DARKEN_STRENGTH="25"
INFINALITY_FT_BOLD_EMBOLDEN_X_VALUE="0"
INFINALITY_FT_BOLD_EMBOLDEN_Y_VALUE="0"
INFINALITY_FT_BRIGHTNESS="0"
INFINALITY_FT_CHROMEOS_STYLE_SHARPENING_STRENGTH="0"
INFINALITY_FT_CONTRAST="0"
INFINALITY_FT_FILTER_PARAMS="11 22 38 22 11"
INFINALITY_FT_FRINGE_FILTER_STRENGTH="0"
INFINALITY_FT_GAMMA_CORRECTION="0 100"
INFINALITY_FT_GLOBAL_EMBOLDEN_X_VALUE="0"
INFINALITY_FT_GLOBAL_EMBOLDEN_Y_VALUE="0"
INFINALITY_FT_GRAYSCALE_FILTER_STRENGTH="0"
INFINALITY_FT_STEM_ALIGNMENT_STRENGTH="25"
INFINALITY_FT_STEM_FITTING_STRENGTH="25"
INFINALITY_FT_STEM_SNAPPING_SLIDING_SCALE="40"
INFINALITY_FT_USE_KNOWN_SETTINGS_ON_SELECTED_FONTS="true"
INFINALITY_FT_USE_VARIOUS_TWEAKS="true"
INFINALITY_FT_WINDOWS_STYLE_SHARPENING_STRENGTH="10"
INFOPATH="/usr/share/info:/usr/share/gcc-data/x86_64-pc-linux-gnu/4.8.2/info"
INPUT_DEVICES="keyboard mouse evdev"
IUSE_IMPLICIT="abi_x86_64 prefix"
KERNEL="linux"
LANG="ru_UA.UTF-8"
LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb
ncurses text"
LC_MESSAGES="C"
LDFLAGS="-Wl,-O1 -Wl,--hash-style=gnu -Wl,--sort-common
-Wl,--as-needed"
LDFLAGS_amd64="-m elf_x86_64"
LDFLAGS_x32="-m elf32_x86_64"
LDFLAGS_x86="-m elf_i386"
LESS="-R -M --shift 5"
LESSOPEN="||/usr/bin/lesspipe.sh %s"
LIBDIR_amd64="lib64"
LIBDIR_amd64_fbsd="lib64"
LIBDIR_arm="lib"
LIBDIR_arm64="lib64"
LIBDIR_n32="lib32"
LIBDIR_n64="lib64"
LIBDIR_o32="lib"
LIBDIR_ppc="lib32"
LIBDIR_ppc64="lib64"
LIBDIR_s390="lib32"
LIBDIR_s390x="lib64"
LIBDIR_sparc32="lib32"
LIBDIR_sparc64="lib64"
LIBDIR_x32="libx32"
LIBDIR_x86="lib32"
LIBDIR_x86_fbsd="lib32"
LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer"
LINGUAS="en en_US en_GB ru uk"
LOGNAME="root"
LS_COLORS="rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.axv=01;35:*.anx=01;35:*.ogv=01;35:*.ogx=01;35:*.pdf=00;32:*.ps=00;32:*.txt=00;32:*.patch=00;32:*.diff=00;32:*.log=00;32:*.tex=00;32:*.doc=00;32:*.aac=00;36:*.au=00;36:*.flac=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.axa=00;36:*.oga=00;36:*.spx=00;36:*.xspf=00;36:"
MAIL="/var/spool/mail/root"
MAKEOPTS="-j3 -l2"
MANPATH="/usr/local/share/man:/usr/share/man:/usr/share/gcc-data/x86_64-pc-linux-gnu/4.8.2/man:/usr/share/binutils-data/x86_64-pc-linux-gnu/2.23.52.0.1/man"
MULTILIB_ABIS="amd64 x86"
MULTILIB_STRICT_DENY="64-bit.*shared object"
MULTILIB_STRICT_DIRS="/lib32 /lib /usr/lib32 /usr/lib
/usr/kde/*/lib32 /usr/kde/*/lib /usr/qt/*/lib32 /usr/qt/*/lib
/usr/X11R6/lib32 /usr/X11R6/lib"
MULTILIB_STRICT_EXEMPT="(perl5|gcc|gcc-lib|binutils|eclipse-3|debug|portage|udev|systemd|clang|python-exec)"
MULTIOSDIRS="../lib64:../lib32"
NETBEANS="apisupport cnd groovy gsf harness ide identity j2ee java
mobility nb php profiler soa visualweb webcommon websvccommon xml"
OFFICE_IMPLEMENTATION="libreoffice"
PATH="/usr/lib64/qt-3.3/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin"
PHP_TARGETS="php5-5"
PKGDIR="/usr/portage/packages"
PORTAGE_ARCHLIST="ppc sparc64-freebsd ppc-openbsd x86-openbsd ppc64
x86-winnt x86-fbsd ppc-aix alpha arm x86-freebsd s390 amd64 arm-linux
x86-macos x64-openbsd ia64-hpux hppa x86-netbsd ppc64-linux x86-cygwin
amd64-linux ia64-linux x86 sparc-solaris x64-freebsd sparc64-solaris
x86-linux x64-macos sparc m68k-mint ia64 mips ppc-macos x86-interix
hppa-hpux amd64-fbsd x64-solaris m68k sh arm64 x86-solaris sparc-fbsd"
PORTAGE_BIN_PATH="/usr/lib64/portage/bin"
PORTAGE_COMPRESS_EXCLUDE_SUFFIXES="css gif htm[l]? jp[e]?g js pdf
png"
PORTAGE_CONFIGROOT="/"
PORTAGE_DEBUG="0"
PORTAGE_DEPCACHEDIR="/var/cache/edb/dep"
PORTAGE_ELOG_CLASSES="log warn error"
PORTAGE_ELOG_MAILFROM="portage@localhost"
PORTAGE_ELOG_MAILSUBJECT="[portage] ebuild log for ${PACKAGE} on
${HOST}"
PORTAGE_ELOG_MAILURI="root"
PORTAGE_ELOG_SYSTEM="save_summary:log,warn,error,qa echo"
PORTAGE_FETCH_CHECKSUM_TRY_MIRRORS="5"
PORTAGE_FETCH_RESUME_MIN_SIZE="350K"
PORTAGE_GID="250"
PORTAGE_GPG_SIGNING_COMMAND="gpg --sign --digest-algo SHA256
--clearsign --yes --default-key "${PORTAGE_GPG_KEY}" --homedir
"${PORTAGE_GPG_DIR}" "${FILE}""
PORTAGE_INST_GID="0"
PORTAGE_INST_UID="0"
PORTAGE_INTERNAL_CALLER="1"
PORTAGE_OVERRIDE_EPREFIX=""
PORTAGE_PYM_PATH="/usr/lib64/portage/pym"
PORTAGE_PYTHONPATH="/usr/lib64/portage/pym"
PORTAGE_REPOSITORIES="[DEFAULT]
main-repo = gentoo
[gentoo]
location = /usr/portage
masters =
priority = -1000
sync-type = rsync
sync-uri = rsync://rsync.gentoo.org/gentoo-portage
"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times
--omit-dir-times --compress --force --whole-file --delete --stats
--human-readable --timeout=180 --exclude=/distfiles --exclude=/local
--exclude=/packages"
PORTAGE_RSYNC_RETRIES="-1"
PORTAGE_SYNC_STALE="30"
PORTAGE_TMPDIR="/var/tmp"
PORTAGE_VERBOSE="1"
PORTAGE_WORKDIR_MODE="0700"
PORTAGE_XATTR_EXCLUDE="security.* system.nfs4_acl"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
PORT_LOGDIR_CLEAN="find "${PORT_LOGDIR}" -type f ! -name
"summary.log*" -mtime +7 -delete"
PROFILE_ONLY_VARIABLES="ARCH ELIBC IUSE_IMPLICIT KERNEL USERLAND
USE_EXPAND_IMPLICIT USE_EXPAND_UNPREFIXED USE_EXPAND_VALUES_ARCH
USE_EXPAND_VALUES_ELIBC USE_EXPAND_VALUES_KERNEL
USE_EXPAND_VALUES_USERLAND"
PWD="/"
PYTHONDONTWRITEBYTECODE="1"
PYTHON_SINGLE_TARGET="python2_7"
PYTHON_TARGETS="python2_7 python3_3"
QTDIR="/usr/lib64/qt-3.3"
QTINC="/usr/lib64/qt-3.3/include"
QTLIB="/usr/lib64/qt-3.3/lib"
QT_GRAPHICSSYSTEM_CHECKED="1"
RESUMECOMMAND="wget -c -t 3 -T 60 --passive-ftp -O
"${DISTDIR}/${FILE}" "${URI}""
RESUMECOMMAND_RSYNC="rsync -avP "${URI}" "${DISTDIR}/${FILE}""
RESUMECOMMAND_SSH="bash -c "x=${2#ssh://} ; host=${x%%/*} ;
port=${host##*:} ; host=${host%:*} ; [[ ${host} =
${port} ]] && port=22 ; exec rsync --rsh="ssh -p${port}
${3}" -avP "${host}:/${x#*/}" "$1"" rsync
"${DISTDIR}/${FILE}" "${URI}" "${PORTAGE_SSH_OPTS}""
ROOT="/"
ROOTPATH="/opt/bin:/usr/x86_64-pc-linux-gnu/gcc-bin/4.8.2"
RPMDIR="/usr/portage/rpm"
RUBY_TARGETS="ruby19 ruby20"
SHELL="/bin/bash"
SHLVL="3"
SYMLINK_LIB="yes"
SYSTEMD_LESS="FRSM --shift 5"
TERM="rxvt-unicode-256color"
UNINSTALL_IGNORE="/lib/modules/*"
USE="acl amd64 berkdb bindist bzip2 cli cracklib crypt cxx dri fortran
gdbm iconv ipv6 mmx modules multilib ncurses nls nptl openmp pam pcre
readline session sse sse2 ssl tcpd unicode zlib" ABI_X86="64"
ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci
emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0
intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci"
APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions
alias auth_basic authn_alias authn_anon authn_dbm authn_default
authn_file authz_dbm authz_default authz_groupfile authz_host
authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock
deflate dir disk_cache env expires ext_filter file_cache filter
headers include info log_config logio mem_cache mime mime_magic
negotiation rewrite setenvif speling status unique_id userdir usertrack
vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage
tables krita karbon braindump author" CAMERAS="ptp2"
COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog"
ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18
garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver
oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate
tnt ublox ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux"
LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb
ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console
presenter-minimizer" LINGUAS="en en_US en_GB ru uk"
OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5"
PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7
python3_3" RUBY_TARGETS="ruby19 ruby20" USERLAND="GNU"
VIDEO_CARDS="fbdev glint intel mach64 mga nouveau nv r128 radeon savage
sis tdfx trident vesa via vmware dummy v4l" XTABLES_ADDONS="quota2 psd
pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition
tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos
account"
USER="root"
USERLAND="GNU"
USE_EXPAND="ABI_MIPS ABI_PPC ABI_S390 ABI_X86 ALSA_CARDS
APACHE2_MODULES APACHE2_MPMS CALLIGRA_FEATURES CAMERAS
COLLECTD_PLUGINS CROSSCOMPILE_OPTS CURL_SSL DRACUT_MODULES
DVB_CARDS ELIBC ENLIGHTENMENT_MODULES FCDSL_CARDS FFTOOLS
FOO2ZJS_DEVICES FRITZCAPI_CARDS GPSD_PROTOCOLS GRUB_PLATFORMS
INPUT_DEVICES KERNEL LCD_DEVICES LIBREOFFICE_EXTENSIONS LINGUAS
LIRC_DEVICES MONKEYD_PLUGINS NETBEANS_MODULES NGINX_MODULES_HTTP
NGINX_MODULES_MAIL OFED_DRIVERS OFFICE_IMPLEMENTATION
OPENMPI_FABRICS OPENMPI_OFED_FEATURES OPENMPI_RM PHP_TARGETS
PYTHON_SINGLE_TARGET PYTHON_TARGETS QEMU_SOFTMMU_TARGETS
QEMU_USER_TARGETS RUBY_TARGETS SANE_BACKENDS USERLAND UWSGI_PLUGINS
VIDEO_CARDS VOICEMAIL_STORAGE XFCE_PLUGINS XTABLES_ADDONS"
USE_EXPAND_HIDDEN="ABI_MIPS ABI_PPC ABI_S390 CROSSCOMPILE_OPTS
ELIBC KERNEL USERLAND"
USE_EXPAND_IMPLICIT="ARCH ELIBC KERNEL USERLAND"
USE_EXPAND_UNPREFIXED="ARCH"
USE_EXPAND_VALUES_ARCH="alpha amd64 amd64-fbsd amd64-linux arm
arm-linux arm64 hppa hppa-hpux ia64 ia64-hpux ia64-linux m68k m68k-mint
mips ppc ppc64 ppc64-linux ppc-aix ppc-macos ppc-openbsd s390 sh sparc
sparc64-freebsd sparc64-solaris sparc-fbsd sparc-solaris x64-freebsd
x64-macos x64-openbsd x64-solaris x86 x86-cygwin x86-fbsd x86-freebsd
x86-interix x86-linux x86-macos x86-netbsd x86-openbsd x86-solaris
x86-winnt"
USE_EXPAND_VALUES_ELIBC="AIX Cygwin Darwin DragonFly FreeBSD glibc
HPUX Interix mintlib musl NetBSD OpenBSD SunOS uclibc Winnt"
USE_EXPAND_VALUES_KERNEL="AIX Cygwin Darwin FreeBSD freemint HPUX
Interix linux NetBSD OpenBSD SunOS Winnt"
USE_EXPAND_VALUES_USERLAND="BSD GNU"
USE_ORDER="env:pkg:conf:defaults:pkginternal:repo:env.d"
VIDEO_CARDS="fbdev glint intel mach64 mga nouveau nv r128 radeon
savage sis tdfx trident vesa via vmware dummy v4l"
XAUTHORITY="/root/.xauthDZmnDS"
XDG_SEAT="seat0"
XDG_SESSION_ID="1"
XDG_VTNR="1"
XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset
ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark
ipmark dhcpmac delude chaos account"
_="/usr/bin/emerge"
autopatch_into_phase="post_src_prepare"
bashrc_modules="autopatch"
Как вы смогли заметить это не совсем обычный amd64 stage-3. Необычен он тем фактом, что он сам создан уже не на основе официальных portage а на основе base portage.
Сам amd64 stage-3 можно найти вот там. Внимание он не содержит никакого дерева portage.
Сам stage-3 содержит:
> emerge --update --newuse --deep @world @system -epv
!!! Section 'gentoo' in repos.conf has location attribute set to
nonexistent directory: '/usr/portage'
!!! Invalid Repository Location (not a dir): '/usr/portage'
These are the packages that would be merged, in order:
2014-10-28 17:28:29: Calculating dependencies |
2014-10-28 17:28:30: Adding root packages /
2014-10-28 17:28:31: Processing dependencies /
2014-10-28 17:28:36: Checking for slot conflicts
2014-10-28 17:28:36: Trying to accept blocker conflicts
2014-10-28 17:28:36: Resolving slot conflicts for complete graph -
2014-10-28 17:28:36: Processing slot conflicts
2014-10-28 17:28:36: Triggering slot operator reinstalls
2014-10-28 17:28:36: Validating blockers |
2014-10-28 17:28:37: Checking for blocker conflicts
2014-10-28 17:28:37: Checking for rebuild triggers
2014-10-28 17:28:37: Checking if restart is needed
2014-10-28 17:28:37: Checking if we have to prune rebuilds
2014-10-28 17:28:37: Checking if restart is needed
2014-10-28 17:28:37: Checking for parameters that change behavior
2014-10-28 17:28:37: Checking for changes that are needed... done!
[ebuild R ] virtual/libintl-0::base 0 kB
[ebuild R ] sys-libs/ncurses-5.9-r2:5::base USE="cxx unicode -ada -debug -doc -gpm -minimal -profile -static-libs -tinfo -trace" 2,761 kB
[ebuild R ] app-arch/bzip2-1.0.6-r3::base USE="-static -static-libs" 764 kB
[ebuild R ] sys-devel/gnuconfig-20131128::base 45 kB
[ebuild R ] sys-libs/gdbm-1.10::base USE="berkdb -exporter -static-libs" 641 kB
[ebuild R ] app-misc/mime-types-9::base 16 kB
[ebuild R ] sys-apps/baselayout-2.2::base USE="-build" 40 kB
[ebuild R ] sys-devel/patch-2.7.1-r3::base USE="(-selinux) -static {-test} -xattr" 661 kB
[ebuild R ] sys-devel/gcc-config-1.7.3::base 15 kB
[ebuild R ] app-misc/editor-wrapper-4::base 0 kB
[ebuild R ] sys-devel/binutils-config-3-r3::base 0 kB
[ebuild R ] dev-libs/libffi-3.0.13-r2::base USE="-debug -pax_kernel -static-libs {-test}" 826 kB
[ebuild R ] sys-apps/tcp-wrappers-7.6-r8::base USE="ipv6" 113 kB
[ebuild R ] sys-apps/which-2.20-r1::base 133 kB
[ebuild R ] app-text/sgml-common-0.6.3-r5::base 126 kB
[ebuild R ] sys-devel/automake-wrapper-9::base 0 kB
[ebuild R ] sys-libs/readline-6.2_p1::base 2,226 kB
[ebuild R ] virtual/libffi-3.0.11::base 0 kB
[ebuild R ] app-arch/unzip-6.0-r3::base USE="bzip2 unicode -natspec" 1,345 kB
[ebuild R ] sys-apps/debianutils-4.4::base USE="-static" 266 kB
[ebuild R ] virtual/os-headers-0::base 0 kB
[ebuild R ] sys-apps/sysvinit-2.88-r7::base USE="(-ibm) (-selinux) -static" 104 kB
[ebuild R ] virtual/perl-File-Spec-3.400.0::base 0 kB
[ebuild R ] virtual/dev-manager-0::base 0 kB
[ebuild R ] virtual/man-0-r1::base 0 kB
[ebuild R ] app-i18n/man-pages-ru-3.54.2171.1790.20131020::base 747 kB
[ebuild R ] sys-apps/man-pages-posix-2013a::base 909 kB
[ebuild R ] sys-apps/man-pages-3.53::base USE="nls" LINGUAS="ru -da -de -fr -it -ja -nl -pl -ro -zh_CN" 1,146 kB
[ebuild R ] virtual/pam-0::base 0 kB
[ebuild R ] sys-apps/kbd-1.15.5-r1::base USE="nls pam" 1,691 kB
[ebuild R ] virtual/acl-0-r1::base USE="-static-libs" 0 kB
[ebuild R ] app-admin/python-updater-0.11::base 10 kB
[ebuild R ] app-admin/eselect-python-20111108::base 64 kB
[ebuild R ] virtual/shadow-0::base 0 kB
[ebuild R ] app-admin/perl-cleaner-2.16::base 6 kB
[ebuild R ] app-misc/ca-certificates-20130906::base 181 kB
[ebuild R ] net-misc/netifrc-0.1::base 52 kB
[ebuild R ] virtual/perl-version-0.990.100::base 0 kB
[ebuild R ] virtual/perl-Scalar-List-Utils-1.270.0::base 0 kB
[ebuild R ] virtual/perl-Locale-Maketext-Simple-0.210.0-r2::base 0 kB
[ebuild R ] virtual/perl-Parse-CPAN-Meta-1.440.400::base 0 kB
[ebuild R ] virtual/perl-CPAN-Meta-YAML-0.8.0::base 0 kB
[ebuild R ] app-text/docbook-xsl-stylesheets-1.78.0::base USE="-ruby" 4,894 kB
[ebuild R ] app-text/docbook-xml-dtd-4.1.2-r6:4.1.2::base 74 kB
[ebuild R ] virtual/perl-ExtUtils-CBuilder-0.280.205::base 0 kB
[ebuild R ] virtual/perl-Perl-OSType-1.2.0-r1::base 0 kB
[ebuild R ] virtual/perl-Params-Check-0.360.0::base 0 kB
[ebuild R ] virtual/perl-Module-Metadata-1.0.6::base 0 kB
[ebuild R ] virtual/perl-File-Temp-0.220.0-r2::base 0 kB
[ebuild R ] virtual/perl-JSON-PP-2.272.0-r1::base 0 kB
[ebuild R ] virtual/perl-CPAN-Meta-2.120.921::base 0 kB
[ebuild R ] virtual/perl-ExtUtils-MakeMaker-6.640.0::base 0 kB
[ebuild R ] virtual/perl-Module-Build-0.400.300::base 0 kB
[ebuild R ] virtual/perl-Test-Harness-3.260.0::base 0 kB
[ebuild R ] virtual/perl-Archive-Tar-1.900.0::base 0 kB
[ebuild R ] virtual/perl-Package-Constants-0.20.0-r2::base 0 kB
[ebuild R ] virtual/perl-IO-Compress-2.60.0::base 0 kB
[ebuild R ] virtual/perl-Compress-Raw-Bzip2-2.60.0::base 0 kB
[ebuild R ] virtual/perl-Compress-Raw-Zlib-2.60.0::base 0 kB
[ebuild R ] virtual/perl-IO-Zlib-1.100.0-r2::base 0 kB
[ebuild R ] virtual/perl-ExtUtils-ParseXS-3.180.0::base 0 kB
[ebuild R ] virtual/perl-IPC-Cmd-0.780.0::base 0 kB
[ebuild R ] virtual/perl-Module-Load-Conditional-0.540.0::base 0 kB
[ebuild R ] virtual/perl-Module-CoreList-2.840.0::base 0 kB
[ebuild R ] virtual/perl-Module-Load-0.240.0::base 0 kB
[ebuild R ] virtual/perl-CPAN-Meta-Requirements-2.122.0::base 0 kB
[ebuild R ] virtual/perl-ExtUtils-Manifest-1.610.0::base 0 kB
[ebuild R ] virtual/perl-ExtUtils-Install-1.540.0::base 0 kB
[ebuild R ] virtual/perl-ExtUtils-Command-1.170.0-r3::base 0 kB
[ebuild R ] virtual/perl-Test-Simple-0.980.0-r2::base 0 kB
[ebuild R ] virtual/perl-IO-1.25::base 0 kB
[ebuild R ] dev-lang/perl-5.16.3:0/5.16::base USE="berkdb gdbm -debug -doc -ithreads" 13,420 kB
[ebuild R ] dev-perl/Text-Unidecode-0.40.0::base 101 kB
[ebuild R ] dev-perl/libintl-perl-1.200.0::base 489 kB
[ebuild R ] dev-perl/Unicode-EastAsianWidth-1.330.0::base 31 kB
[ebuild R ] perl-core/File-Spec-3.400.0::base 137 kB
[ebuild R ] dev-perl/SGMLSpm-1.03-r7::base 92 kB
[ebuild R ] dev-perl/TermReadKey-2.300.200::base 37 kB
[ebuild R ] dev-perl/Text-CharWidth-0.40.0::base 9 kB
[ebuild R ] perl-core/Module-Build-0.400.300::base USE="{-test}" 301 kB
[ebuild R ] perl-core/version-0.990.100::base 105 kB
[ebuild R ] perl-core/Test-Harness-3.260.0::base 288 kB
[ebuild R ] perl-core/Archive-Tar-1.900.0::base 57 kB
[ebuild R ] perl-core/IO-Compress-2.60.0::base 238 kB
[ebuild R ] perl-core/Compress-Raw-Bzip2-2.60.0::base 133 kB
[ebuild R ] perl-core/Scalar-List-Utils-1.270.0::base 68 kB
[ebuild R ] perl-core/ExtUtils-ParseXS-3.180.0::base 62 kB
[ebuild R ] perl-core/ExtUtils-CBuilder-0.280.205::base 34 kB
[ebuild R ] perl-core/IPC-Cmd-0.780.0::base 27 kB
[ebuild R ] perl-core/Params-Check-0.360.0::base 12 kB
[ebuild R ] perl-core/Module-Load-Conditional-0.540.0::base 13 kB
[ebuild R ] perl-core/Module-Metadata-1.0.6::base 23 kB
[ebuild R ] perl-core/Module-CoreList-2.840.0::base 59 kB
[ebuild R ] perl-core/Module-Load-0.240.0::base 6 kB
[ebuild R ] perl-core/Parse-CPAN-Meta-1.440.400::base 8 kB
[ebuild R ] perl-core/CPAN-Meta-YAML-0.8.0::base 31 kB
[ebuild R ] perl-core/CPAN-Meta-2.120.921::base 75 kB
[ebuild R ] perl-core/CPAN-Meta-Requirements-2.122.0::base 21 kB
[ebuild R ] perl-core/ExtUtils-MakeMaker-6.640.0::base 412 kB
[ebuild R ] perl-core/ExtUtils-Manifest-1.610.0::base 29 kB
[ebuild R ] perl-core/ExtUtils-Install-1.540.0::base 66 kB
[ebuild R ] perl-core/IO-1.25::base 52 kB
[ebuild R ] dev-perl/Text-WrapI18N-0.60.0::base 4 kB
[ebuild R ] sys-devel/gettext-0.18.2::base USE="acl cxx ncurses nls openmp -cvs -doc -emacs -git -java -static-libs" 15,330 kB
[ebuild R ] sys-apps/sed-4.2.2::base USE="acl nls (-selinux) -static" 1,035 kB
[ebuild R ] sys-devel/make-3.82-r4::base USE="nls -static" 1,214 kB
[ebuild R ] sys-apps/findutils-4.5.11::base USE="nls (-selinux) -static" 3,044 kB
[ebuild R ] dev-libs/popt-1.13::base USE="nls -static-libs" 667 kB
[ebuild R ] sys-apps/gawk-4.0.2::base USE="nls readline" 1,589 kB
[ebuild R ] app-arch/gzip-1.5::base USE="nls -pic -static" 705 kB
[ebuild R ] dev-perl/Locale-gettext-1.50.0::base 8 kB
[ebuild R ] app-text/opensp-1.5.2-r3::base USE="nls -doc -static-libs {-test}" 1,486 kB
[ebuild R ] dev-libs/libgpg-error-1.12::base USE="nls -common-lisp -static-libs" 478 kB
[ebuild R ] sys-apps/help2man-1.43.3::base USE="nls" 195 kB
[ebuild R ] sys-apps/coreutils-8.22::base USE="acl nls -caps -gmp (-selinux) -static -vanilla -xattr" 5,259 kB
[ebuild R ] sys-libs/zlib-1.2.8-r1::base USE="-minizip -static-libs" ABI_X86="(64) (-32) (-x32)" 558 kB
[ebuild R ] app-arch/xz-utils-5.1.2_alpha::base [5.0.5-r1::gentoo] USE="nls threads -static-libs" ABI_X86="(64) (-32) (-x32)" 1,286 kB
[ebuild R ] virtual/libiconv-0-r1::base ABI_X86="(64) (-32) (-x32)" 0 kB
[ebuild R ] dev-libs/expat-2.1.0-r3::base USE="unicode -examples -static-libs" ABI_X86="(64) (-32) (-x32)" 550 kB
[ebuild R ] app-misc/pax-utils-0.8.1::base USE="-caps -python" 93 kB
[ebuild R ] sys-apps/texinfo-5.1::base USE="nls -static" 3,665 kB
[ebuild R ] sys-apps/file-5.11::base USE="zlib -python -static-libs" PYTHON_TARGETS="python2_7 python3_3 -pypy2_0 -python2_6 (-python3_2)" 596 kB
[ebuild R ] sys-libs/cracklib-2.9.0::base USE="nls zlib -python -static-libs {-test}" PYTHON_TARGETS="python2_7 -python2_6" 5,545 kB
[ebuild R ] sys-kernel/linux-headers-3.10::base 3,563 kB
[ebuild R ] sys-apps/diffutils-3.3::base USE="nls -static" 1,170 kB
[ebuild R ] sys-devel/m4-1.4.16::base USE="-examples" 982 kB
[ebuild R ] app-portage/portage-utils-0.53::base USE="nls -static" 395 kB
[ebuild R ] dev-perl/XML-Parser-2.410.0::base 233 kB
[ebuild R ] perl-core/Compress-Raw-Zlib-2.60.0::base 231 kB
[ebuild R ] dev-libs/openssl-1.0.1j::base USE="bindist (sse2) tls-heartbeat zlib -gmp -kerberos -rfc3779 -static-libs {-test} -vanilla" ABI_X86="(64) (-32) (-x32)" 4,334 kB
[ebuild R ] dev-libs/gmp-5.1.1::base USE="cxx -doc -pgo -static-libs" 1,771 kB
[ebuild R ] app-admin/eselect-1.4.1::base USE="-doc -emacs -vim-syntax" 165 kB
[ebuild R ] sys-devel/autoconf-2.69:2.5::base USE="-emacs (-multislot)" 1,187 kB
[ebuild R ] sys-devel/flex-2.5.37::base USE="nls -static {-test}" 1,273 kB
[ebuild R ] dev-util/intltool-0.50.2-r1::base 186 kB
[ebuild R ] dev-libs/mpfr-3.1.2-r1::base USE="-static-libs" 1,050 kB
[ebuild R ] sys-apps/attr-2.4.46::base USE="nls -static-libs" ABI_X86="(64) (-32) (-x32)" 331 kB
[ebuild R ] sys-devel/automake-1.13.4:1.13::base 1,416 kB
[ebuild R ] sys-devel/bison-2.7::base USE="nls -static" 1,735 kB
[ebuild R ] dev-libs/elfutils-0.158::base USE="bzip2 nls utils zlib -lzma -static-libs {-test} (-threads)" ABI_X86="(64) (-32) (-x32)" 4,938 kB
[ebuild R ] sys-apps/acl-2.2.51::base USE="nls (-nfs) -static-libs" 377 kB
[ebuild R ] dev-libs/mpc-1.0.1::base USE="-static-libs" 610 kB
[ebuild R ] sys-devel/libtool-2.4.2:2::base USE="-static-libs {-test} -vanilla" 849 kB
[ebuild R ] virtual/yacc-0::base 0 kB
[ebuild R ] sys-devel/binutils-2.23.52.0.1::base USE="cxx nls zlib (-multislot) -multitarget -static-libs {-test} -vanilla" 14,003 kB
[ebuild R ] app-shells/bash-4.2_p45::base USE="net nls (readline) -afs -bashlogger -examples -mem-scramble -plugins -vanilla" 6,953 kB
[ebuild R ] sys-process/psmisc-22.20::base USE="ipv6 nls -X (-selinux)" 423 kB
[ebuild R ] sys-apps/groff-1.22.2::base USE="-X -examples" LINGUAS="-ja" 3,926 kB
[ebuild R ] app-arch/tar-1.26-r1::base USE="nls -minimal -static -xattr" 2,285 kB
[ebuild R ] app-text/openjade-1.3.2-r6::base USE="-static-libs" 874 kB
[ebuild R ] dev-libs/libgcrypt-1.5.3:0/11::base USE="-static-libs" 1,474 kB
[ebuild R ] sys-libs/db-4.8.30:4.8::base USE="cxx -doc -examples -java -tcl {-test}" 22,351 kB
[ebuild R ] dev-util/gtk-doc-am-1.20::base 629 kB
[ebuild R ] dev-libs/libxml2-2.9.1-r1:2::base USE="ipv6 readline -debug -examples -icu -lzma -python -static-libs {-test}" PYTHON_TARGETS="python2_7 python3_3 -python2_6 (-python3_2)" 5,052 kB
[ebuild R ] dev-libs/libxslt-1.1.28-r1::base USE="crypt -debug -python -static-libs" PYTHON_TARGETS="python2_7 -python2_6" 3,356 kB
[ebuild R ] app-text/po4a-0.45-r1::base USE="{-test}" 2,158 kB
[ebuild R ] dev-libs/glib-2.36.4-r1:2::base USE="-debug (-fam) (-selinux) -static-libs -systemtap {-test} -utils -xattr" ABI_X86="(64) (-32) (-x32)" PYTHON_TARGETS="python2_7 -python2_6" 8,303 kB
[ebuild R ] dev-util/pkgconfig-0.27.1::base USE="-hardened -internal-glib" 1,864 kB
[ebuild R ] virtual/pkgconfig-0::base 0 kB
[ebuild R ] dev-libs/libpcre-8.33:3::base USE="bzip2 cxx jit readline recursion-limit (unicode) zlib -libedit -pcre16 -pcre32 -static-libs" 1,408 kB
[ebuild R ] sys-apps/kmod-16::base USE="openrc tools zlib -debug -doc -lzma -static-libs" 1,408 kB
[ebuild R ] net-misc/rsync-3.0.9-r3::base USE="acl iconv ipv6 -static -xattr" 775 kB
[ebuild R ] sys-libs/e2fsprogs-libs-1.42.9::base USE="nls -static-libs" ABI_X86="(64) (-32) (-x32)" 561 kB
[ebuild R ] dev-libs/libpipeline-1.2.4::base USE="-static-libs {-test}" 747 kB
[ebuild R ] dev-lang/python-3.3.3:3.3::base USE="gdbm ipv6 ncurses readline ssl threads xml -build -doc -examples -hardened -sqlite -tk -wininst" 11,788 kB
[ebuild R ] dev-lang/python-2.7.5-r3:2.7::base USE="gdbm ipv6 ncurses readline ssl threads (wide-unicode) xml -berkdb -build -doc -examples -hardened -sqlite -tk -wininst" 10,026 kB
[ebuild R ] app-editors/nano-2.3.1::base USE="magic ncurses nls unicode -debug -justify -minimal -slang -spell" 1,587 kB
[ebuild R ] sys-apps/net-tools-1.60_p20130513023548-r1::base USE="nls -old-output (-selinux) -static" 207 kB
[ebuild R ] sys-process/procps-3.3.9::base USE="ncurses nls unicode -static-libs {-test}" 552 kB
[ebuild R ] net-misc/iputils-20121221::base USE="ipv6 ssl -SECURITY_HAZARD -caps -doc -gnutls -idn -static" 175 kB
[ebuild R ] x11-misc/shared-mime-info-1.2-r1::base USE="{-test}" 503 kB
[ebuild R ] sys-apps/portage-2.2.8-r1::base USE="(ipc) -build -doc -epydoc (-pypy2_0) -python2 -python3 (-selinux) -xattr" LINGUAS="ru" PYTHON_TARGETS="python2_7 python3_3 (-pypy2_0) (-python2_6) (-python3_2) (-python3_4)" 855 kB
[ebuild R ] sys-apps/less-458::base USE="pcre unicode" 500 kB
[ebuild R ] sys-apps/man-db-2.6.3::base USE="berkdb gdbm nls zlib (-selinux) -static-libs" 1,357 kB
[ebuild R ] sys-apps/grep-2.16::base USE="nls pcre -static" 1,182 kB
[ebuild R ] virtual/modutils-0::base 0 kB
[ebuild R ] virtual/editor-0::base 0 kB
[ebuild R ] net-misc/wget-1.14::base USE="ipv6 nls pcre ssl zlib -debug -gnutls -idn -ntlm -static -uuid" 1,547 kB
[ebuild R ] virtual/package-manager-0::base 0 kB
[ebuild R ] virtual/pager-0::base 0 kB
[ebuild R ] sys-auth/pambase-20120417-r3::base USE="cracklib sha512 -consolekit -debug -gnome-keyring -minimal -mktemp -pam_krb5 -pam_ssh -passwdqc (-selinux) -systemd" 4 kB
[ebuild R ] net-misc/openssh-6.6_p1-r1::base USE="bindist hpn pam tcpd -X -X509 -kerberos -ldap -ldns -libedit (-selinux) -skey -static" 1,273 kB
[ebuild R ] virtual/ssh-0::base USE="-minimal" 0 kB
[ebuild R ] sys-libs/glibc-2.17:2.2::base USE="(multilib) -debug -gd (-hardened) -nscd -profile (-selinux) -suid -systemtap -vanilla" 10,807 kB
[ebuild R ] sys-libs/pam-1.1.8::base USE="berkdb cracklib nls -audit -debug -nis (-selinux) {-test} -vim-syntax" 1,303 kB
[ebuild R ] sys-apps/openrc-0.12.4::base USE="ncurses netifrc pam unicode -debug -newnet (-prefix) (-selinux) -static-libs -tools" 129 kB
[ebuild R ] sys-devel/gcc-4.8.2:4.8::base USE="cxx fortran (multilib) nls nptl openmp (-altivec) -awt -doc (-fixed-point) -gcj -go -graphite (-hardened) (-libssp) -mudflap (-multislot) -nopie -nossp -objc -objc++ -objc-gc -regression-test -vanilla" 84,022 kB
[ebuild R ] virtual/libc-0::base 0 kB
[ebuild R ] sys-apps/util-linux-2.23.2::base USE="cramfs ncurses nls pam suid unicode -bash-completion -caps -cytune -fdformat -old-linux (-selinux) -slang -static-libs {-test} -tty-helpers -udev" 3,304 kB
[ebuild R ] sys-apps/busybox-1.21.0::base USE="ipv6 pam static -livecd -make-symlinks -math -mdev -savedconfig (-selinux) -sep-usr -syslog -systemd" 2,150 kB
[ebuild R ] virtual/service-manager-0::base USE="(-prefix)" 0 kB
[ebuild R ] sys-fs/udev-208::base USE="acl firmware-loader kmod openrc -doc -gudev -introspection (-selinux) -static-libs" ABI_X86="(64) (-32) (-x32)" 2,328 kB
[ebuild R ] sys-fs/e2fsprogs-1.42.9::base USE="nls -static-libs" 5,927 kB
[ebuild R ] app-text/build-docbook-catalog-1.19.1::base 5 kB
Total: 194 packages (1 upgrade, 193 reinstalls), Size of downloads: 326,409 kB
Собственно типичное stage-3 разница только в том, что base дерево portage из которого было построено содержит исключительно только эти ebuild-ы и больше ничего.
Он сказал “Поехали!”
Результаты для официального дерево portage.¶
Операция\№ опыта | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | Среднее арифметическое |
---|---|---|---|---|---|---|---|---|---|---|---|
Calculating dependencies | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
Adding root packages | 10 | 09 | 10 | 09 | 09 | 09 | 10 | 10 | 09 | 10 | 10 |
Processing dependencies | 16 | 14 | 14 | 14 | 14 | 14 | 15 | 14 | 14 | 14 | 14 |
Checking for slot conflicts | 31 | 31 | 30 | 30 | 30 | 30 | 31 | 32 | 30 | 30 | 31 |
Trying to accept blocker conflicts | 31 | 31 | 30 | 30 | 30 | 30 | 31 | 32 | 30 | 30 | 31 |
Resolving slot conflicts for complete graph | 31 | 31 | 30 | 30 | 30 | 30 | 31 | 32 | 30 | 30 | 31 |
Processing slot conflicts | 31 | 31 | 30 | 30 | 30 | 30 | 31 | 32 | 30 | 30 | 31 |
Triggering slot operator reinstalls | 31 | 31 | 30 | 30 | 30 | 30 | 31 | 32 | 30 | 30 | 31 |
Validating blockers | 31 | 31 | 30 | 30 | 30 | 30 | 31 | 32 | 30 | 30 | 31 |
Checking for blocker conflicts | 32 | 31 | 31 | 30 | 30 | 31 | 32 | 32 | 30 | 31 | 31 |
Checking for rebuild triggers | 32 | 31 | 31 | 30 | 30 | 31 | 32 | 32 | 30 | 31 | 31 |
Checking if restart is needed | 32 | 31 | 31 | 30 | 30 | 31 | 32 | 32 | 30 | 31 | 31 |
Checking if we have to prune rebuilds | 32 | 31 | 31 | 30 | 30 | 31 | 32 | 32 | 30 | 31 | 31 |
Checking if restart is needed | 32 | 31 | 31 | 30 | 30 | 31 | 32 | 32 | 30 | 31 | 31 |
Checking for parameters that change behavior | 32 | 31 | 31 | 30 | 30 | 31 | 32 | 32 | 30 | 31 | 31 |
Checking for changes that are needed | 32 | 31 | 31 | 30 | 30 | 31 | 32 | 32 | 30 | 31 | 31 |
Done resolving! | 32 | 31 | 31 | 30 | 30 | 31 | 32 | 32 | 30 | 31 | 31 |
Результаты для base дерево portage.¶
Операция\№ опыта | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | Среднее арифметическое |
---|---|---|---|---|---|---|---|---|---|---|---|
Calculating dependencies | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
Adding root packages | 01 | 02 | 03 | 03 | 03 | 03 | 03 | 02 | 03 | 03 | 03 |
Processing dependencies | 01 | 03 | 03 | 04 | 03 | 03 | 04 | 03 | 04 | 04 | 03 |
Checking for slot conflicts | 05 | 07 | 08 | 08 | 07 | 08 | 08 | 07 | 08 | 08 | 07 |
Trying to accept blocker conflicts | 05 | 07 | 08 | 08 | 07 | 08 | 08 | 07 | 08 | 08 | 07 |
Resolving slot conflicts for complete graph | 05 | 07 | 08 | 08 | 07 | 08 | 08 | 07 | 08 | 08 | 07 |
Processing slot conflicts | 05 | 07 | 08 | 08 | 07 | 08 | 08 | 07 | 08 | 08 | 07 |
Triggering slot operator reinstalls | 05 | 07 | 08 | 08 | 07 | 08 | 08 | 07 | 08 | 08 | 07 |
Validating blockers | 05 | 07 | 08 | 08 | 07 | 08 | 08 | 07 | 08 | 08 | 07 |
Checking for blocker conflicts | 06 | 07 | 09 | 09 | 08 | 08 | 08 | 08 | 09 | 09 | 08 |
Checking for rebuild triggers | 06 | 07 | 09 | 09 | 08 | 08 | 08 | 08 | 09 | 09 | 08 |
Checking if restart is needed | 06 | 07 | 09 | 09 | 08 | 08 | 08 | 08 | 09 | 09 | 08 |
Checking if we have to prune rebuilds | 06 | 07 | 09 | 09 | 08 | 08 | 08 | 08 | 09 | 09 | 08 |
Checking if restart is needed | 06 | 07 | 09 | 09 | 08 | 08 | 08 | 08 | 09 | 09 | 08 |
Checking for parameters that change behavior | 06 | 07 | 09 | 09 | 08 | 08 | 08 | 08 | 09 | 09 | 08 |
Checking for changes that are needed | 06 | 07 | 09 | 09 | 08 | 08 | 08 | 08 | 09 | 09 | 08 |
Done resolving! | 06 | 07 | 09 | 09 | 08 | 08 | 08 | 08 | 09 | 09 | 08 |
Выводы¶
А теперь только среднее арифметическое время в секундах
Операция | Официальные portage | Base portage |
---|---|---|
Calculating dependencies | 0 | 0 |
Adding root packages | 10 | 03 |
Processing dependencies | 14 | 03 |
Checking for slot conflicts | 31 | 07 |
Trying to accept blocker conflicts | 31 | 07 |
Resolving slot conflicts for complete graph | 31 | 07 |
Processing slot conflicts | 31 | 07 |
Triggering slot operator reinstalls | 31 | 07 |
Validating blockers | 31 | 07 |
Checking for blocker conflicts | 31 | 08 |
Checking for rebuild triggers | 31 | 08 |
Checking if restart is needed | 31 | 08 |
Checking if we have to prune rebuilds | 31 | 08 |
Checking if restart is needed | 31 | 08 |
Checking for parameters that change behavior | 31 | 08 |
Checking for changes that are needed | 31 | 08 |
Done resolving! | 31 | 08 |
Как не трудно заметить в 31 сек/8 сек=3,875 раза т.е. в 3,875
раза ускоряется процесс
emerge --update --newuse --deep @world @system -epv
от уменьшения объёма дерева portage от официального до минимально необходимого количества ebuild-ов в дереве и при прочих неизменных.
Comments