[haiku-bugs] Re: [Haiku] #17208: Memory usage constantly increases on network with lots of devices

  • From: "Haiku" <trac@xxxxxxxxxxxx>
  • To: undisclosed-recipients: ;
  • Date: Tue, 29 Nov 2022 23:40:47 -0000

#17208: Memory usage constantly increases on network with lots of devices
---------------------------------+-------------------------
  Reporter:  pakyr               |      Owner:  nobody
      Type:  bug                 |     Status:  new
  Priority:  critical            |  Milestone:  Unscheduled
 Component:  Network & Internet  |    Version:  R1/beta3
Resolution:                      |   Keywords:
Blocked By:                      |   Blocking:
  Platform:  All                 |
---------------------------------+-------------------------
Comment (by waddlesplash):

 Significant changes:

 {{{#!diff
                   address                   name  objsize    align
 usage  empty  usedobj    total    flags
 -KERN: 0xffffffff820067c0    block allocator: 64       64       64
 921600      0    14158    14175 80000000
 +KERN: 0xffffffff820067c0    block allocator: 64       64       64
 1085440      0    16671    16695 80000000

 -KERN: 0xffffffff8e17c400       net buffer cache      360        8
 7708672      0    20696    20702        0
 +KERN: 0xffffffff8e17c400       net buffer cache      360        8
 15294464      0    41071    41074        0

 -KERN: 0xffffffff8dec4400        data node cache     2048        8
 42401792      0    20696    20704        0
 +KERN: 0xffffffff8dec4400        data node cache     2048        8
 84148224      0    41071    41088        0

 -KERN: 0xffffffff8e27ec60                  mbufs      256        8
 118784      0      414      435        0
 +KERN: 0xffffffff8e27ec60                  mbufs      256        8
 315392      0      414     1155        0

 -KERN: 0xffffffff8e21fe00 mbuf jumbo chunks          4096        8
 1310720      0      305      320        0
 +KERN: 0xffffffff8e21fe00 mbuf jumbo chunks          4096        8
 2228224      0      309      544        0
 }}}

 The mbufs areas are much more fragmented, but there isn't an actual
 increase in the used objects. On the other hand, the net buffer and data
 nodes have doubled in object usage. That seems pretty clear as to where
 and what the leak is.
-- 
Ticket URL: <https://dev.haiku-os.org/ticket/17208#comment:28>
Haiku <https://dev.haiku-os.org>
The Haiku operating system.

Other related posts: