Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Stage 1 + 3 install: High sys time
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
SphereII
n00b
n00b


Joined: 11 Jul 2010
Posts: 1

PostPosted: Sun Jul 11, 2010 6:42 pm    Post subject: Stage 1 + 3 install: High sys time Reply with quote

Good day.

At work, we've decided to update our internal build system, and are now bringing over our internal Gentoo build as well.

Our existing system is a dual processor, with 4G of RAM virtual machine, running on an ESX blade cluster. Currently configured, it takes roughly 400 minutes to perform a build of Stage 1 and Stage 3. We set emerge jobs to 5, with MAKEOPTS set to 1. We are also using ccache as a FEATURES.

On our new system, we have three build machines, each with 8 processors (2.33ghz each), with 4 to 8G of RAM. This has typically allowed us to reduce our build times by 1/3 to 2/3rds on all our other software packages. However, in the case of our Gentoo build, we are seeing an average of 700 minutes for the same build to be done, using the same scripts and same settings. We've taken steps to try to improve this, by setting up a RAM disk on /var/tmp, which has improved build times slightly, but not nearly as much as anticipated. We've increased and decreased the number of jobs we perform, as well as play around with the MAKEOPTS setting, with not much of an improvement. Oddly enough, decreasing the number of processors has decreased build times.

While monitoring through top, we see a very high sys time. For the 700 minute build, we could be in sys time for 2300 minutes. Is this normal for Gentoo Stage 1 and 2?

For a test, I did a strace on emerge glibc, and this is the results I get.

Code:
% time     seconds  usecs/call     calls    errors syscall
------ ----------- ----------- --------- --------- ----------------
 36.31 12079.791940       -6651    121033     29746 waitpid
 18.73 6230.357885     2421437      2573           wait4
 15.87 5280.457638          74  13256975  11724611 stat64
 14.81 4925.622758          51  12258346   1360409 lstat64
  1.72  571.715915         332   1723874     26347 read
  1.66  550.847631         356   1548505     14640 close
  1.60  532.854768         374   1426233    128850 open
  1.50  498.133323         352   1414996           getcwd
  1.41  469.499274         357   1314748           fstat64
  1.30  431.712070         368   1173904           mmap2
  0.74  246.877867         434    569323        84 readlink
  0.65  215.908476         389    555513           brk
  0.50  165.088194         314    526459       228 rt_sigaction
  0.44  145.265736         417    348455           mprotect
  0.43  144.668616         261    554156           rt_sigprocmask
  0.39  128.606018        1352     95156     39781 execve
  0.31  102.448456         200    512043      1637 _llseek
  0.27   90.993674         303    300750           munmap
  0.27   88.764246         251    353008        57 write
  0.19   62.848531        2519     24954           vfork
  0.17   55.286357         432    128025     85272 access
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum