Created
January 29, 2020 09:27
-
-
Save elichai/f46da1ea2215e1558c90c4e889810b47 to your computer and use it in GitHub Desktop.
LTO performance
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CC=clang-10 CXX=clang++-10 LDFLAGS=-fuse-ld=lld-10 ./configure --with-incompatible-bdb | |
Build Options: | |
with endomorphism = no | |
with ecmult precomp = yes | |
with jni = no | |
with benchmarks = no | |
with coverage = no | |
module ecdh = no | |
module recovery = yes | |
asm = x86_64 | |
bignum = no | |
field = 64bit | |
scalar = 64bit | |
CC = clang-10 | |
CFLAGS = -g -O2 -W -std=c89 -pedantic -Wall -Wextra -Wcast-align -Wnested-externs -Wshadow -Wstrict-prototypes -Wno-unused-function -Wno-long-long -Wno-overlength-strings -fvisibility=hidden -O3 | |
CPPFLAGS = | |
LDFLAGS = -fuse-ld=lld-10 | |
Options used to compile and link: | |
with wallet = yes | |
with gui / qt = no | |
with zmq = no | |
with test = yes | |
with prop = no | |
with fuzz = no | |
with bench = yes | |
with upnp = no | |
use asm = yes | |
sanitizers = | |
debug enabled = no | |
gprof enabled = no | |
werror = no | |
target os = linux | |
build os = | |
CC = clang-10 | |
CFLAGS = -g -O2 | |
CPPFLAGS = -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -DHAVE_BUILD_INFO -D__STDC_FORMAT_MACROS | |
CXX = clang++-10 -std=c++11 | |
CXXFLAGS = -Wstack-protector -fstack-protector-all -Wall -Wextra -Wformat -Wvla -Wswitch -Wformat-security -Wthread-safety-analysis -Wrange-loop-analysis -Wredundant-decls -Wunused-variable -Wdate-time -Wno-unused-parameter -Wno-self-assign -Wno-unused-local-typedef -Wno-deprecated-register -Wno-implicit-fallthrough -g -O2 | |
LDFLAGS = -pthread -Wl,-z,relro -Wl,-z,now -pie -fuse-ld=lld-10 | |
ARFLAGS = cr | |
real 2m27.493s | |
user 27m0.853s | |
sys 0m42.137s | |
profiler@profiler-OptiPlex-7060:~/bitcoin$ readelf --string-dump=.comment src/bitcoind | |
String dump of section '.comment': | |
[ 0] Linker: LLD 10.0.0 | |
[ 13] GCC: (Ubuntu 7.4.0-1ubuntu1~18.04.1) 7.4.0 | |
[ 3e] clang version 10.0.0-++20200128013420+c23212a438f-1~exp1~20200128004016.25 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CC=clang-10 CXX=clang++-10 LDFLAGS='-fuse-ld=lld-10 -flto' RANLIB=llvm-ranlib-10 AR=llvm-ar-10 ./configure --with-incompatible-bdb | |
Build Options: | |
with endomorphism = no | |
with ecmult precomp = yes | |
with jni = no | |
with benchmarks = no | |
with coverage = no | |
module ecdh = no | |
module recovery = yes | |
asm = x86_64 | |
bignum = no | |
field = 64bit | |
scalar = 64bit | |
CC = clang-10 | |
CFLAGS = -g -O2 -W -std=c89 -pedantic -Wall -Wextra -Wcast-align -Wnested-externs -Wshadow -Wstrict-prototypes -Wno-unused-function -Wno-long-long -Wno-overlength-strings -fvisibility=hidden -O3 -flto | |
CPPFLAGS = | |
LDFLAGS = -fuse-ld=lld-10 -flto | |
Options used to compile and link: | |
with wallet = yes | |
with gui / qt = no | |
with zmq = no | |
with test = yes | |
with prop = no | |
with fuzz = no | |
with bench = yes | |
with upnp = no | |
use asm = yes | |
sanitizers = | |
debug enabled = no | |
gprof enabled = no | |
werror = no | |
target os = linux | |
build os = | |
CC = clang-10 | |
CFLAGS = -flto -g -O2 | |
CPPFLAGS = -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -DHAVE_BUILD_INFO -D__STDC_FORMAT_MACROS | |
CXX = clang++-10 -std=c++11 | |
CXXFLAGS = -Wstack-protector -fstack-protector-all -Wall -Wextra -Wformat -Wvla -Wswitch -Wformat-security -Wthread-safety-analysis -Wrange-loop-analysis -Wredundant-decls -Wunused-variable -Wdate-time -Wno-unused-parameter -Wno-self-assign -Wno-unused-local-typedef -Wno-deprecated-register -Wno-implicit-fallthrough -flto -g -O2 | |
LDFLAGS = -pthread -Wl,-z,relro -Wl,-z,now -pie -fuse-ld=lld-10 -flto | |
ARFLAGS = cr | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/configure.ac b/configure.ac | |
index 18f3104ac..49d89682e 100644 | |
--- a/configure.ac | |
+++ b/configure.ac | |
@@ -272,6 +272,8 @@ AC_ARG_ENABLE([werror], | |
AC_LANG_PUSH([C++]) | |
AX_CHECK_COMPILE_FLAG([-Werror],[CXXFLAG_WERROR="-Werror"],[CXXFLAG_WERROR=""]) | |
+CFLAGS="-flto $CFLAGS" | |
+CXXFLAGS="-flto $CXXFLAGS" | |
if test "x$enable_debug" = xyes; then | |
dnl Clear default -g -O2 flags | |
if test "x$CXXFLAGS_overridden" = xno; then | |
diff --git a/src/secp256k1/configure.ac b/src/secp256k1/configure.ac | |
index 3b7a328c8..91ea78e49 100644 | |
--- a/src/secp256k1/configure.ac | |
+++ b/src/secp256k1/configure.ac | |
@@ -156,9 +156,9 @@ AC_CHECK_TYPES([__int128]) | |
if test x"$enable_coverage" = x"yes"; then | |
AC_DEFINE(COVERAGE, 1, [Define this symbol to compile out all VERIFY code]) | |
CFLAGS="$CFLAGS -O0 --coverage" | |
- LDFLAGS="--coverage" | |
+ LDFLAGS="--coverage -flto" | |
else | |
- CFLAGS="$CFLAGS -O3" | |
+ CFLAGS="$CFLAGS -O3 -flto" | |
fi | |
if test x"$use_ecmult_static_precomputation" != x"no"; then |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CPU: | |
Intel(R) Core(TM) i7-8700 CPU @ 3.20GHz | |
$ free | |
total used free shared buff/cache available | |
Mem: 32727916 4167888 2124968 511068 26435060 27579244 | |
Swap: 2097148 2048 2095100 | |
$ uname -a | |
Linux profiler-OptiPlex-7060 5.0.0-37-generic #40~18.04.1-Ubuntu SMP Thu Nov 14 12:06:39 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux | |
OS: | |
Ubuntu bionic 18.04.3 LTS | |
$ fio --randrepeat=1 --ioengine=libaio --direct=1 --gtod_reduce=1 --name=test --filename=random_read_write.fio --bs=4k --iodepth=64 --size=180M --time_based=1 --runtime=20 --readwrite=randrw --rwmixread=75 | |
test: (g=0): rw=randrw, bs=(R) 4096B-4096B, (W) 4096B-4096B, (T) 4096B-4096B, ioengine=libaio, iodepth=64 | |
fio-3.1 | |
Starting 1 process | |
test: Laying out IO file (1 file / 180MiB) | |
Jobs: 1 (f=1): [m(1)][100.0%][r=892MiB/s,w=298MiB/s][r=228k,w=76.3k IOPS][eta 00m:00s] | |
test: (groupid=0, jobs=1): err= 0: pid=8246: Thu Dec 19 18:14:43 2019 | |
read: IOPS=237k, BW=928MiB/s (973MB/s)(18.1GiB/20001msec) | |
bw ( KiB/s): min=859112, max=981688, per=99.98%, avg=949786.75, stdev=26240.62, samples=40 | |
iops : min=214780, max=245422, avg=237446.70, stdev=6560.01, samples=40 | |
write: IOPS=79.2k, BW=309MiB/s (325MB/s)(6190MiB/20001msec) | |
bw ( KiB/s): min=287704, max=329208, per=99.98%, avg=316864.70, stdev=8833.78, samples=40 | |
iops : min=71926, max=82302, avg=79216.10, stdev=2208.45, samples=40 | |
cpu : usr=38.65%, sys=59.31%, ctx=19279, majf=0, minf=6 | |
IO depths : 1=0.1%, 2=0.1%, 4=0.1%, 8=0.1%, 16=0.1%, 32=0.1%, >=64=100.0% | |
submit : 0=0.0%, 4=100.0%, 8=0.0%, 16=0.0%, 32=0.0%, 64=0.0%, >=64=0.0% | |
complete : 0=0.0%, 4=100.0%, 8=0.0%, 16=0.0%, 32=0.0%, 64=0.1%, >=64=0.0% | |
issued rwt: total=4749941,1584649,0, short=0,0,0, dropped=0,0,0 | |
latency : target=0, window=0, percentile=100.00%, depth=64 | |
Run status group 0 (all jobs): | |
READ: bw=928MiB/s (973MB/s), 928MiB/s-928MiB/s (973MB/s-973MB/s), io=18.1GiB (19.5GB), run=20001-20001msec | |
WRITE: bw=309MiB/s (325MB/s), 309MiB/s-309MiB/s (325MB/s-325MB/s), io=6190MiB (6491MB), run=20001-20001msec | |
Disk stats (read/write): | |
nvme0n1: ios=4721801/1575261, merge=0/9, ticks=609737/23999, in_queue=0, util=99.56% | |
cpu flags: | |
12 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 tsc_known_freq pni pclmulqdq dtes64 monitor ds_cpl vmx smx 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 | |
lshw: | |
profiler-optiplex-7060 | |
description: Desktop Computer | |
product: OptiPlex 7060 (085A) | |
vendor: Dell Inc. | |
serial: GWCPYQ2 | |
width: 64 bits | |
capabilities: smbios-3.1 dmi-3.1 smp vsyscall32 | |
configuration: boot=normal chassis=desktop family=OptiPlex sku=085A uuid=44454C4C-5700-1043-8050-C7C04F595132 | |
*-core | |
description: Motherboard | |
product: 0C96W1 | |
vendor: Dell Inc. | |
physical id: 0 | |
version: A02 | |
serial: /GWCPYQ2/CNWS20087301BK/ | |
*-firmware | |
description: BIOS | |
vendor: Dell Inc. | |
physical id: 0 | |
version: 1.3.4 | |
date: 03/18/2019 | |
size: 64KiB | |
capacity: 15MiB | |
capabilities: pci pnp upgrade shadowing cdboot bootselect edd int13floppy1200 int13floppy720 int13floppy2880 int5printscreen int9keyboard int14serial int17printer acpi usb biosbootspecification netboot uefi | |
*-memory | |
description: System Memory | |
physical id: 9 | |
slot: System board or motherboard | |
size: 32GiB | |
*-bank:0 | |
description: DIMM DDR4 Synchronous 2400 MHz (0.4 ns) | |
product: CT16G4DFD824A.M16FD | |
vendor: 859B0000802C | |
physical id: 0 | |
serial: E0B9E723 | |
slot: DIMM1 | |
size: 16GiB | |
width: 64 bits | |
clock: 2400MHz (0.4ns) | |
*-bank:1 | |
description: DIMM DDR4 Synchronous 2400 MHz (0.4 ns) | |
product: CT16G4DFD824A.M16FD | |
vendor: 859B0000802C | |
physical id: 1 | |
serial: E0B9E46A | |
slot: DIMM2 | |
size: 16GiB | |
width: 64 bits | |
clock: 2400MHz (0.4ns) | |
*-bank:2 | |
description: [empty] | |
physical id: 2 | |
slot: DIMM3 | |
*-bank:3 | |
description: [empty] | |
physical id: 3 | |
slot: DIMM4 | |
*-cache:0 | |
description: L1 cache | |
physical id: 14 | |
slot: L1 Cache | |
size: 384KiB | |
capacity: 384KiB | |
capabilities: synchronous internal write-back unified | |
configuration: level=1 | |
*-cache:1 | |
description: L2 cache | |
physical id: 15 | |
slot: L2 Cache | |
size: 1536KiB | |
capacity: 1536KiB | |
capabilities: synchronous internal write-back unified | |
configuration: level=2 | |
*-cache:2 | |
description: L3 cache | |
physical id: 16 | |
slot: L3 Cache | |
size: 12MiB | |
capacity: 12MiB | |
capabilities: synchronous internal write-back unified | |
configuration: level=3 | |
*-cpu | |
description: CPU | |
product: Intel(R) Core(TM) i7-8700 CPU @ 3.20GHz | |
vendor: Intel Corp. | |
physical id: 17 | |
bus info: cpu@0 | |
version: Intel(R) Core(TM) i7-8700 CPU @ 3.20GHz | |
slot: U3E1 | |
size: 1866MHz | |
capacity: 4600MHz | |
width: 64 bits | |
clock: 100MHz | |
capabilities: x86-64 fpu fpu_exception wp 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 constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf tsc_known_freq pni pclmulqdq dtes64 monitor ds_cpl vmx smx 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 cpufreq | |
configuration: cores=6 enabledcores=6 threads=12 | |
*-pci | |
description: Host bridge | |
product: 8th Gen Core Processor Host Bridge/DRAM Registers | |
vendor: Intel Corporation | |
physical id: 100 | |
bus info: pci@0000:00:00.0 | |
version: 07 | |
width: 32 bits | |
clock: 33MHz | |
configuration: driver=skl_uncore | |
resources: irq:0 | |
*-display | |
description: VGA compatible controller | |
product: Intel Corporation | |
vendor: Intel Corporation | |
physical id: 2 | |
bus info: pci@0000:00:02.0 | |
version: 00 | |
width: 64 bits | |
clock: 33MHz | |
capabilities: pciexpress msi pm vga_controller bus_master cap_list rom | |
configuration: driver=i915 latency=0 | |
resources: irq:141 memory:90000000-90ffffff memory:80000000-8fffffff ioport:3000(size=64) memory:c0000-dffff | |
*-generic:0 UNCLAIMED | |
description: System peripheral | |
product: Xeon E3-1200 v5/v6 / E3-1500 v5 / 6th/7th Gen Core Processor Gaussian Mixture Model | |
vendor: Intel Corporation | |
physical id: 8 | |
bus info: pci@0000:00:08.0 | |
version: 00 | |
width: 64 bits | |
clock: 33MHz | |
capabilities: msi pm cap_list | |
configuration: latency=0 | |
resources: memory:9123f000-9123ffff | |
*-generic:1 | |
description: Signal processing controller | |
product: Cannon Lake PCH Thermal Controller | |
vendor: Intel Corporation | |
physical id: 12 | |
bus info: pci@0000:00:12.0 | |
version: 10 | |
width: 64 bits | |
clock: 33MHz | |
capabilities: pm msi cap_list | |
configuration: driver=intel_pch_thermal latency=0 | |
resources: irq:17 memory:9123e000-9123efff | |
*-usb | |
description: USB controller | |
product: Cannon Lake PCH USB 3.1 xHCI Host Controller | |
vendor: Intel Corporation | |
physical id: 14 | |
bus info: pci@0000:00:14.0 | |
version: 10 | |
width: 64 bits | |
clock: 33MHz | |
capabilities: pm msi xhci bus_master cap_list | |
configuration: driver=xhci_hcd latency=0 | |
resources: irq:124 memory:91220000-9122ffff | |
*-usbhost:0 | |
product: xHCI Host Controller | |
vendor: Linux 5.0.0-37-generic xhci-hcd | |
physical id: 0 | |
bus info: usb@1 | |
logical name: usb1 | |
version: 5.00 | |
capabilities: usb-2.00 | |
configuration: driver=hub slots=16 speed=480Mbit/s | |
*-usb:0 | |
description: Keyboard | |
product: Wired Keyboard 600 | |
vendor: Microsoft | |
physical id: 1 | |
bus info: usb@1:1 | |
version: 3.00 | |
capabilities: usb-2.00 | |
configuration: driver=usbhid maxpower=100mA speed=2Mbit/s | |
*-usb:1 | |
description: Mouse | |
product: Dell MS116 USB Optical Mouse | |
vendor: PixArt | |
physical id: 9 | |
bus info: usb@1:9 | |
version: 1.00 | |
capabilities: usb-2.00 | |
configuration: driver=usbhid maxpower=100mA speed=2Mbit/s | |
*-usb:2 | |
description: Mass storage device | |
product: Flash Drive FIT | |
vendor: Samsung | |
physical id: a | |
bus info: usb@1:a | |
version: 11.00 | |
serial: 0305119060010725 | |
capabilities: usb-2.10 scsi | |
configuration: driver=usb-storage maxpower=300mA speed=480Mbit/s | |
*-usbhost:1 | |
product: xHCI Host Controller | |
vendor: Linux 5.0.0-37-generic xhci-hcd | |
physical id: 1 | |
bus info: usb@2 | |
logical name: usb2 | |
version: 5.00 | |
capabilities: usb-3.10 | |
configuration: driver=hub slots=10 speed=10000Mbit/s | |
*-memory UNCLAIMED | |
description: RAM memory | |
product: Cannon Lake PCH Shared SRAM | |
vendor: Intel Corporation | |
physical id: 14.2 | |
bus info: pci@0000:00:14.2 | |
version: 10 | |
width: 64 bits | |
clock: 33MHz (30.3ns) | |
capabilities: pm cap_list | |
configuration: latency=0 | |
resources: memory:91236000-91237fff memory:9123d000-9123dfff | |
*-serial:0 | |
description: Serial bus controller | |
product: Intel Corporation | |
vendor: Intel Corporation | |
physical id: 15 | |
bus info: pci@0000:00:15.0 | |
version: 10 | |
width: 64 bits | |
clock: 33MHz | |
capabilities: pm bus_master cap_list | |
configuration: driver=intel-lpss latency=0 | |
resources: irq:16 memory:7f800000-7f800fff | |
*-communication | |
description: Communication controller | |
product: Cannon Lake PCH HECI Controller | |
vendor: Intel Corporation | |
physical id: 16 | |
bus info: pci@0000:00:16.0 | |
version: 10 | |
width: 64 bits | |
clock: 33MHz | |
capabilities: pm msi bus_master cap_list | |
configuration: driver=mei_me latency=0 | |
resources: irq:140 memory:9123b000-9123bfff | |
*-storage | |
description: SATA controller | |
product: Cannon Lake PCH SATA AHCI Controller | |
vendor: Intel Corporation | |
physical id: 17 | |
bus info: pci@0000:00:17.0 | |
version: 10 | |
width: 32 bits | |
clock: 66MHz | |
capabilities: storage msi pm ahci_1.0 bus_master cap_list | |
configuration: driver=ahci latency=0 | |
resources: irq:125 memory:91234000-91235fff memory:9123a000-9123a0ff ioport:3090(size=8) ioport:3080(size=4) ioport:3060(size=32) memory:91239000-912397ff | |
*-pci:0 | |
description: PCI bridge | |
product: Intel Corporation | |
vendor: Intel Corporation | |
physical id: 1b | |
bus info: pci@0000:00:1b.0 | |
version: f0 | |
width: 32 bits | |
clock: 33MHz | |
capabilities: pci pciexpress msi pm normal_decode bus_master cap_list | |
configuration: driver=pcieport | |
resources: irq:122 memory:91100000-911fffff | |
*-storage | |
description: Non-Volatile memory controller | |
product: NVMe SSD Controller SM981/PM981 | |
vendor: Samsung Electronics Co Ltd | |
physical id: 0 | |
bus info: pci@0000:01:00.0 | |
version: 00 | |
width: 64 bits | |
clock: 33MHz | |
capabilities: storage pm msi pciexpress msix nvm_express bus_master cap_list | |
configuration: driver=nvme latency=0 | |
resources: irq:16 memory:91100000-91103fff | |
*-pci:1 | |
description: PCI bridge | |
product: Intel Corporation | |
vendor: Intel Corporation | |
physical id: 1c | |
bus info: pci@0000:00:1c.0 | |
version: f0 | |
width: 32 bits | |
clock: 33MHz | |
capabilities: pci pciexpress msi pm normal_decode bus_master cap_list | |
configuration: driver=pcieport | |
resources: irq:123 | |
*-pci | |
description: PCI bridge | |
product: XIO2001 PCI Express-to-PCI Bridge | |
vendor: Texas Instruments | |
physical id: 0 | |
bus info: pci@0000:02:00.0 | |
version: 00 | |
width: 32 bits | |
clock: 33MHz | |
capabilities: pci pm msi pciexpress normal_decode bus_master cap_list | |
*-isa | |
description: ISA bridge | |
product: Intel Corporation | |
vendor: Intel Corporation | |
physical id: 1f | |
bus info: pci@0000:00:1f.0 | |
version: 10 | |
width: 32 bits | |
clock: 33MHz | |
capabilities: isa bus_master | |
configuration: latency=0 | |
*-multimedia | |
description: Audio device | |
product: Cannon Lake PCH cAVS | |
vendor: Intel Corporation | |
physical id: 1f.3 | |
bus info: pci@0000:00:1f.3 | |
version: 10 | |
width: 64 bits | |
clock: 33MHz | |
capabilities: pm msi bus_master cap_list | |
configuration: driver=snd_hda_intel latency=32 | |
resources: irq:142 memory:91230000-91233fff memory:91000000-910fffff | |
*-serial:1 UNCLAIMED | |
description: SMBus | |
product: Cannon Lake PCH SMBus Controller | |
vendor: Intel Corporation | |
physical id: 1f.4 | |
bus info: pci@0000:00:1f.4 | |
version: 10 | |
width: 64 bits | |
clock: 33MHz | |
configuration: latency=0 | |
resources: memory:91238000-912380ff ioport:efa0(size=32) | |
*-serial:2 UNCLAIMED | |
description: Serial bus controller | |
product: Cannon Lake PCH SPI Controller | |
vendor: Intel Corporation | |
physical id: 1f.5 | |
bus info: pci@0000:00:1f.5 | |
version: 10 | |
width: 32 bits | |
clock: 33MHz | |
configuration: latency=0 | |
resources: memory:fe010000-fe010fff | |
*-network | |
description: Ethernet interface | |
product: Ethernet Connection (7) I219-LM | |
vendor: Intel Corporation | |
physical id: 1f.6 | |
bus info: pci@0000:00:1f.6 | |
logical name: eno1 | |
version: 10 | |
serial: 8c:ec:4b:89:7f:cd | |
capacity: 1Gbit/s | |
width: 32 bits | |
clock: 33MHz | |
capabilities: pm msi bus_master cap_list ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation | |
configuration: autonegotiation=on broadcast=yes driver=e1000e driverversion=3.2.6-k firmware=0.5-4 latency=0 link=no multicast=yes port=twisted pair | |
resources: irq:127 memory:91200000-9121ffff | |
*-scsi:0 | |
physical id: 1 | |
logical name: scsi2 | |
capabilities: emulated | |
*-cdrom | |
description: DVD-RAM writer | |
product: DVD+-RW GU90N | |
vendor: HL-DT-ST | |
physical id: 0.0.0 | |
bus info: scsi@2:0.0.0 | |
logical name: /dev/cdrom | |
logical name: /dev/cdrw | |
logical name: /dev/dvd | |
logical name: /dev/dvdrw | |
logical name: /dev/sr0 | |
version: A1C3 | |
capabilities: removable audio cd-r cd-rw dvd dvd-r dvd-ram | |
configuration: ansiversion=5 status=nodisc | |
*-scsi:1 | |
physical id: 2 | |
bus info: usb@1:10 | |
logical name: scsi4 | |
capabilities: emulated scsi-host | |
configuration: driver=usb-storage | |
*-disk | |
description: SCSI Disk | |
product: Flash Drive FIT | |
vendor: Samsung | |
physical id: 0.0.0 | |
bus info: scsi@4:0.0.0 | |
logical name: /dev/sda | |
version: 1100 | |
serial: AA00000000000489 | |
size: 119GiB (128GB) | |
capabilities: removable | |
configuration: ansiversion=6 logicalsectorsize=512 sectorsize=512 | |
*-medium | |
physical id: 0 | |
logical name: /dev/sda | |
size: 119GiB (128GB) | |
capabilities: gpt-1.00 partitioned partitioned:gpt | |
configuration: guid=8e160965-330e-4882-abc5-fbe49b776ed5 | |
*-volume | |
description: EFI partition | |
physical id: 1 | |
logical name: /dev/sda1 | |
logical name: /media/profiler/142E-C685 | |
serial: 957faa5c-f6f1-4b49-8065-328066db8a7f | |
capacity: 119GiB | |
configuration: mount.fstype=fuseblk mount.options=rw,nosuid,nodev,relatime,user_id=0,group_id=0,default_permissions,allow_other,blksize=4096 state=mounted |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
without lto: | |
profiler@profiler-OptiPlex-7060:~/.bitcoin-prune$ time ./command | |
real 226m24.587s | |
user 315m59.349s | |
sys 44m54.132s | |
with lto: | |
profiler@profiler-OptiPlex-7060:~/.bitcoin-prune$ time ./command | |
real 220m29.324s | |
user 301m52.406s | |
sys 45m23.807s | |
pruned command: /home/profiler/bitcoin/src/bitcoind -datadir="/home/profiler/.bitcoin-prune" -rpcport=9999 -dbcache=12288 -stopatheight=600000 -debug=0 -nodebuglogfile -printtoconsole=0 -dnsseed=0 -prune=550 -connect=127.0.0.1:3333 | |
synced node command: /home/profiler/bitcoin/src/bitcoind -datadir="/home/profiler/.bitcoin" -dbcache=12288 -debug=0 -nodebuglogfile -printtoconsole=0 --port=3333 -dnsseed=0 --listen=127.0.0.1 --maxtipage=$((24*60*60*365)) | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-match=native no lto:
real 230m37.674s
user 307m5.831s
sys 45m46.473s