Advertisement
genBTC

zdb -bbbe Block Size Histograms output on FreeNas 11.3

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