星期四, 8月 16, 2012

Oracle CPU計價方式, processor 數量調查

Linux 以下為例 :
cat /proc/cpuinfo  |grep processor
processor       : 0
processor       : 1
processor       : 2
processor       : 3


Linux 檢查CPU 型號
cat /proc/cpuinfo |grep "model name"
model name      : Intel(R) Xeon(TM) CPU 2.xxGHz

-----------------------------------------------------------------------
Solaris 以下為例 : 4 virtual CPUs
root # psrinfo -v|grep "virtual processor"
Status of virtual processor 0 as of: 07/26/2012 16:49:17
Status of virtual processor 2 as of: 07/26/2012 16:49:17
Status of virtual processor 16 as of: 07/26/2012 16:49:17
Status of virtual processor 18 as of: 07/26/2012 16:49:17

Solaris檢查CPU 型號

# prtconf |more

-----------------------------------------------------------------------
Aix 以下為例 : 16 logical CPUs = 16 processors
# bindprocessor -q
The available processors are:  0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15

Aix 檢查CPU 型號
# prtconf |more

-----------------------------------------------------------------------
HP UX 以下為例, 再乘以每個CPU 所擁有的core數 
HP 11.23
# machinfo |grep 'Number of CPUs'

HP 11.31
# machinfo |grep processor
          8 logical processors (4 per socket)


HP UX 檢查CPU 型號
# machinfo |more
-----------------------------------------------
HP tru64以下為例 :
# sched_stat |grep processors

# psrinfo

HP tru64 檢查CPU 型號

# sizer -c
cpu             "DEC6600"


-----------------------------------------------------------------------
補充說明, logical CPU所代表的就是CPU core數量, 並不會把CPU thread 一併計算進去,
所謂的1個CPU socket所代表的是一個CPU晶片...
但每個晶片可能會有8 core ( sparc CPU), 每個core會有8 個thread...
所以從core數量去計價就好.
                     
假設現在有2 node RAC , 每個node 有4個邏輯CPU,  Aix power 6 CPU, dual core (CPU processor factor 為1 )
則基本之費用:


Enterprise edition ($47,500 per processor)
Real Application Clusters($23,000 per processor)


計價方式為:
4 * 2(dual core) * 2node * (47,500 + 23,000) =  112800 美金 , 


較正規的計價方式 如下:

1.       Enterprise Edition: US$47,500 (per processor) x 4 x 2 (Processors) x 2 (Nodes) =  US$ 760,000
2.       Real Application Clusters: US$23,000 (per processor) x 4 x 2 (Processors) x 2 (Nodes) = US$  368,000
3.       Total: US$ 760,000 + US$  368,000 = US$ 1128,000


update@2013/12/27,

這邊也有一位同學文章
http://blog.xuite.net/chiouchienchung/twblog/174429884
提到,

Oracle License and Service Agreement的協議中,

向Oracle採購時須承認的正式條文,此兩份文中對授權規則的描述基本上是相同的,先看清以便談判。不過OLSA上講明了Oracle有權來稽核你的使用狀況:

會先來書面通知,45天內須配合稽核,Oracle承諾不干擾你日常運作。
稽核時若發現有超用現象,將以書面通知補足授權。
如不配合稽核或補足授權,則Oracle有權中止授權並取消交易(退錢),但是會告你。
就合約內容來看算是公平,但還是要了解計算授權的公式,如果來稽核的人算錯了而使你多買,Oracle事後不會退錢的。

所以自己會計算Core factor是最好的....

--Ref:
P.S. 須注意HP Intel Itanium Series 93XX系列 , 201012月後 , CPU processor factor係數為1.0
http://www.dba-oracle.com/t_licensing_pricing.htm

As an example, let’s take a 2 Node RAC cluster consisting of 4 CPUs (ignoring multi cores) per node plus the following options:
·       Real Application Clusters($20,000 per processor)
·       Active Data Guard($5,000 per Processor)
·       Partitioning($10,000 per Processor)
·       Real Application Testing($10,000 per Processor)
·       Advanced Compression($10,000 per Processor)
·       Total Recall($5,000 per Processor)
·       Advanced Security ($10,000 per Processor)
Taking the options into account, the software cost per CPU would be US $110,000.For the2 Node RAC, that would come to be(2 nodes) x (4 CPU) x US$110,000=US$880,000.

沒有留言:

LinkWithin-相關文件

Related Posts Plugin for WordPress, Blogger...