View Issue Details

IDProjectCategoryView StatusLast Update
0001704GNUnettopology daemonpublic2011-09-19 10:45
Reportermrwiggles Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
Product VersionGit master 
Summary0001704: gnunet-daemon-topology eats approximately 30M of memory
DescriptionMemory usage is across the board, on all peers running in the gnunet network with approximately 300 peers. I don't think this is good. Ran massif on the process with the following results:

Command: gnunet-daemon-topology

== 0 ===========================
Heap allocation functions accounted for 57.9% of measured spacetime

Called from:
  57.9% : 0x44EBC4F: GNUNET_xmalloc_unchecked_ (common_allocation.c:132)

  and 8 other insignificant places

== 1 ===========================
Context accounted for 57.9% of measured spacetime
  0x44EBC4F: GNUNET_xmalloc_unchecked_ (common_allocation.c:132)

Called from:
  84.7% : 0x44EBA49: GNUNET_xmalloc_ (common_allocation.c:61)

  76.7% : 0x44F318B: GNUNET_CONTAINER_bloomfilter_load (container_bloomfilter.c:470)

== 2 ===========================
Context accounted for 84.7% of measured spacetime
  0x44EBC4F: GNUNET_xmalloc_unchecked_ (common_allocation.c:132)
  0x44EBA49: GNUNET_xmalloc_ (common_allocation.c:61)

Called from:
  64.9% : 0x44DCD3D: GNUNET_HELLO_create (hello.c:187)

   1.3% : 0x8049F32: make_peer (gnunet-daemon-topology.c:481)

   0.7% : 0x44F6A57: GNUNET_CONTAINER_multihashmap_put (container_multihashmap.c:448)

  and 45 other insignificant places

---------------------------------
Context accounted for 76.7% of measured spacetime
  0x44EBC4F: GNUNET_xmalloc_unchecked_ (common_allocation.c:132)
  0x44F318B: GNUNET_CONTAINER_bloomfilter_load (container_bloomfilter.c:470)

Called from:
  76.7% : 0x804A07D: setup_filter (gnunet-daemon-topology.c:514)
TagsNo tags attached.

Activities

mrwiggles

2011-06-16 15:16

reporter   ~0004375

Topology daemon was using the wrong bloomfilter initialization function.

Issue History

Date Modified Username Field Change
2011-06-16 14:35 mrwiggles New Issue
2011-06-16 15:16 mrwiggles Note Added: 0004375
2011-06-16 15:16 mrwiggles Status new => closed
2011-06-16 15:16 mrwiggles Resolution open => fixed
2011-06-16 15:16 mrwiggles Fixed in Version => Git master
2011-09-19 10:45 Christian Grothoff Fixed in Version Git master => 0.9.0pre3
2011-09-19 10:45 Christian Grothoff Target Version => 0.9.0pre3