I noticed that emerge is slow after run emerge -e @world. This issue does not occur on FreeBSD 9.1. # splat virtual/pam * virtual/pam-0 Emerged at: Sun Dec 1 23:18:21 2013 Build time: 1 minute, and 12 seconds This package is virtual/pam, it should be processed more quickly. Reproducible: Always Steps to Reproduce: 1. Upgrade to FreeBSD 10.0_beta3,userland and kernel. 2. emerge -e @world --exclude sys-apps/portage 3. emerge sys-apps/portage
Created attachment 364440 [details, diff] patch to be disabled fix of Bug 478446 After applying this patch, processing speed will be properly. But, I don't know reasons... # splat virtual/pam * virtual/pam-0 Emerged at: Mon Dec 2 00:09:56 2013 Build time: 4 seconds
I'm not familiar with this code, but it looks like it deals with cleaning up spawned processes. Specifically the change in bug 478446 changes code that deals with closing open pipes. The change causes it to use another implementation of get_open_fds() which might return much more values than the default implementation. This might explain your slow down.
The current version of the portage, 2.3.24-r1, hasn't this issue. So, I'll close this bug.