当前位置:首页 » 矿机知识 » BFC矿池

BFC矿池

发布时间: 2021-04-16 08:07:09

① BFC比特未来的共识机制是什么

在BFC比特未来的生态中,矿工和矿池可能因参与门槛低、风险低等优势加入至BFC网络中,这将增加BFC网络节点数量,增加持币者人数,而持币者人数增加将会增加BFC的需求量,从而促使BFC市场价格提升,当BFC市场价格提升后会让矿工和矿池更加看好BFC,并增加投入购买矿机,进一步扩大BFC网络,形成良性循环。

② 谁能详细解释一下shared pool ration特性

A shared pool has subpools (starting with 9i) and each subpool has sub-subpools or rations (starting with 10gR2 I think). It's easy to understand why there're subpools; each subpool is managed pretty much independently, with its own LRU list etc., and all subpools have the same functionality. But rations are different. Each one holds different types of objects. According to heapmp, as shown in Jonathan Lewis's "Oracle Core Essential Internals" p.184, dictionary cache is in ration 1, heap 0 (cursor head or parent cursor) in ration 2, SQLArea (heap 6) in ration 3.[note] Different types of objects have different characteristics. Within each type, objects have similar characteristics, such as size requirement, how long they stay in memory, etc. Oracle's work on shared pool rations is kind of like Solaris or Linux kernel slab. A chunk of memory is allocated from a specific ration (slab) depending on what function you want to use this memory chunk for. There're of course differences. A Solaris or Linux kernel has many slabs, while there're only 4 Oracle shared pool rations. Each slab is exclusively dedicated to one type of objects, such as inode_cache, nfs_page. A ration can contain various types of objects; the rule about what shared pool objects are in what ration is not very strict.

Other than Jonathan Lewis's book, this note

Bug 14311437 : ORA-600 [5351], ORA-600 [4000] AND ORA-4031 OCCURING IN GOLDEN GATE AND TIMESTEN

talks about the concept of rations, and more or less satisfy my curiosity why it's called "ration", a term that suggests time or how long something lasts.

One paragraph (Solution c) in

LCK temporarily stuck waiting for latch 'Child row cache objects' (Doc ID 843638.1)

also talks about rations.

The fixed table showing rations is x$ksmsp_nwex. You can find a query using this table in

Bug 14020215 : ORA-4031 WITH 7 SUBPOOLS AND DURATIONS THEN CPU SPIKES TO 100%

______________
[note]
On an 11.2.0.3 database, I have rations enabled (_enable_shared_pool_rations is TRUE). If you don't use ASMM nor AMM, you may have to manually set this parameter to true and bounce the database. I create a level 2 heapmp (oradebug mp heapmp 2) and manually split the trace file into four files, each for one ration of subpool 1. Then I aggregate on the memory chunk usage string and see what type of usage is the most common in each ration.

$ cut -c53-67 ration1-0 | sort | uniq -c | sort -rn | head
7127 KQR PO <-- "KQR PO" row cache parent objects are very common in ration 0
2826 KGLHD <-- Library cache handles are common too
287
28
27 SQLA^c22c7d28
27 KGLH0^c22c7d28
23 SQLA^7e6b9434
23 KGLH0^7e6b9434
20 SQLA^a2ac011a
20 perm
$ cut -c53-67 ration1-1 | sort | uniq -c | sort -rn | head
10578 KGLHD <-- lots of library cache handles in ration 1
7127 KQR PO
6588 KGLDA
2703
1217 ges resource
183
143 parameter table
72 name-service
28 KGLNA
19 KKSSP
$ cut -c53-67 ration1-2 | sort | uniq -c | sort -rn | head
8546
247
191 KGLH0^9e6af5b8 <-- not fair to include "random" numbers (SQL hash values) in uniq -c
53 KGLH0^52ccb2f2
52 KGLH0^d7bcc960
49 KGLH0^c22c7d28
49 KGLH0^1a8436ae
45 KGLH0^a2ac011a
35 KGLH0^d9085754
35 KGLH0^c5be8292
$ cut -c53-57 ration1-2 | sort | uniq -c | sort -rn | head -5
8546
8197 KGLH0 <-- So cut without the random part; we see 8197 entries for heap 0 in ration 2
247
175 PRTMV
115 PRTDS
$ cut -c53-67 ration1-3 | sort | uniq -c | sort -rn | head
21323
2810 SQLA^b3947bfc
1168 SQLA^52ccb2f2
1104 SQLA^d7bcc960
1020 SQLA^1a8436ae
401 SQLA^8bfc3f48
297 SQLA^c22c7d28
270
240 SQLA^a2ac011a
234 SQLA^b91ee9fa
[oracle@dctrpdbms3b trace]$ cut -c53-57 ration1-3 | sort | uniq -c | sort -rn | head -5
21323
18019 SQLA^ <-- remove the random part; we see most entries in ration 3 are SQL Area
1022 KGLS^
757 PLMCD
454 PLDIA

热点内容
币圈土狗项目哪里有 发布:2025-06-09 15:55:36 浏览:408
18年区块链有哪些 发布:2025-06-09 15:45:02 浏览:345
区块链诞生的意义 发布:2025-06-09 15:41:01 浏览:808
今日新闻区块链 发布:2025-06-09 15:37:46 浏览:220
区块链技术是去中心化 发布:2025-06-09 15:18:58 浏览:446
区块链数字货币新能源产品 发布:2025-06-09 15:05:38 浏览:647
eth5wan1 发布:2025-06-09 14:45:05 浏览:717
矿机显卡是什么东西 发布:2025-06-09 14:42:34 浏览:24
币圈农夫三角整理区 发布:2025-06-09 14:41:15 浏览:465
比特币俱乐部俄罗斯世界杯 发布:2025-06-09 14:33:14 浏览:318