Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #New Block Size Histogram stuff at the top half. Old stuff at the bottom half.
- #Example shown of: "freenas-boot" default FreeNas 11.3-U3.2 freshish install boot pool
- # + a Data pool "TEMPOOL" with a jail, packages, ports and the ZFS compilation data on it.
- root@freenas[~]# ./zdb -bbbe freenas-boot
- Block Size Histogram
- block psize lsize asize
- size Count Size Cum. Count Size Cum. Count Size Cum.
- 512: 119K 59.3M 59.3M 95.5K 47.7M 47.7M 102K 51.1M 51.1M
- 1K: 59.1K 67.5M 127M 60.4K 68.9M 117M 71.0K 78.2M 129M
- 2K: 31.7K 82.6M 209M 24.8K 63.5M 180M 26.8K 68.1M 197M
- 4K: 16.2K 84.0M 293M 15.4K 83.2M 263M 25.1K 133M 330M
- 8K: 7.25K 79.1M 373M 13.1K 139M 402M 7.72K 84.3M 415M
- 16K: 4.71K 105M 478M 18.6K 333M 735M 4.77K 106M 521M
- 32K: 5.53K 263M 740M 3.88K 158M 894M 5.53K 262M 783M
- 64K: 6.30K 521M 1.23G 1.54K 137M 1.01G 6.32K 522M 1.27G
- 128K: 633 79.1M 1.31G 16.9K 2.11G 3.12G 633 79.1M 1.35G
- 256K: 0 0 1.31G 0 0 3.12G 0 0 1.35G
- 512K: 0 0 1.31G 0 0 3.12G 0 0 1.35G
- 1M: 0 0 1.31G 0 0 3.12G 0 0 1.35G
- 2M: 0 0 1.31G 0 0 3.12G 0 0 1.35G
- 4M: 0 0 1.31G 0 0 3.12G 0 0 1.35G
- 8M: 0 0 1.31G 0 0 3.12G 0 0 1.35G
- 16M: 0 0 1.31G 0 0 3.12G 0 0 1.35G
- root@freenas[~]# ./zdb -bbbe TEMPOOL
- Block Size Histogram
- block psize lsize asize
- size Count Size Cum. Count Size Cum. Count Size Cum.
- 512: 131K 65.6M 65.6M 102K 51.1M 51.1M 0 0 0
- 1K: 93.7K 110M 176M 88.0K 102M 153M 0 0 0
- 2K: 70.0K 181M 357M 58.3K 152M 305M 0 0 0
- 4K: 46.6K 234M 591M 40.4K 218M 523M 277K 1.08G 1.08G
- 8K: 20.6K 226M 817M 29.2K 315M 838M 78.4K 675M 1.74G
- 16K: 11.3K 251M 1.04G 32.2K 625M 1.43G 16.8K 336M 2.07G
- 32K: 10.8K 514M 1.54G 13.8K 544M 1.96G 11.3K 512M 2.57G
- 64K: 5.52K 448M 1.98G 4.09K 364M 2.31G 6.67K 532M 3.09G
- 128K: 4.35K 556M 2.53G 25.9K 3.24G 5.55G 4.35K 557M 3.63G
- 256K: 0 0 2.53G 0 0 5.55G 0 0 3.63G
- 512K: 0 0 2.53G 0 0 5.55G 0 0 3.63G
- 1M: 0 0 2.53G 0 0 5.55G 0 0 3.63G
- 2M: 0 0 2.53G 0 0 5.55G 0 0 3.63G
- 4M: 0 0 2.53G 0 0 5.55G 0 0 3.63G
- 8M: 0 0 2.53G 0 0 5.55G 0 0 3.63G
- 16M: 0 0 2.53G 0 0 5.55G 0 0 3.63G
- ------------------------------------------------------------------------------------------------
- root@freenas[~]# ./zdb -bbbe freenas-boot
- Traversing all blocks to verify nothing leaked ...
- loading concrete vdev 0, metaslab 30 of 31 ...
- 1.05G completed ( 365MB/s) estimated time remaining: 0hr 00min 00sec
- No leaks (block sum matches space maps exactly)
- bp count: 301138
- ganged count: 0
- bp logical: 3371601920 avg: 11196
- bp physical: 1405026304 avg: 4665 compression: 2.40
- bp allocated: 1451682304 avg: 4820 compression: 2.32
- bp deduped: 0 ref>1: 0 deduplication: 1.00
- Normal class: 1451682304 used: 8.72%
- additional, non-pointer bps of type 0: 45075
- number of (compressed) bytes: number of bps
- 17: 203 ***
- 18: 5 *
- 19: 3 *
- 20: 15 *
- 21: 22 *
- 22: 22 *
- 23: 22 *
- 24: 19 *
- 25: 23 *
- 26: 23 *
- 27: 168 ***
- 28: 1166 ***************
- 29: 198 ***
- 30: 3 *
- 31: 16 *
- 32: 31 *
- 33: 20 *
- 34: 12 *
- 35: 18 *
- 36: 2 *
- 37: 38 *
- 38: 9 *
- 39: 13 *
- 40: 54 *
- 41: 16 *
- 42: 26 *
- 43: 19 *
- 44: 39 *
- 45: 44 *
- 46: 64 *
- 47: 60 *
- 48: 85 **
- 49: 58 *
- 50: 112 **
- 51: 143 **
- 52: 453 ******
- 53: 790 **********
- 54: 1212 ***************
- 55: 1529 *******************
- 56: 1261 ****************
- 57: 811 **********
- 58: 579 ********
- 59: 260 ****
- 60: 210 ***
- 61: 300 ****
- 62: 723 *********
- 63: 613 ********
- 64: 264 ****
- 65: 311 ****
- 66: 327 *****
- 67: 362 *****
- 68: 445 ******
- 69: 414 ******
- 70: 336 *****
- 71: 405 *****
- 72: 403 *****
- 73: 405 *****
- 74: 317 ****
- 75: 289 ****
- 76: 442 ******
- 77: 377 *****
- 78: 288 ****
- 79: 239 ***
- 80: 280 ****
- 81: 321 ****
- 82: 301 ****
- 83: 365 *****
- 84: 378 *****
- 85: 349 *****
- 86: 333 *****
- 87: 333 *****
- 88: 388 *****
- 89: 395 *****
- 90: 1027 *************
- 91: 3196 ****************************************
- 92: 435 ******
- 93: 890 ***********
- 94: 2678 *********************************
- 95: 2091 **************************
- 96: 299 ****
- 97: 366 *****
- 98: 323 ****
- 99: 280 ****
- 100: 255 ****
- 101: 279 ****
- 102: 291 ****
- 103: 305 ****
- 104: 297 ****
- 105: 363 *****
- 106: 649 ********
- 107: 3255 ****************************************
- 108: 485 ******
- 109: 830 ***********
- 110: 2885 ************************************
- 111: 2541 ********************************
- 112: 476 ******
- Dittoed blocks on same vdev: 31604
- Blocks LSIZE PSIZE ASIZE avg comp %Total Type
- - - - - - - - unallocated
- 2 32K 4.50K 13.5K 6.75K 7.11 0.00 object directory
- 1 512 512 1.50K 1.50K 1.00 0.00 object array
- 1 16K 1K 3K 3K 16.00 0.00 packed nvlist
- - - - - - - - packed nvlist size
- 1 32K 512 1.50K 1.50K 64.00 0.00 L1 bpobj
- 7 784K 79K 237K 33.9K 9.92 0.02 L0 bpobj
- 8 816K 79.5K 238K 29.8K 10.26 0.02 bpobj
- - - - - - - - bpobj header
- - - - - - - - SPA space map header
- 21 336K 10.5K 31.5K 1.50K 32.00 0.00 L1 SPA space map
- 60 240K 140K 420K 7K 1.71 0.03 L0 SPA space map
- 81 576K 150K 452K 5.57K 3.83 0.03 SPA space map
- 2 72K 72K 72K 36K 1.00 0.01 ZIL intent log
- 5 640K 5K 10K 2K 128.00 0.00 L5 DMU dnode
- 5 640K 5K 10K 2K 128.00 0.00 L4 DMU dnode
- 5 640K 5K 10K 2K 128.00 0.00 L3 DMU dnode
- 5 640K 5.50K 11K 2.20K 116.36 0.00 L2 DMU dnode
- 23 2.88M 881K 1.72M 76.7K 3.34 0.12 L1 DMU dnode
- 11.3K 181M 27.9M 55.8M 4.93K 6.49 4.03 L0 DMU dnode
- 11.4K 186M 28.8M 57.6M 5.07K 6.47 4.16 DMU dnode
- 6 12K 3K 6.50K 1.08K 4.00 0.00 DMU objset
- - - - - - - - DSL directory
- - - - - - - - DSL directory child map
- - - - - - - - DSL dataset snap map
- 10 98K 12K 36K 3.60K 8.17 0.00 DSL props
- - - - - - - - DSL dataset
- - - - - - - - ZFS znode
- - - - - - - - ZFS V0 ACL
- 1 32K 512 1K 1K 64.00 0.00 L2 ZFS plain file
- 2.06K 217M 2.21M 4.42M 2.14K 98.02 0.32 L1 ZFS plain file
- 230K 2.67G 1.27G 1.27G 5.64K 2.11 93.59 L0 ZFS plain file
- 232K 2.88G 1.27G 1.27G 5.61K 2.27 93.91 ZFS plain file
- 530 24.5M 320K 641K 1.21K 78.38 0.05 L1 ZFS directory
- 50.4K 51.0M 12.6M 25.2M 512 4.05 1.82 L0 ZFS directory
- 50.9K 75.6M 12.9M 25.8M 519 5.85 1.86 ZFS directory
- 3 3K 1.50K 3K 1K 2.00 0.00 ZFS master node
- - - - - - - - ZFS delete queue
- - - - - - - - zvol object
- - - - - - - - zvol prop
- - - - - - - - other uint8[]
- - - - - - - - other uint64[]
- - - - - - - - other ZAP
- - - - - - - - persistent error log
- 1 128K 5K 15K 15K 25.60 0.00 SPA history
- - - - - - - - SPA history offsets
- - - - - - - - Pool properties
- - - - - - - - DSL permissions
- - - - - - - - ZFS ACL
- - - - - - - - ZFS SYSACL
- - - - - - - - FUID table
- - - - - - - - FUID table size
- - - - - - - - DSL dataset next clones
- - - - - - - - scan work queue
- 10 12.5K 3K 6K 614 4.17 0.00 ZFS user/group/project used
- - - - - - - - ZFS user/group/project quota
- - - - - - - - snapshot refcount tags
- - - - - - - - DDT ZAP algorithm
- - - - - - - - DDT statistics
- - - - - - - - System attributes
- - - - - - - - SA master node
- 3 4.50K 1.50K 3K 1K 3.00 0.00 SA attr registration
- 6 96K 12K 24K 4K 8.00 0.00 SA attr layouts
- - - - - - - - scan translations
- - - - - - - - deduplicated block
- - - - - - - - DSL deadlist map
- - - - - - - - DSL deadlist map hdr
- - - - - - - - DSL dir clones
- - - - - - - - bpobj subobj
- 9 144K 4.50K 13.5K 1.50K 32.00 0.00 L1 deferred free
- 10 52K 17K 51K 5.10K 3.06 0.00 L0 deferred free
- 19 196K 21.5K 64.5K 3.39K 9.12 0.00 deferred free
- - - - - - - - dedup ditto
- 8 36.5K 6.50K 19.5K 2.44K 5.62 0.00 other
- 5 640K 5K 10K 2K 128.00 0.00 L5 Total
- 5 640K 5K 10K 2K 128.00 0.00 L4 Total
- 5 640K 5K 10K 2K 128.00 0.00 L3 Total
- 6 672K 6K 12K 2K 112.00 0.00 L2 Total
- 2.63K 245M 3.40M 6.82M 2.59K 71.97 0.49 L1 Total
- 291K 2.90G 1.31G 1.35G 4.73K 2.22 99.50 L0 Total
- 294K 3.14G 1.31G 1.35G 4.71K 2.40 100.00 Total
- root@freenas[~]# ./zdb -bbbe TEMPOOL
- Traversing all blocks to verify nothing leaked ...
- loading concrete vdev 0, metaslab 74 of 75 ...
- 3.39G completed ( 700MB/s) estimated time remaining: 0hr 00min 00sec
- No leaks (block sum matches space maps exactly)
- bp count: 452362
- ganged count: 0
- bp logical: 5989618176 avg: 13240
- bp physical: 2711854080 avg: 5994 compression: 2.21
- bp allocated: 3898658816 avg: 8618 compression: 1.54
- bp deduped: 0 ref>1: 0 deduplication: 1.00
- Normal class: 3898658816 used: 9.68%
- additional, non-pointer bps of type 0: 48812
- number of (compressed) bytes: number of bps
- 17: 8 *
- 18: 140 **
- 19: 45 *
- 20: 48 *
- 21: 104 **
- 22: 60 *
- 23: 80 *
- 24: 114 **
- 25: 33 *
- 26: 165 **
- 27: 204 ***
- 28: 558 *******
- 29: 567 *******
- 30: 8 *
- 31: 136 **
- 32: 114 **
- 33: 160 **
- 34: 80 *
- 35: 76 *
- 36: 29 *
- 37: 136 **
- 38: 107 **
- 39: 152 **
- 40: 348 ****
- 41: 250 ***
- 42: 70 *
- 43: 103 **
- 44: 134 **
- 45: 98 **
- 46: 116 **
- 47: 113 **
- 48: 114 **
- 49: 193 ***
- 50: 153 **
- 51: 174 **
- 52: 226 ***
- 53: 411 *****
- 54: 309 ****
- 55: 987 ***********
- 56: 985 ***********
- 57: 346 ****
- 58: 501 ******
- 59: 646 ********
- 60: 267 ***
- 61: 341 ****
- 62: 637 *******
- 63: 608 *******
- 64: 337 ****
- 65: 332 ****
- 66: 395 *****
- 67: 375 *****
- 68: 485 ******
- 69: 461 *****
- 70: 461 *****
- 71: 380 *****
- 72: 442 *****
- 73: 441 *****
- 74: 574 *******
- 75: 485 ******
- 76: 678 ********
- 77: 623 *******
- 78: 394 *****
- 79: 332 ****
- 80: 399 *****
- 81: 424 *****
- 82: 383 *****
- 83: 371 *****
- 84: 435 *****
- 85: 406 *****
- 86: 400 *****
- 87: 378 *****
- 88: 394 *****
- 89: 436 *****
- 90: 533 ******
- 91: 1507 *****************
- 92: 3353 *************************************
- 93: 546 ******
- 94: 3396 *************************************
- 95: 1634 ******************
- 96: 378 *****
- 97: 409 *****
- 98: 372 *****
- 99: 377 *****
- 100: 323 ****
- 101: 339 ****
- 102: 380 *****
- 103: 368 ****
- 104: 376 *****
- 105: 390 *****
- 106: 392 *****
- 107: 1439 ****************
- 108: 3690 ****************************************
- 109: 577 *******
- 110: 3473 **************************************
- 111: 1705 *******************
- 112: 380 *****
- Dittoed blocks on same vdev: 37519
- Blocks LSIZE PSIZE ASIZE avg comp %Total Type
- - - - - - - - unallocated
- 2 32K 4.50K 24K 12K 7.11 0.00 object directory
- 1 512 512 12K 12K 1.00 0.00 object array
- 1 16K 4K 12K 12K 4.00 0.00 packed nvlist
- - - - - - - - packed nvlist size
- 1 16K 4K 12K 12K 4.00 0.00 bpobj
- - - - - - - - bpobj header
- - - - - - - - SPA space map header
- 38 608K 96K 456K 12K 6.33 0.01 L1 SPA space map
- 130 520K 377K 1.45M 11.4K 1.38 0.04 L0 SPA space map
- 168 1.10M 473K 1.90M 11.6K 2.38 0.05 SPA space map
- 5 52K 52K 52K 10.4K 1.00 0.00 ZIL intent log
- 20 2.50M 65K 160K 8K 39.38 0.00 L5 DMU dnode
- 20 2.50M 65K 160K 8K 39.38 0.00 L4 DMU dnode
- 20 2.50M 65K 160K 8K 39.38 0.00 L3 DMU dnode
- 20 2.50M 65K 160K 8K 39.38 0.00 L2 DMU dnode
- 34 4.25M 685K 1.37M 41.3K 6.35 0.04 L1 DMU dnode
- 12.9K 207M 46.1M 104M 8.00K 4.49 2.79 L0 DMU dnode
- 13.1K 221M 47.1M 106M 8.09K 4.70 2.84 DMU dnode
- 21 42K 37.5K 172K 8.19K 1.12 0.00 DMU objset
- - - - - - - - DSL directory
- 23 11.5K 1K 24K 1.04K 11.50 0.00 DSL directory child map
- - - - - - - - DSL dataset snap map
- 31 264K 60.5K 192K 6.19K 4.36 0.01 DSL props
- - - - - - - - DSL dataset
- - - - - - - - ZFS znode
- - - - - - - - ZFS V0 ACL
- 10 320K 5K 80K 8K 64.00 0.00 L2 ZFS plain file
- 4.19K 134M 3.94M 34.0M 8.12K 34.08 0.92 L1 ZFS plain file
- 373K 5.15G 2.45G 3.33G 9.14K 2.10 91.70 L0 ZFS plain file
- 377K 5.28G 2.46G 3.36G 9.13K 2.15 92.61 ZFS plain file
- 1 32K 512 8K 8K 64.00 0.00 L2 ZFS directory
- 590 18.4M 334K 4.65M 8.07K 56.44 0.13 L1 ZFS directory
- 50.5K 66.3M 20.5M 161M 3.19K 3.24 4.33 L0 ZFS directory
- 51.1K 84.8M 20.8M 166M 3.24K 4.07 4.45 ZFS directory
- 20 20K 13.5K 160K 8K 1.48 0.00 ZFS master node
- - - - - - - - ZFS delete queue
- - - - - - - - zvol object
- - - - - - - - zvol prop
- - - - - - - - other uint8[]
- - - - - - - - other uint64[]
- - - - - - - - other ZAP
- - - - - - - - persistent error log
- 1 128K 8K 24K 24K 16.00 0.00 SPA history
- - - - - - - - SPA history offsets
- - - - - - - - Pool properties
- - - - - - - - DSL permissions
- - - - - - - - ZFS ACL
- - - - - - - - ZFS SYSACL
- - - - - - - - FUID table
- - - - - - - - FUID table size
- 1 1.50K 1.50K 12K 12K 1.00 0.00 DSL dataset next clones
- - - - - - - - scan work queue
- 40 22K 2K 32K 819 11.00 0.00 ZFS user/group/project used
- - - - - - - - ZFS user/group/project quota
- - - - - - - - snapshot refcount tags
- - - - - - - - DDT ZAP algorithm
- - - - - - - - DDT statistics
- - - - - - - - System attributes
- - - - - - - - SA master node
- 20 30K 17K 160K 8K 1.76 0.00 SA attr registration
- 40 640K 108K 320K 8K 5.93 0.01 SA attr layouts
- - - - - - - - scan translations
- - - - - - - - deduplicated block
- - - - - - - - DSL deadlist map
- - - - - - - - DSL deadlist map hdr
- 1 1.50K 1.50K 12K 12K 1.00 0.00 DSL dir clones
- - - - - - - - bpobj subobj
- 9 144K 36K 108K 12K 4.00 0.00 L1 deferred free
- 10 64K 40K 120K 12K 1.60 0.00 L0 deferred free
- 19 208K 76K 228K 12K 2.74 0.01 deferred free
- - - - - - - - dedup ditto
- 8 36.5K 7K 72K 9K 5.21 0.00 other
- 20 2.50M 65K 160K 8K 39.38 0.00 L5 Total
- 20 2.50M 65K 160K 8K 39.38 0.00 L4 Total
- 20 2.50M 65K 160K 8K 39.38 0.00 L3 Total
- 31 2.84M 70.5K 248K 8K 41.30 0.01 L2 Total
- 4.85K 158M 5.06M 40.6M 8.37K 31.13 1.09 L1 Total
- 437K 5.41G 2.52G 3.59G 8.42K 2.15 98.89 L0 Total
- 442K 5.58G 2.53G 3.63G 8.42K 2.21 100.00 Total
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement