Join the community today
Become a Member

Beta Branch time all YUMDNFBIN yum/dnf install routines

Discussion in 'Centmin Mod Github Commits' started by eva2000, Mar 31, 2017.

  1. eva2000

    eva2000 Administrator Staff Member

    30,898
    6,908
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,403
    Local Time:
    2:10 AM
    Nginx 1.13.x
    MariaDB 5.5
  2. eva2000

    eva2000 Administrator Staff Member

    30,898
    6,908
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,403
    Local Time:
    2:10 AM
    Nginx 1.13.x
    MariaDB 5.5
    example of profiling the initial times and where the slowness is with new timed commands/routines

    Where install log is at /root/centminlogs/centminmod_1.2.3-eva2000.09.004_010417-171042_install.log, grep filter for line begining with word = real and output line number it occurs at and the the first 5 lines before the match
    Code (Text):
    grep -B5 -n '^real' /root/centminlogs/centminmod_1.2.3-eva2000.09.004_010417-171042_install.log
    

    • 22.54 seconds spent in nginx make stage
    • 35.337 seconds spent in mariadb yum install stage
    • 1min 49.795 seconds spent in php make stage
    • 37.167 seconds spent on remi repo based ImageMagick6 yum install stage for
      ghostscript-devel and libraqm (EPEL repo) dependency installs
    Code (Text):
    grep -B5 -n '^real' /root/centminlogs/centminmod_1.2.3-eva2000.09.004_010417-171042_install.log
    7791-objs/ngx_stream_module_modules.o \
    7792--lrt -ljemalloc -Wl,-z,relro -Wl,-rpath,/usr/local/lib \
    7793--shared
    7794-make[1]: Leaving directory `/svr-setup/nginx-1.11.10'
    7795-
    7796:real       0m22.540s
    --
    7870-   || mv '/usr/local/nginx/modules/ngx_stream_module.so' \
    7871-           '/usr/local/nginx/modules/ngx_stream_module.so.old'
    7872-cp objs/ngx_stream_module.so '/usr/local/nginx/modules/ngx_stream_module.so'
    7873-make[1]: Leaving directory `/svr-setup/nginx-1.11.10'
    7874-
    7875:real       0m0.041s
    --
    8077-Copying MariaDB my-mdb10-32gb.cnf file to /etc/my.cnf
    8078-
    8079-time yum -q -y --disableplugin=fastestmirror,downloadonly --disablerepo=epel --disablerepo=rpmforge install perl-DBI
    8080-Package perl-DBI-1.627-4.el7.x86_64 already installed and latest version
    8081-
    8082:real       0m3.633s
    --
    8260-  boost-program-options.x86_64 0:1.53.0-26.el7                                 
    8261-  galera.x86_64 0:25.3.19-1.rhel7.el7.centos                                   
    8262-
    8263-Complete!
    8264-
    8265:real       0m35.337s
    --
    8465-Installed:
    8466-  postfix.x86_64 2:2.10.1-6.el7                                               
    8467-
    8468-Complete!
    8469-
    8470:real       0m1.630s
    --
    8505-Installed:
    8506-  net-snmp.x86_64 1:5.7.2-24.el7_2.1                                           
    8507-
    8508-Complete!
    8509-
    8510:real       0m1.020s
    --
    10921-
    10922-Build complete.
    10923-Don't forget to run 'make test'.
    10924-
    10925-
    10926:real      1m49.795s
    --
    10954-You may want to add: /usr/local/lib/php to your php.ini include_path
    10955-/svr-setup/php-5.6.30/build/shtool install -c ext/phar/phar.phar /usr/local/bin
    10956-ln -s -f phar.phar /usr/local/bin/phar
    10957-Installing PDO headers:           /usr/local/include/php/ext/pdo/
    10958-
    10959:real      0m5.731s
    --
    11658-Installing shared extensions:     /usr/local/lib/php/extensions/no-debug-non-zts-20131226/
    11659-Installing header files:           /usr/local/include/php/
    11660-service php-fpm reload
    11661-Reload service php-fpm  done
    11662-
    11663:real      0m5.659s
    11664-user      0m1.685s
    11665-sys       0m0.168s
    11666-
    11667:real      0m1.723s
    --
    14695-  ghostscript-devel.x86_64 0:9.07-20.el7_3.3                                   
    14696-  libraqm.x86_64 0:0.1.1-1.el7                                                 
    14697-
    14698-Complete!
    14699-
    14700:real      0m37.167s
    --
    15294-mongodbinstall
    15295-pureftpinstall
    15296-pure-ftpd not installed
    15297-installing pure-ftpd
    15298-
    15299:real      0m2.620s
    --
    15534-
    15535-*************************************************
    15536-* Running updatedb command. Please wait....
    15537-*************************************************
    15538-
    15539:real      0m0.375s
    
     
    • Informative Informative x 1