9891 libbe slow building snapshot list

Review Request #1238 — Created Oct. 15, 2018 and submitted

citrus
illumos-gate
master
9891
daeca56...
general
jimklimov
9891 libbe slow building snapshot list

Before on a system with many snapshots, time beadm list -s

real 48.6 user 4.7 sys 43.8
real 44.6 user 4.5 sys 40.1
real 45.5 user 4.4 sys 41.0
real 44.4 user 4.5 sys 39.8

After, user time is consistently less.

real 42.6 user 2.9 sys 39.7
real 41.4 user 3.0 sys 38.3
real 40.6 user 3.1 sys 37.4
real 41.5 user 2.8 sys 38.5

  • 1
  • 0
  • 0
  • 0
  • 1
Description From Last Updated
Why do the NULL check here when the new be_allocate_callback_nodes() does it for you?!? danmcd danmcd
gdamore
  1. Ship It!
  2. 
      
hadfl
  1. Ship It!
  2. 
      
jimklimov
  1. Ship It!
  2. 
      
citrus
Review request changed

Status: Closed (submitted)

danmcd
  1. 
      
  2. usr/src/lib/libbe/common/be_list.c (Diff revision 1)
     
     

    Why do the NULL check here when the new be_allocate_callback_nodes() does it for you?!?

  3. 
      
Loading...