Re: Does someone keep track of how long it takes to buildworld/kernel?

From: Damien Fleuriot <ml_at_my.gd>
Date: Fri, 13 Jan 2017 23:27:40 +0100
On 13 January 2017 at 21:46, Boris Samorodov <bsam_at_passap.ru> wrote:
> 13.01.2017 23:23, Eric Joyner пишет:
>> ^ Message ^
>>
>> It takes forever, but I keep on forgetting to time how long it takes, so I
>> don't know how long "forever" is.
>
> For me "forever" today was less then 3 minutes. ;-)
> Here is some stats:
> ---
> % cd /usr/obj
> % grep "World build" bw.amd64.log*
> bw.amd64.log:>>> World build started on Fri Jan 13 17:42:07 MSK 2017
> bw.amd64.log:>>> World build completed on Fri Jan 13 17:44:45 MSK 2017
> bw.amd64.log.0:>>> World build started on Thu Jan 12 20:55:07 MSK 2017
> bw.amd64.log.0:>>> World build completed on Thu Jan 12 21:00:37 MSK 2017
> bw.amd64.log.1:>>> World build started on Thu Jan 12 11:54:28 MSK 2017
> bw.amd64.log.1:>>> World build completed on Thu Jan 12 11:59:43 MSK 2017
> bw.amd64.log.2:>>> World build started on Wed Jan 11 14:41:59 MSK 2017
> bw.amd64.log.2:>>> World build completed on Wed Jan 11 14:46:36 MSK 2017
> bw.amd64.log.3:>>> World build started on Wed Jan 11 13:15:03 MSK 2017
> bw.amd64.log.3:>>> World build completed on Wed Jan 11 13:59:01 MSK 2017
> bw.amd64.log.4:>>> World build started on Sun Jan  8 17:21:15 MSK 2017
> bw.amd64.log.4:>>> World build completed on Sun Jan  8 17:30:30 MSK 2017
> bw.amd64.log.5:>>> World build started on Sat Jan  7 21:27:06 MSK 2017
> bw.amd64.log.5:>>> World build completed on Sat Jan  7 23:37:25 MSK 2017
> bw.amd64.log.6:>>> World build started on Thu Dec 22 13:19:08 MSK 2016
> bw.amd64.log.6:>>> World build completed on Thu Dec 22 13:40:22 MSK 2016
> ---
>
> With "WITH_META_MODE=yes" at /etc/src-env.conf it's rather sane time.
> But not if clang or like changes. :-(
>
> The machine is:
> ---
> FreeBSD 12.0-CURRENT #39 r312075: Fri Jan 13 17:47:05 MSK 2017
>     bsam_at_bb055.bsnet:/usr/obj/usr/src/sys/BB64X amd64
> FreeBSD clang version 3.9.1 (tags/RELEASE_391/final 289601) (based on
> LLVM 3.9.1)
> VT(vga): resolution 640x480
> info: [drm] Initialized drm 1.1.0 20060810
> CPU: Intel(R) Core(TM) i3-2100 CPU _at_ 3.10GHz (3092.27-MHz K8-class CPU)
>   Origin="GenuineIntel"  Id=0x206a7  Family=0x6  Model=0x2a  Stepping=7
> Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
> Features2=0x1d9ae3bf<SSE3,PCLMULQDQ,DTES64,MON,DS_CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,POPCNT,TSCDLT,XSAVE,OSXSAVE,AVX>
>   AMD Features=0x28100800<SYSCALL,NX,RDTSCP,LM>
>   AMD Features2=0x1<LAHF>
>   XSAVE Features=0x1<XSAVEOPT>
>   VT-x: PAT,HLT,MTF,PAUSE,EPT,UG,VPID
>   TSC: P-state invariant, performance statistics
> real memory  = 8589934592 (8192 MB)
> avail memory = 8136523776 (7759 MB)
> Event timer "LAPIC" quality 600
> ACPI APIC Table: <ALASKA A M I>
> FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs
> FreeBSD/SMP: 1 package(s) x 2 core(s) x 2 hardware threads
> [...]
> ada1 at ahcich4 bus 0 scbus2 target 0 lun 0
> ada1: <ST1000DM003-1CH162 CC47> ACS-2 ATA SATA 3.x device
> ada1: Serial Number Z1D5Y0X8
> ada1: 300.000MB/s transfers (SATA 2.x, UDMA6, PIO 8192bytes)
> ada1: Command Queueing enabled
> ada1: 953869MB (1953525168 512 byte sectors)
> ada1: quirks=0x1<4K>
> ---
>


'kay you got me curious here guys.


Building 10-STABLE on a KVM with 2 CPU cores, 4gb of RAM and UFS
filesystem with noatime takes actual, literal *hours* here.


I think I build with debug + dtrace userland though, so that might
extend the build time somewhat...
Received on Fri Jan 13 2017 - 21:27:42 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:09 UTC