[BTC-dev] Full Orphanage Thermonuke DHAT Output

Stanislav Datskovskiy stas at loper-os.org
Thu May 7 14:11:24 UTC 2015


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Another overnight run.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (GNU/Linux)

iQEcBAEBCgAGBQJVS3JiAAoJELmCKKABq//HXWQH/iUcb/uv4AUsIIj4xWfRaokw
TLv61NJzfmqv+Akgw9vdD55eXxJ+G2GIpl9NUBTIkIDYCkQwyYDZy+qBdblO17lC
ClaG6NBl2egivajJXbkA2zjNYrK7s9tVxU7Ybw0dPun/s9TTaU0mHodazoUuQdb0
fC3LV0/K4HRhFKFu0iYlzTg5ZcwoOD2NOV0UXs4Q/oU00H3qPyl0BSnbAslAc4EK
LFjy1+VMW23pago686KHpbtmTXUV6Cnxx1if2WiSxMPtsSz76cz/ACCW1fYUza8e
JKdm+hNcl4XNIsIUqzz1xF644DVzOhI7gFniqvgVX8kgDxdfb5auBPij0cVMGv8=
=UER3
-----END PGP SIGNATURE-----
-------------- next part --------------
==4468== DHAT, a dynamic heap analysis tool
==4468== NOTE: This is an Experimental-Class Valgrind Tool
==4468== Copyright (C) 2010-2013, and GNU GPL'd, by Mozilla Inc
==4468== Using Valgrind-3.9.0 and LibVEX; rerun with -h for copyright info
==4468== Command: ./bitcoind
==4468== 
--4468-- Valgrind options:
--4468--    -v
--4468--    --tool=exp-dhat
--4468-- Contents of /proc/version:
--4468--   Linux version 3.17.0-stasnew (root at slon) (gcc version 4.8.3 (Gentoo 4.8.3 p1.1, pie-0.5.9) ) #1 SMP PREEMPT Mon Nov 3 18:20:49 EST 2014
--4468-- Arch and hwcaps: AMD64, amd64-cx16-lzcnt-rdtscp-sse3-avx-avx2-bmi
--4468-- Page sizes: currently 4096, max supported 4096
--4468-- Valgrind library directory: /usr/lib64/valgrind
--4468-- Reading syms from /home/stas/btc_clean/moo/b/bitcoin/src/bitcoind
--4468-- Reading syms from /lib64/ld-2.19.so
--4468--   Considering /usr/lib/debug/lib64/ld-2.19.so.debug ..
--4468--   .. CRC is valid
--4468-- Reading syms from /usr/lib64/valgrind/exp-dhat-amd64-linux
--4468--   Considering /usr/lib/debug/usr/lib64/valgrind/exp-dhat-amd64-linux.debug ..
--4468--   .. CRC is valid
--4468--    object doesn't have a dynamic symbol table
--4468-- Scheduler: using generic scheduler lock implementation.
==4468== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-4468-by-stas-on-???
==4468== embedded gdbserver: writing to   /tmp/vgdb-pipe-to-vgdb-from-4468-by-stas-on-???
==4468== embedded gdbserver: shared mem   /tmp/vgdb-pipe-shared-mem-vgdb-4468-by-stas-on-???
==4468== 
==4468== TO CONTROL THIS PROCESS USING vgdb (which you probably
==4468== don't want to do, unless you know exactly what you're doing,
==4468== or are doing some strange experiment):
==4468==   /usr/lib64/valgrind/../../bin/vgdb --pid=4468 ...command...
==4468== 
==4468== TO DEBUG THIS PROCESS USING GDB: start GDB like this
==4468==   /path/to/gdb ./bitcoind
==4468== and then give GDB the following command
==4468==   target remote | /usr/lib64/valgrind/../../bin/vgdb --pid=4468
==4468== --pid is optional if only one valgrind process is running
==4468== 
--4468-- Reading syms from /usr/lib64/valgrind/vgpreload_core-amd64-linux.so
--4468--   Considering /usr/lib/debug/usr/lib64/valgrind/vgpreload_core-amd64-linux.so.debug ..
--4468--   .. CRC is valid
--4468-- Reading syms from /usr/lib64/valgrind/vgpreload_exp-dhat-amd64-linux.so
--4468--   Considering /usr/lib/debug/usr/lib64/valgrind/vgpreload_exp-dhat-amd64-linux.so.debug ..
--4468--   .. CRC is valid
--4468-- Reading syms from /usr/lib64/libboost_system.so.1.52.0
--4468--   Considering /usr/lib/debug/usr/lib64/libboost_system.so.1.52.0.debug ..
--4468--   .. CRC is valid
--4468-- Reading syms from /usr/lib64/libboost_filesystem.so.1.52.0
--4468--   Considering /usr/lib/debug/usr/lib64/libboost_filesystem.so.1.52.0.debug ..
--4468--   .. CRC is valid
--4468-- Reading syms from /usr/lib64/libboost_program_options.so.1.52.0
--4468--   Considering /usr/lib/debug/usr/lib64/libboost_program_options.so.1.52.0.debug ..
--4468--   .. CRC is valid
--4468-- Reading syms from /usr/lib64/libboost_thread.so.1.52.0
--4468--   Considering /usr/lib/debug/usr/lib64/libboost_thread.so.1.52.0.debug ..
--4468--   .. CRC is valid
--4468-- Reading syms from /usr/lib64/libdb_cxx-4.8.so
--4468--    object doesn't have a symbol table
--4468-- Reading syms from /usr/lib64/libssl.so.1.0.0
--4468--    object doesn't have a symbol table
--4468-- Reading syms from /usr/lib64/libcrypto.so.1.0.0
--4468--    object doesn't have a symbol table
--4468-- Reading syms from /lib64/libpthread-2.19.so
--4468--   Considering /usr/lib/debug/lib64/libpthread-2.19.so.debug ..
--4468--   .. CRC is valid
--4468-- Reading syms from /usr/lib64/gcc/x86_64-pc-linux-gnu/4.8.3/libstdc++.so.6.0.19
--4468--    object doesn't have a symbol table
--4468-- Reading syms from /lib64/libm-2.19.so
--4468--   Considering /usr/lib/debug/lib64/libm-2.19.so.debug ..
--4468--   .. CRC is valid
--4468-- Reading syms from /lib64/libc-2.19.so
--4468--   Considering /usr/lib/debug/lib64/libc-2.19.so.debug ..
--4468--   .. CRC is valid
--4468-- Reading syms from /lib64/librt-2.19.so
--4468--   Considering /usr/lib/debug/lib64/librt-2.19.so.debug ..
--4468--   .. CRC is valid
--4468-- Reading syms from /usr/lib64/gcc/x86_64-pc-linux-gnu/4.8.3/libgcc_s.so.1
--4468--    object doesn't have a symbol table
--4468-- Reading syms from /lib64/libdl-2.19.so
--4468--   Considering /usr/lib/debug/lib64/libdl-2.19.so.debug ..
--4468--   .. CRC is valid
--4468-- Reading syms from /lib64/libz.so.1.2.8
--4468--    object doesn't have a symbol table
--4468-- REDIR: 0x6333fd0 (operator new(unsigned long)) redirected to 0x4c27580 (operator new(unsigned long))
--4468-- REDIR: 0x694e7e0 (calloc) redirected to 0x4c29100 (calloc)
--4468-- REDIR: 0x6332310 (operator delete(void*)) redirected to 0x4c28760 (operator delete(void*))
--4468-- REDIR: 0x694de60 (malloc) redirected to 0x4c27020 (malloc)
--4468-- REDIR: 0xffffffffff600400 (???) redirected to 0x3803681d (vgPlain_amd64_linux_REDIR_FOR_vtime)
--4468-- REDIR: 0xffffffffff600000 (???) redirected to 0x38036813 (vgPlain_amd64_linux_REDIR_FOR_vgettimeofday)
--4468-- REDIR: 0x694e4b0 (free) redirected to 0x4c28290 (free)
--4468-- REDIR: 0x6334100 (operator new[](unsigned long)) redirected to 0x4c27ca0 (operator new[](unsigned long))
--4468-- REDIR: 0x6332340 (operator delete[](void*)) redirected to 0x4c28ce0 (operator delete[](void*))
--4468-- REDIR: 0x694e540 (realloc) redirected to 0x4c29320 (realloc)
--4468-- Reading syms from /lib64/libnss_files-2.19.so
--4468--   Considering /usr/lib/debug/lib64/libnss_files-2.19.so.debug ..
--4468--   .. CRC is valid
--4468-- Reading syms from /lib64/libnss_dns-2.19.so
--4468--   Considering /usr/lib/debug/lib64/libnss_dns-2.19.so.debug ..
--4468--   .. CRC is valid
--4468-- Reading syms from /lib64/libresolv-2.19.so
--4468--   Considering /usr/lib/debug/lib64/libresolv-2.19.so.debug ..
--4468--   .. CRC is valid
--4468-- Discarding syms at 0x11abb300-0x11ac1f38 in /lib64/libnss_files-2.19.so due to munmap()
--4468-- Discarding syms at 0x11cc6110-0x11cc8f78 in /lib64/libnss_dns-2.19.so due to munmap()
--4468-- Discarding syms at 0x11eceae0-0x11edab58 in /lib64/libresolv-2.19.so due to munmap()
==4468== 
==4468== ======== SUMMARY STATISTICS ========
==4468== 
==4468== guest_insns:  5,482,101,302,886
==4468== 
==4468== max_live:     165,917,929 in 832,432 blocks
==4468== 
==4468== tot_alloc:    143,976,141,074 in 538,669,980 blocks
==4468== 
==4468== insns per allocated byte: 38
==4468== 
==4468== 
==4468== ======== ORDERED BY decreasing "max-bytes-live": top 10 allocators ========
==4468== 
==4468== -------------------- 1 of 10 --------------------
==4468== max-live:    111,636,198 in 13 blocks
==4468== tot-alloc:   2,478,970,319 in 1,768 blocks (avg size 1402132.53)
==4468== deaths:      1,759, at avg age 30,992,971,827 (0.56% of prog lifetime)
==4468== acc-ratios:  1.45 rd, 2.88 wr  (3,606,879,323 b-read, 7,160,851,141 b-written)
==4468==    at 0x4C275F0: operator new(unsigned long) (vg_replace_malloc.c:319)
==4468==    by 0x45F699: std::vector<char, zero_after_free_allocator<char> >::_M_fill_insert(__gnu_cxx::__normal_iterator<char*, std::vector<char, zero_after_free_allocator<char> > >, unsigned long, char const&) (new_allocator.h:104)
==4468==    by 0x471508: ThreadSocketHandler2(void*) (stl_vector.h:1024)
==4468==    by 0x471786: ThreadSocketHandler(void*) (net.cpp:761)
==4468==    by 0x60BB082: start_thread (in /lib64/libpthread-2.19.so)
==4468==    by 0x69B926C: clone (in /lib64/libc-2.19.so)
==4468== 
==4468== -------------------- 2 of 10 --------------------
==4468== max-live:    36,105,124 in 2 blocks
==4468== tot-alloc:   58,298,294 in 23 blocks (avg size 2534708.43)
==4468== deaths:      23, at avg age 24,210,538,078 (0.44% of prog lifetime)
==4468== acc-ratios:  8.34 rd, 2.15 wr  (486,494,166 b-read, 125,781,095 b-written)
==4468==    at 0x4C275F0: operator new(unsigned long) (vg_replace_malloc.c:319)
==4468==    by 0x429B21: void std::vector<char, zero_after_free_allocator<char> >::_M_range_insert<char const*>(__gnu_cxx::__normal_iterator<char*, std::vector<char, zero_after_free_allocator<char> > >, char const*, char const*, std::forward_iterator_tag) (new_allocator.h:104)
==4468==    by 0x448440: void Serialize_impl<CDataStream, unsigned char, std::allocator<unsigned char> >(CDataStream&, std::vector<unsigned char, std::allocator<unsigned char> > const&, int, int, boost::integral_constant<bool, true> const&) [clone .isra.1071] (stl_vector.h:1291)
==4468==    by 0x4660BE: void CBlock::Serialize<CDataStream>(CDataStream&, int, int) const (serialize.h:491)
==4468==    by 0x4573E1: ProcessMessage(CNode*, std::string, CDataStream&) (serialize.h:406)
==4468==    by 0x459EE7: ProcessMessages(CNode*) (main.cpp:2344)
==4468==    by 0x46EFE2: ThreadMessageHandler2(void*) (net.cpp:1499)
==4468==    by 0x46F1D6: ThreadMessageHandler(void*) (net.cpp:1464)
==4468==    by 0x60BB082: start_thread (in /lib64/libpthread-2.19.so)
==4468==    by 0x69B926C: clone (in /lib64/libc-2.19.so)
==4468== 
==4468== -------------------- 3 of 10 --------------------
==4468== max-live:    33,759,658 in 2 blocks
==4468== tot-alloc:   33,865,252 in 5 blocks (avg size 6773050.40)
==4468== deaths:      5, at avg age 271,802,535,778 (4.95% of prog lifetime)
==4468== acc-ratios:  126.60 rd, 3.68 wr  (4,287,600,859 b-read, 124,838,104 b-written)
==4468==    at 0x4C275F0: operator new(unsigned long) (vg_replace_malloc.c:319)
==4468==    by 0x429B21: void std::vector<char, zero_after_free_allocator<char> >::_M_range_insert<char const*>(__gnu_cxx::__normal_iterator<char*, std::vector<char, zero_after_free_allocator<char> > >, char const*, char const*, std::forward_iterator_tag) (new_allocator.h:104)
==4468==    by 0x448440: void Serialize_impl<CDataStream, unsigned char, std::allocator<unsigned char> >(CDataStream&, std::vector<unsigned char, std::allocator<unsigned char> > const&, int, int, boost::integral_constant<bool, true> const&) [clone .isra.1071] (stl_vector.h:1291)
==4468==    by 0x466140: void CBlock::Serialize<CDataStream>(CDataStream&, int, int) const (serialize.h:491)
==4468==    by 0x4573E1: ProcessMessage(CNode*, std::string, CDataStream&) (serialize.h:406)
==4468==    by 0x459EE7: ProcessMessages(CNode*) (main.cpp:2344)
==4468==    by 0x46EFE2: ThreadMessageHandler2(void*) (net.cpp:1499)
==4468==    by 0x46F1D6: ThreadMessageHandler(void*) (net.cpp:1464)
==4468==    by 0x60BB082: start_thread (in /lib64/libpthread-2.19.so)
==4468==    by 0x69B926C: clone (in /lib64/libc-2.19.so)
==4468== 
==4468== -------------------- 4 of 10 --------------------
==4468== max-live:    8,276,800 in 73,900 blocks
==4468== tot-alloc:   8,276,800 in 73,900 blocks (avg size 112.00)
==4468== deaths:      none (none of these blocks were freed)
==4468== acc-ratios:  366.65 rd, 2.25 wr  (3,034,696,216 b-read, 18,622,800 b-written)
==4468==    at 0x4C275F0: operator new(unsigned long) (vg_replace_malloc.c:319)
==4468==    by 0x41E047: InsertBlockIndex(uint256) (db.cpp:484)
==4468==    by 0x41FEE8: CTxDB::LoadBlockIndex() (db.cpp:527)
==4468==    by 0x45A704: LoadBlockIndex(bool) (main.cpp:1549)
==4468==    by 0x438B8C: AppInit2(int, char**) (init.cpp:288)
==4468==    by 0x43B459: AppInit(int, char**) (init.cpp:98)
==4468==    by 0x413988: main (init.cpp:84)
==4468== 
==4468== Aggregated access counts by offset:
==4468== 
==4468== [   0]  408064 408064 408064 408064 408064 408064 408064 408064 378375072 378375072 378375072 378375072 378375072 378375072 378375072 378375072 
==4468== [  16]  206005 206005 206005 206005 206005 206005 206005 206005 211816 211816 211816 211816 211816 211816 211816 211816 
==4468== [  32]  227787 227787 227787 227787 0 0 0 0 517300 517300 517300 517300 517300 517300 517300 517300 
==4468== [  48]  443400 443400 443400 443400 369500 369500 369500 369500 295600 295600 295600 295600 147800 73900 73900 73900 
==4468== [  64]  147800 147800 147800 147800 221700 221700 221700 221700 221700 221700 221700 221700 221700 221700 221700 221700 
==4468== [  80]  221700 221700 221700 221700 221700 221700 221700 221700 221700 221700 221700 221700 221700 221700 221700 221700 
==4468== [  96]  221700 221700 221700 221700 151652 151652 151652 151652 243726 243726 243726 243726 147800 147800 147800 147800 
==4468== 
==4468== -------------------- 5 of 10 --------------------
==4468== max-live:    8,258,768 in 73,739 blocks
==4468== tot-alloc:   8,258,768 in 73,739 blocks (avg size 112.00)
==4468== deaths:      none (none of these blocks were freed)
==4468== acc-ratios:  366.67 rd, 2.25 wr  (3,028,278,103 b-read, 18,582,236 b-written)
==4468==    at 0x4C275F0: operator new(unsigned long) (vg_replace_malloc.c:319)
==4468==    by 0x41E047: InsertBlockIndex(uint256) (db.cpp:484)
==4468==    by 0x41FE71: CTxDB::LoadBlockIndex() (db.cpp:525)
==4468==    by 0x45A704: LoadBlockIndex(bool) (main.cpp:1549)
==4468==    by 0x438B8C: AppInit2(int, char**) (init.cpp:288)
==4468==    by 0x43B459: AppInit(int, char**) (init.cpp:98)
==4468==    by 0x413988: main (init.cpp:84)
==4468== 
==4468== Aggregated access counts by offset:
==4468== 
==4468== [   0]  412070 412070 412070 412070 412070 412070 412070 412070 377551185 377551185 377551185 377551185 377551185 377551185 377551185 377551185 
==4468== [  16]  205919 205919 205919 205919 205919 205919 205919 205919 212121 212121 212121 212121 212121 212121 212121 212121 
==4468== [  32]  227699 227699 227699 227699 0 0 0 0 516175 516175 516175 516175 516175 516175 516175 516175 
==4468== [  48]  442440 442440 442440 442440 368695 368695 368695 368695 294958 294958 294958 294958 147478 73739 73739 73739 
==4468== [  64]  147479 147479 147479 147479 221218 221218 221218 221218 221218 221218 221218 221218 221218 221218 221218 221218 
==4468== [  80]  221218 221218 221218 221218 221218 221218 221218 221218 221218 221218 221218 221218 221218 221218 221218 221218 
==4468== [  96]  221218 221218 221218 221218 147501 147501 147501 147501 281976 281976 281976 281976 147479 147479 147479 147479 
==4468== 
==4468== -------------------- 6 of 10 --------------------
==4468== max-live:    8,254,400 in 73,700 blocks
==4468== tot-alloc:   8,254,400 in 73,700 blocks (avg size 112.00)
==4468== deaths:      none (none of these blocks were freed)
==4468== acc-ratios:  366.64 rd, 2.25 wr  (3,026,442,100 b-read, 18,572,400 b-written)
==4468==    at 0x4C275F0: operator new(unsigned long) (vg_replace_malloc.c:319)
==4468==    by 0x41E047: InsertBlockIndex(uint256) (db.cpp:484)
==4468==    by 0x41FEAC: CTxDB::LoadBlockIndex() (db.cpp:526)
==4468==    by 0x45A704: LoadBlockIndex(bool) (main.cpp:1549)
==4468==    by 0x438B8C: AppInit2(int, char**) (init.cpp:288)
==4468==    by 0x43B459: AppInit(int, char**) (init.cpp:98)
==4468==    by 0x413988: main (init.cpp:84)
==4468== 
==4468== Aggregated access counts by offset:
==4468== 
==4468== [   0]  409496 409496 409496 409496 409496 409496 409496 409496 377349721 377349721 377349721 377349721 377349721 377349721 377349721 377349721 
==4468== [  16]  205134 205134 205134 205134 205134 205134 205134 205134 209668 209668 209668 209668 209668 209668 209668 209668 
==4468== [  32]  225895 225895 225895 225895 0 0 0 0 515900 515900 515900 515900 515900 515900 515900 515900 
==4468== [  48]  442200 442200 442200 442200 368500 368500 368500 368500 294800 294800 294800 294800 147400 73700 73700 73700 
==4468== [  64]  147400 147400 147400 147400 221100 221100 221100 221100 221100 221100 221100 221100 221100 221100 221100 221100 
==4468== [  80]  221100 221100 221100 221100 221100 221100 221100 221100 221100 221100 221100 221100 221100 221100 221100 221100 
==4468== [  96]  221100 221100 221100 221100 147413 147413 147413 147413 239254 239254 239254 239254 147400 147400 147400 147400 
==4468== 
==4468== -------------------- 7 of 10 --------------------
==4468== max-live:    5,662,752 in 58,987 blocks
==4468== tot-alloc:   5,662,752 in 58,987 blocks (avg size 96.00)
==4468== deaths:      58,987, at avg age 5,427,789,660,875 (99.00% of prog lifetime)
==4468== acc-ratios:  820.30 rd, 2.19 wr  (4,645,173,542 b-read, 12,409,668 b-written)
==4468==    at 0x4C275F0: operator new(unsigned long) (vg_replace_malloc.c:319)
==4468==    by 0x429713: std::_Rb_tree<std::vector<unsigned char, std::allocator<unsigned char> >, std::pair<std::vector<unsigned char, std::allocator<unsigned char> > const, CAddress>, std::_Select1st<std::pair<std::vector<unsigned char, std::allocator<unsigned char> > const, CAddress> >, std::less<std::vector<unsigned char, std::allocator<unsigned char> > >, std::allocator<std::pair<std::vector<unsigned char, std::allocator<unsigned char> > const, CAddress> > >::_M_insert_unique(std::pair<std::vector<unsigned char, std::allocator<unsigned char> > const, CAddress> const&) (new_allocator.h:104)
==4468==    by 0x41D411: CAddrDB::LoadAddresses() (stl_map.h:595)
==4468==    by 0x420DF2: LoadAddresses() (db.cpp:670)
==4468==    by 0x438B18: AppInit2(int, char**) (init.cpp:281)
==4468==    by 0x43B459: AppInit(int, char**) (init.cpp:98)
==4468==    by 0x413988: main (init.cpp:84)
==4468== 
==4468== Aggregated access counts by offset:
==4468== 
==4468== [   0]  769842 769842 769842 769842 505 505 505 505 44090636 44090636 44090636 44090636 44090636 44090636 44090636 44090636 
==4468== [  16]  46145292 46145292 46145292 46145292 46145292 46145292 46145292 46145292 104392179 104392179 104392179 104392179 104392179 104392179 104392179 104392179 
==4468== [  32]  88532519 88532519 88532519 88532519 88532519 88532519 88532519 88532519 88532519 88532519 88532519 88532519 88532519 88532519 88532519 88532519 
==4468== [  48]  117974 117974 117974 117974 117974 117974 117974 117974 41514199 41514199 41514199 41514199 41514199 41514199 41514199 41514199 
==4468== [  64]  41515266 41515266 41515266 41515266 41515266 41515266 41515266 41515266 41515266 41515266 41515266 41515266 41515266 41515266 41515266 41515266 
==4468== [  80]  41515266 41515266 41514149 41514149 43625689 43625689 43625689 43625689 41514179 41514179 41514179 41514179 41382416 41382416 41382416 41382416 
==4468== 
==4468== -------------------- 8 of 10 --------------------
==4468== max-live:    5,320,800 in 73,900 blocks
==4468== tot-alloc:   5,320,800 in 73,900 blocks (avg size 72.00)
==4468== deaths:      73,900, at avg age 5,479,788,454,354 (99.95% of prog lifetime)
==4468== acc-ratios:  56.36 rd, 1.69 wr  (299,887,400 b-read, 9,032,172 b-written)
==4468==    at 0x4C275F0: operator new(unsigned long) (vg_replace_malloc.c:319)
==4468==    by 0x42CA13: std::_Rb_tree<uint256, std::pair<uint256 const, CBlockIndex*>, std::_Select1st<std::pair<uint256 const, CBlockIndex*> >, std::less<uint256>, std::allocator<std::pair<uint256 const, CBlockIndex*> > >::_M_insert_(std::_Rb_tree_node_base*, std::_Rb_tree_node_base*, std::pair<uint256 const, CBlockIndex*> const&) (new_allocator.h:104)
==4468==    by 0x41E0EA: InsertBlockIndex(uint256) (stl_tree.h:1382)
==4468==    by 0x41FEE8: CTxDB::LoadBlockIndex() (db.cpp:527)
==4468==    by 0x45A704: LoadBlockIndex(bool) (main.cpp:1549)
==4468==    by 0x438B8C: AppInit2(int, char**) (init.cpp:288)
==4468==    by 0x43B459: AppInit(int, char**) (init.cpp:98)
==4468==    by 0x413988: main (init.cpp:84)
==4468== 
==4468== Aggregated access counts by offset:
==4468== 
==4468== [   0]  535837 535837 535837 535837 0 0 0 0 677198 677198 677198 677198 677198 677198 677198 677198 
==4468== [  16]  3311939 3311939 3311939 3311939 3311939 3311939 3311939 3311939 3165761 3165761 3165761 3165761 3165761 3165761 3165761 3165761 
==4468== [  32]  5636020 5636020 5636020 5636020 5636020 5636020 5636020 5636020 5636020 5636020 5636020 5636020 5636020 5636020 5636020 5636020 
==4468== [  48]  5636020 5636020 5636020 5636020 5636020 5636020 5636020 5636020 5636020 5636020 5636020 5636020 5636020 5636020 5636020 5636020 
==4468== [  64]  302015 302015 302015 302015 302015 302015 302015 302015 
==4468== 
==4468== -------------------- 9 of 10 --------------------
==4468== max-live:    5,309,208 in 73,739 blocks
==4468== tot-alloc:   5,309,208 in 73,739 blocks (avg size 72.00)
==4468== deaths:      73,739, at avg age 5,479,792,794,927 (99.95% of prog lifetime)
==4468== acc-ratios:  54.48 rd, 1.53 wr  (289,298,724 b-read, 8,126,816 b-written)
==4468==    at 0x4C275F0: operator new(unsigned long) (vg_replace_malloc.c:319)
==4468==    by 0x42CA13: std::_Rb_tree<uint256, std::pair<uint256 const, CBlockIndex*>, std::_Select1st<std::pair<uint256 const, CBlockIndex*> >, std::less<uint256>, std::allocator<std::pair<uint256 const, CBlockIndex*> > >::_M_insert_(std::_Rb_tree_node_base*, std::_Rb_tree_node_base*, std::pair<uint256 const, CBlockIndex*> const&) (new_allocator.h:104)
==4468==    by 0x41E0EA: InsertBlockIndex(uint256) (stl_tree.h:1382)
==4468==    by 0x41FE71: CTxDB::LoadBlockIndex() (db.cpp:525)
==4468==    by 0x45A704: LoadBlockIndex(bool) (main.cpp:1549)
==4468==    by 0x438B8C: AppInit2(int, char**) (init.cpp:288)
==4468==    by 0x43B459: AppInit(int, char**) (init.cpp:98)
==4468==    by 0x413988: main (init.cpp:84)
==4468== 
==4468== Aggregated access counts by offset:
==4468== 
==4468== [   0]  471357 471357 471357 471357 0 0 0 0 677085 677085 677085 677085 677085 677085 677085 677085 
==4468== [  16]  3315648 3315648 3315648 3315648 3315648 3315648 3315648 3315648 3166365 3166365 3166365 3166365 3166365 3166365 3166365 3166365 
==4468== [  32]  5727976 5727976 5727976 5727976 5727976 5727976 5727976 5727976 5727976 5727976 5727976 5727976 5727976 5727976 5727976 5727976 
==4468== [  48]  5727976 5727976 5727976 5727976 5727976 5727976 5727976 5727976 5727976 5727976 5727976 5727976 5727976 5727976 5727976 5727976 
==4468== [  64]  295740 295740 295740 295740 295740 295740 295740 295740 
==4468== 
==4468== -------------------- 10 of 10 --------------------
==4468== max-live:    5,306,400 in 73,700 blocks
==4468== tot-alloc:   5,306,400 in 73,700 blocks (avg size 72.00)
==4468== deaths:      73,700, at avg age 5,479,788,296,047 (99.95% of prog lifetime)
==4468== acc-ratios:  40.70 rd, 1.53 wr  (215,977,304 b-read, 8,126,148 b-written)
==4468==    at 0x4C275F0: operator new(unsigned long) (vg_replace_malloc.c:319)
==4468==    by 0x42CA13: std::_Rb_tree<uint256, std::pair<uint256 const, CBlockIndex*>, std::_Select1st<std::pair<uint256 const, CBlockIndex*> >, std::less<uint256>, std::allocator<std::pair<uint256 const, CBlockIndex*> > >::_M_insert_(std::_Rb_tree_node_base*, std::_Rb_tree_node_base*, std::pair<uint256 const, CBlockIndex*> const&) (new_allocator.h:104)
==4468==    by 0x41E0EA: InsertBlockIndex(uint256) (stl_tree.h:1382)
==4468==    by 0x41FEAC: CTxDB::LoadBlockIndex() (db.cpp:526)
==4468==    by 0x45A704: LoadBlockIndex(bool) (main.cpp:1549)
==4468==    by 0x438B8C: AppInit2(int, char**) (init.cpp:288)
==4468==    by 0x43B459: AppInit(int, char**) (init.cpp:98)
==4468==    by 0x413988: main (init.cpp:84)
==4468== 
==4468== Aggregated access counts by offset:
==4468== 
==4468== [   0]  470319 470319 470319 470319 0 0 0 0 675191 675191 675191 675191 675191 675191 675191 675191 
==4468== [  16]  2916446 2916446 2916446 2916446 2916446 2916446 2916446 2916446 2740064 2740064 2740064 2740064 2740064 2740064 2740064 2740064 
==4468== [  32]  5215822 5215822 5215822 5215822 5215822 5215822 5215822 5215822 5215822 5215822 5215822 5215822 5215822 5215822 5215822 5215822 
==4468== [  48]  5215822 5215822 5215822 5215822 5215822 5215822 5215822 5215822 5215822 5215822 5215822 5215822 5215822 5215822 5215822 5215822 
==4468== [  64]  295558 295558 295558 295558 295558 295558 295558 295558 
==4468== 
==4468== 
==4468== 
==4468== ==============================================================
==4468== 
==4468== Some hints: (see --help for command line option details):
==4468== 
==4468== * summary stats for whole program are at the top of this output
==4468== 
==4468== * --show-top-n=  controls how many alloc points are shown.
==4468==                  You probably want to set it much higher than
==4468==                  the default value (10)
==4468== 
==4468== * --sort-by=     specifies the sort key for output.
==4468==                  See --help for details.
==4468== 
==4468== * Each allocation stack, by default 12 frames, counts as
==4468==   a separate alloc point.  This causes the data to be spread out
==4468==   over far too many alloc points.  I strongly suggest using
==4468==   --num-callers=4 or some such, to reduce the spreading.
==4468== 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dhat.txt.sig
Type: application/octet-stream
Size: 490 bytes
Desc: not available
URL: <http://therealbitcoin.org/ml/btc-dev/attachments/20150507/dhat_63fabfeeb8a5aa27423f0b55f852f8825a0e9b36.txt.sig>


More information about the BTC-dev mailing list