Port-vax archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Emulated VAX build done!



Back some two-three weeks ago, I wrote about having my VAX emulator
doing a build of the 1.4T world.

I've actually had two such runs going; I started a second build of the
same world on different host hardware.  One of them is still going, but
the other finished last night.

Still going: running on NetBSD/i386 on

cpu0: Intel Pentium 4 (686-class), 1594.95 MHz, id 0xf12
cpu0: features
0x3febfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR>
cpu0: features 0x3febfbff<PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX>
cpu0: features 0x3febfbff<FXSR,SSE,SSE2,SS,HTT,TM>
cpu0: "Intel(R) Pentium(R) 4 CPU 1.60GHz"
cpu0: I-cache 12K uOp cache 8-way, D-cache 8KB 64B/line 4-way
cpu0: L2 cache 256KB 64B/line 8-way
cpu0: ITLB 4K/4M: 64 entries
cpu0: DTLB 4K/4M: 64 entries
cpu0: Initial APIC ID 0
cpu0: Cluster/Package ID 0
cpu0: family 0f model 01 extfamily 00 extmodel 00 stepping 02

Just finished: running on Linux/x86_64 on an 8-core machine (but the
emulator effectively uses only one core - it runs multiple processes,
but all but one them are input helpers with extremely low CPU load).
All 8 cores are "identical" (though I suspect half of them are
hyperthreads); core 0 is

processor       : 0
vendor_id       : GenuineIntel
cpu family      : 6
model           : 94
model name      : Intel(R) Core(TM) i7-6700HQ CPU @ 2.60GHz
stepping        : 3
microcode       : 0xf0
cpu MHz         : 801.230
cache size      : 6144 KB
physical id     : 0
siblings        : 8
core id         : 0
cpu cores       : 4
apicid          : 0
initial apicid  : 0
fpu             : yes
fpu_exception   : yes
cpuid level     : 22
wp              : yes
flags           : 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 ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb invpcid_single pti ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 hle avx2 smep bmi2 erms invpcid rtm mpx rdseed adx smap clflushopt intel_pt xsaveopt xsavec xgetbv1 xsaves dtherm ida arat pln pts hwp hwp_notify hwp_act_window hwp_epp md_clear flush_l1d arch_capabilities
bugs            : cpu_meltdown spectre_v1 spectre_v2 spec_store_bypass l1tf mds swapgs taa itlb_multihit srbds mmio_stale_data retbleed
bogomips        : 5199.98
clflush size    : 64
cache_alignment : 64
address sizes   : 39 bits physical, 48 bits virtual
power management:

The slower one is currently doing make install in games/; the last line
logged is

 16 18:16:32.12 install ===> games/boggle

The corresponding line from the other one, the one now finished, is

 10 20:40:13.05 install ===> games/boggle

for a speed ratio of about 1.543.  I don't know how much of the
difference is NetBSD versus Linux and how much is the hardware; my
guess is that it's almost entirely the hardware, possibly with a small
admixture of compiler version.  The emulator doesn't spend much time
doing anything but crunching in userland unless you have an
I/O-intensive workload, which building the world mostly isn't - or you
have a system which makes a syscall when setting up stack trampolines
for nested functions, which will severely cripple emulator speed.  I
have the Linux machine set up to dual-boot NetBSD, but it exists mostly
for work purposes, so taking it out of Linux for over a week is not a
realistic option.

Once the slower one finishes I'm going to compare the builds.  1.4T
builds are not really reproducible:

# cc -c -o z.o gh.c
# cc -o z z.o
# cc -c -o y.o gh.c
# cc -o y y.o
# cmp z.o y.o
# cmp z y
z y differ: char 13067, line 24
# 

but I should be able to compare at least the .o files.  And, of course,
I've now got some /usr/src changes to merge into my main 1.4T tree.

/~\ The ASCII				  Mouse
\ / Ribbon Campaign
 X  Against HTML		mouse%rodents-montreal.org@localhost
/ \ Email!	     7D C8 61 52 5D E7 2D 39  4E F1 31 3E E8 B3 27 4B


Home | Main Index | Thread Index | Old Index