[lfs-dev] perl tests loop - possibly sorted

Ken Moffat zarniwhoop at ntlworld.com
Mon Aug 8 17:37:20 PDT 2016


On Tue, Aug 09, 2016 at 12:27:15AM +0100, Ken Moffat wrote:
> 
> I've now booted the revised 4.7 config but I haven't yet tried
> testing perl on the host.  I've got a few things to do in
> spreadsheets, then I'll dig out a memtest86 CD.
> 
I think I might have found the main problem with these builds
(ignoring the sporadic segfaults on this box) - When I booted this
box to start the first build, I noticed that icewm's CPU monitor on
its taskbar was mainly showing red for the active percentage,
instead of the normal green [ normal is occasionally green with a
small amount of red in some circumstances ] and it had continued
like that.  Looking at the icewm source the other night, I _think_
that red means time in syscalls.  Now, it is back to green.

So, I guess that CONFIG_LEGACY_VSYSCALL_EMULATE=y was a very bad
idea.

The test of perl-5.24 on the old (20150610) host system was *much*
better:

All tests successful.
Elapsed: 624 sec
u=10.81  s=3.00  cu=367.80  cs=20.81  scripts=2245  tests=851001

real    10m38.531s
user    6m30.896s
sys     0m25.288s

I have not started a fresh attempt at a current build yet (I'll
use gold, again, but without gdb) and I'm going to run memtest86
before I try that, but I think things are looking hopeful.

FWIW, I'll attach a diff of what I changed in the kernel config, the
mobo is some sort of Asus M5A78, with an AMD Phenom(tm) II X4 965
Processor.

The NO_HZ_IDLE, TICK_CPU_ACCOUNTING, SCHED_SMT (no idea if that
actually does anything on AMD), BOUNCE, WQ_POWER_EFFICIENT_DEFAULT
(that might slow things down slightly) changes were to better match
what I do on the haswell, building in BLK_DEV_LOOP is because I use
it so rarely that I forget I need to modprobe it.

ĸen
-- 
`I shall take my mountains', said Lu-Tze. `The climate will be good
for them.'     -- Small Gods
-------------- next part --------------
diff --git a/kernel-config/ac4tv/.config b/kernel-config/ac4tv/.config
index f180b72..78e9e0c 100644
--- a/kernel-config/ac4tv/.config
+++ b/kernel-config/ac4tv/.config
@@ -110,18 +110,17 @@ CONFIG_GENERIC_CMOS_UPDATE=y
 CONFIG_TICK_ONESHOT=y
 CONFIG_NO_HZ_COMMON=y
 # CONFIG_HZ_PERIODIC is not set
-# CONFIG_NO_HZ_IDLE is not set
-CONFIG_NO_HZ_FULL=y
-# CONFIG_NO_HZ_FULL_ALL is not set
-# CONFIG_NO_HZ_FULL_SYSIDLE is not set
+CONFIG_NO_HZ_IDLE=y
+# CONFIG_NO_HZ_FULL is not set
 # CONFIG_NO_HZ is not set
 CONFIG_HIGH_RES_TIMERS=y
 
 #
 # CPU/Task time and stats accounting
 #
-CONFIG_VIRT_CPU_ACCOUNTING=y
-CONFIG_VIRT_CPU_ACCOUNTING_GEN=y
+CONFIG_TICK_CPU_ACCOUNTING=y
+# CONFIG_VIRT_CPU_ACCOUNTING_GEN is not set
+# CONFIG_IRQ_TIME_ACCOUNTING is not set
 # CONFIG_BSD_PROCESS_ACCT is not set
 CONFIG_TASKSTATS=y
 CONFIG_TASK_DELAY_ACCT=y
@@ -135,13 +134,7 @@ CONFIG_PREEMPT_RCU=y
 CONFIG_SRCU=y
 # CONFIG_TASKS_RCU is not set
 CONFIG_RCU_STALL_COMMON=y
-CONFIG_CONTEXT_TRACKING=y
-CONFIG_CONTEXT_TRACKING_FORCE=y
 # CONFIG_TREE_RCU_TRACE is not set
-CONFIG_RCU_NOCB_CPU=y
-# CONFIG_RCU_NOCB_CPU_NONE is not set
-# CONFIG_RCU_NOCB_CPU_ZERO is not set
-CONFIG_RCU_NOCB_CPU_ALL=y
 # CONFIG_RCU_EXPEDITE_BOOT is not set
 CONFIG_BUILD_BIN2C=y
 CONFIG_IKCONFIG=y
@@ -393,7 +386,7 @@ CONFIG_SWIOTLB=y
 CONFIG_IOMMU_HELPER=y
 # CONFIG_MAXSMP is not set
 CONFIG_NR_CPUS=4
-# CONFIG_SCHED_SMT is not set
+CONFIG_SCHED_SMT=y
 CONFIG_SCHED_MC=y
 # CONFIG_PREEMPT_NONE is not set
 # CONFIG_PREEMPT_VOLUNTARY is not set
@@ -449,7 +442,7 @@ CONFIG_SPLIT_PTLOCK_CPUS=4
 CONFIG_ARCH_ENABLE_SPLIT_PMD_PTLOCK=y
 # CONFIG_COMPACTION is not set
 CONFIG_PHYS_ADDR_T_64BIT=y
-# CONFIG_BOUNCE is not set
+CONFIG_BOUNCE=y
 CONFIG_VIRT_TO_BUS=y
 CONFIG_MMU_NOTIFIER=y
 # CONFIG_KSM is not set
@@ -496,8 +489,8 @@ CONFIG_HOTPLUG_CPU=y
 # CONFIG_DEBUG_HOTPLUG_CPU0 is not set
 CONFIG_COMPAT_VDSO=y
 # CONFIG_LEGACY_VSYSCALL_NATIVE is not set
-CONFIG_LEGACY_VSYSCALL_EMULATE=y
-# CONFIG_LEGACY_VSYSCALL_NONE is not set
+# CONFIG_LEGACY_VSYSCALL_EMULATE is not set
+CONFIG_LEGACY_VSYSCALL_NONE=y
 # CONFIG_CMDLINE_BOOL is not set
 CONFIG_MODIFY_LDT_SYSCALL=y
 CONFIG_HAVE_LIVEPATCH=y
@@ -519,7 +512,7 @@ CONFIG_PM_SLEEP_SMP=y
 # CONFIG_PM_WAKELOCKS is not set
 CONFIG_PM=y
 # CONFIG_PM_DEBUG is not set
-# CONFIG_WQ_POWER_EFFICIENT_DEFAULT is not set
+CONFIG_WQ_POWER_EFFICIENT_DEFAULT=y
 CONFIG_ACPI=y
 CONFIG_ACPI_LEGACY_TABLES_LOOKUP=y
 CONFIG_ARCH_MIGHT_HAVE_ACPI_PDC=y
@@ -1013,7 +1006,7 @@ CONFIG_BLK_DEV=y
 # CONFIG_BLK_DEV_DAC960 is not set
 # CONFIG_BLK_DEV_UMEM is not set
 # CONFIG_BLK_DEV_COW_COMMON is not set
-CONFIG_BLK_DEV_LOOP=m
+CONFIG_BLK_DEV_LOOP=y
 CONFIG_BLK_DEV_LOOP_MIN_COUNT=8
 # CONFIG_BLK_DEV_CRYPTOLOOP is not set
 # CONFIG_BLK_DEV_DRBD is not set


More information about the lfs-dev mailing list