Knowledge Search


×
 

jbuf size can only be increased after adding UTM/IDP licenses and rebooting vSRX 3.0

  [KB34820] Show Article Properties


Summary:

The jbuf pool size is too small in vSRX 3.0

Symptoms:
FLOWD_VSRX(srxriad382-dut vty)# show usp jsf jbuf_pool stats

pool id :1
        total jbuf                          20276       <---- too small             
        in use                                  0
        freed                                   0
         freed w extbuf                         0
         freed wo extbuf                        0
        alloc                                   0
         alloc w extbuf                         0
         alloc wo extbuf                        0
        alloc fail                              0
        swap mbuf                               0

        jbuf pool start address        0x0x44b04380
        jbuf pool flags                0x00000002


        PLUGIN-NAME             PLUGIN-ID       BUFFERS-HOLD-COUNT       BUF-FREE-NOT-OWNER

pool id :2
        total jbuf                            204
        in use                                  0
        freed                                   0
         freed w extbuf                         0
         freed wo extbuf                        0
        alloc                                   0
         alloc w extbuf                         0
         alloc wo extbuf                        0
        alloc fail                              0
        swap mbuf                               0

        jbuf pool start address        0x0x44f317c0
        jbuf pool flags                0x00000002


        PLUGIN-NAME             PLUGIN-ID       BUFFERS-HOLD-COUNT       BUF-FREE-NOT-OWNER
Solution:

This is by design. After installing UTM/IDP license and reboot, jbuf pool size increases.

FLOWD_VSRX_S(srxriad383-dut vty)# show usp jsf jbuf_pool stats

pool id :1
        total jbuf                         101376   <-- as expected
        in use                                  0
        freed                                   0
         freed w extbuf                         0
         freed wo extbuf                        0
        alloc                                   0
         alloc w extbuf                         0
         alloc wo extbuf                        0
        alloc fail                              0
        swap mbuf                               0

        jbuf pool start address        0x0x43aede40
        jbuf pool flags                0x00000002


        PLUGIN-NAME             PLUGIN-ID       BUFFERS-HOLD-COUNT       BUF-FREE-NOT-OWNER

pool id :2
        total jbuf                           1024
        in use                                  0
        freed                                   0
         freed w extbuf                         0
         freed wo extbuf                        0
        alloc                                   0
         alloc w extbuf                         0
         alloc wo extbuf                        0
        alloc fail                              0
        swap mbuf                               0

        jbuf pool start address        0x0x44fcfe80
        jbuf pool flags                0x00000002


        PLUGIN-NAME             PLUGIN-ID       BUFFERS-HOLD-COUNT       BUF-FREE-NOT-OWNER
Related Links: