Blog O’ Matty » Veritas Volume Manager
Yes, this blog is going to be useful in future....
Monday, August 21, 2006
Saturday, August 19, 2006
Wednesday, August 09, 2006
docs.sun.com: System Administration Guide: Solaris Containers-Resource Management and Solaris Zones
docs.sun.com: System Administration Guide: Solaris Containers-Resource Management and Solaris Zones:
"global# zonecfg -z my-zone 'create ; set zonepath=/export/home/my-zone'"
This one liner could be useful.
"global# zonecfg -z my-zone 'create ; set zonepath=/export/home/my-zone'"
This one liner could be useful.
Tuesday, August 08, 2006
Expert Sun bigot - Rich Teer
Monday, August 07, 2006
Slashdot | "iSCSI killer" Native in Linux
Slashdot | "iSCSI killer" Native in Linux
According to Coraid, he could get storage pricing below $1 per GB. That's real impressive.
Sun's X4500 - Thumper able to get as low as $2.00 per GB, that's of course come with much better performance :
2 GBps throughput from disks to memory, and approximately
1 GBps from disks to the network.
According to Coraid, he could get storage pricing below $1 per GB. That's real impressive.
Sun's X4500 - Thumper able to get as low as $2.00 per GB, that's of course come with much better performance :
2 GBps throughput from disks to memory, and approximately
1 GBps from disks to the network.
Friday, August 04, 2006
BBC English | Moving Words
Wednesday, August 02, 2006
CIOL : News : “We will provide services in non-Sun environments”
CIOL : News : “We will provide services in non-Sun environments”: "Would Sun be willing to provide services in non-Sun environments?"
Yes. It comes from Dan Berg, vice-president and chief technology officer, Sun Services.
Sun has finally takes a pragmatic approach.
Yes. It comes from Dan Berg, vice-president and chief technology officer, Sun Services.
Sun has finally takes a pragmatic approach.
memory at zone level...
I just hope Sun can include memory management features at the zone level, currently the parameter rcap.max-rss is only able to be set at project level. I am not sure why Sun did not implement it at zone level.
Just wish it can be included at the next update.
Just wish it can be included at the next update.
Zones memory
I just hope Sun can include memory management features at the zone level, currently the parameter rcap.max-rss is only able to be set at project level. I am not sure why Sun did not implement it at zone level.
Just wish it can be included at the next update.
Just wish it can be included at the next update.
Manual for Solaris Administration Guide: Containers.......


This is the title of the manual i have followed up in docs.sun.com for a while:
System Administration Guide: Solaris Containers-Resource Management and Solaris Zones
I have several versions of this manual, earliest i have back date to sometimes Apr 2005 if i still remember correctly........the part no is 817-1592
I have version of 817-1592-12 (December 2005), 817-1592-13 (May 2006).
The latest i download is of a different part number, yet the manual title is still the same.
The new part no is 819-2450-6 (July 2006) and there is a word "beta" on the cover page....this really baffles me.
Tuesday, August 01, 2006
Oh Solaris 10, where are my disks?
Solaris Zones on VMware on 2 core Wintel Machine


This is a small testing to see whether Solaris 10 zones resource management feature really works. Objectives are to test both Resource Pool and FSS.
First i installed Solaris 10 on VMware on a Pentium Duo Core machine with 1GB RAM.
The global zone is sol10vm8. The two non-global zones created are vm8z1 and vm8z2 respectively. When creating VM using VMware, i choosed to use 2 CPUs for this Sol 10 virtual machine.
****************************
sol10vm8:[/scripts] psrinfo
0 on-line since 08/01/2006 16:36:15
1 on-line since 08/01/2006 16:36:20
*****************************
Created a pool called vm8-pool which used maximum 1 CPU.
This step is important as we want to limit the utilization of CPU to 1 by using resource pool.
****************************
sol10vm8:[/scripts] pooladm
system sol10vm8
string system.comment
int system.version 1
boolean system.bind-default true
int system.poold.pid 441
pool vm8-pool
int pool.sys_id 3
boolean pool.active true
boolean pool.default false
int pool.importance 1
string pool.comment
pset vm8-pset
pool pool_default
int pool.sys_id 0
boolean pool.active true
boolean pool.default true
int pool.importance 1
string pool.comment
pset pset_default
pset vm8-pset
int pset.sys_id 1
boolean pset.default false
uint pset.min 1
uint pset.max 1
string pset.units population
uint pset.load 12002
uint pset.size 1
string pset.comment
cpu
int cpu.sys_id 0
string cpu.comment
string cpu.status on-line
pset pset_default
int pset.sys_id -1
boolean pset.default true
uint pset.min 1
uint pset.max 65536
string pset.units population
uint pset.load 18
uint pset.size 1
string pset.comment
cpu
int cpu.sys_id 1
string cpu.comment
string cpu.status on-line
****************************
Seems ok. Enable FSS on Global zone.
#dispadmin -d FSS # init 6
Non-global zones shares
vm8z1 -- 30
vm8z2 -- 20
sol10vm8:[/scripts] zonecfg -z vm8z1 info
zonepath: /vm8z1
autoboot: false
pool: vm8-pool
inherit-pkg-dir:
dir: /lib
inherit-pkg-dir:
dir: /platform
inherit-pkg-dir:
dir: /sbin
inherit-pkg-dir:
dir: /usr
net:
address: 134.251.5.235
physical: e1000g0
rctl:
name: zone.cpu-shares
value: (priv=privileged,limit=30,action=none)
****************************
sol10vm8:[/scripts] zonecfg -z vm8z2 info
zonepath: /vm8z2
autoboot: false
pool: vm8-pool
inherit-pkg-dir:
dir: /lib
inherit-pkg-dir:
dir: /platform
inherit-pkg-dir:
dir: /sbin
inherit-pkg-dir:
dir: /usr
net:
address: 134.251.5.236
physical: e1000g0
rctl:
name: zone.cpu-shares
value: (priv=privileged,limit=20,action=none)
****************************
started Brendan Greggs's script zoneflogcpu.....
sol10vm8:[/scripts] zoneflogcpu start
.........and the above images are the output
You can see the utilization of vm8z1 and vm8z2 used 29% and 20% of the cpu resources respectively. Look at the Windows Task Manager......the 1st CPU is highly loaded while the 2nd one is relatively idle.
Yes!! We achieved our objective!
By using resource pool, we are able to limit the processor set we use.
By using FSS, we have successfully limit the utilization of zones.
What about setting the shares to 60 and 30? (This time i set vm8z2 to 60 and vm8z1 to 30) Here's the result:
PID USERNAME SIZE RSS STATE PRI NICE TIME CPU PROCESS/NLWP
4281 root 2920K 1496K run 3 0 0:00:50 5.8% perl/1
4252 root 2920K 1496K run 1 0 0:01:10 5.4% perl/1
4249 root 2920K 1496K run 14 0 0:01:10 5.4% perl/1
4278 root 2920K 1496K run 2 0 0:00:50 5.3% perl/1
4255 root 2920K 1496K run 5 0 0:01:10 5.3% perl/1
4275 root 2920K 1496K run 14 0 0:00:50 5.2% perl/1
4266 root 2920K 1496K run 1 0 0:00:26 2.9% perl/1
4246 root 2920K 1496K run 1 0 0:00:36 2.9% perl/1
4269 root 2920K 1496K run 3 0 0:00:26 2.8% perl/1
4240 root 2920K 1496K cpu0 14 0 0:00:36 2.7% perl/1
4243 root 2920K 1496K run 3 0 0:00:36 2.7% perl/1
4272 root 2920K 1496K run 3 0 0:00:26 2.7% perl/1
441 root 77M 17M sleep 1 0 0:00:12 0.1% poold/8
1779 noaccess 130M 60M sleep 11 0 0:00:22 0.1% java/27
3513 root 4392K 4176K cpu1 56 0 0:00:01 0.0% prstat/1
ZONEID NPROC SIZE RSS MEMORY TIME CPU ZONE
7 39 126M 72M 19% 0:06:20 32% vm8z2
5 41 130M 74M 20% 0:03:26 17% vm8z1
0 53 385M 178M 47% 0:01:09 0.2% global
Total: 133 processes, 454 lwps, load averages: 12.01, 11.61, 13.18
You can see that the prstat did not show 60% and 30%, it shows 32% and 17% which is about the half of it. Well, this is simple, what prstat -Z shows is the overall utilization which includes all the CPU resources in the system, which is 2 CPU in this case.
The OVERALL cpu allocation for vm8z1 is : [30/90] * 100 * 1/2 = 17%
and vm8z2: [60/90] * 100 * 1/2 = 33%
This indeed shows that prstat output is correct. I will look into granularity of cpu allocation at project level when have time.
Monday, July 31, 2006
Friday, July 28, 2006
Honeymoon's over, Zam warns media - Malaysiakini
Honeymoon's over, Zam warns media
Hello Zainuddin, so the media should just keep quiet when issues like Murthy's case happened around us?? (I really hope Muslim in this country understand how non-Muslims feel about issues like this)
Government should promote understanding and not sweeping the issues under the carpet.
Hello Zainuddin, so the media should just keep quiet when issues like Murthy's case happened around us?? (I really hope Muslim in this country understand how non-Muslims feel about issues like this)
Government should promote understanding and not sweeping the issues under the carpet.
鉴定2家报章滥用自由 新闻部长以茅草行动警告媒体 :: 当今大马
鉴定2家报章滥用自由 新闻部长以茅草行动警告媒体 :: 当今大马
Yes, only Berita Harian and Utusan will never "ABUSE" the freedom given......
Yes, only Berita Harian and Utusan will never "ABUSE" the freedom given......
Thursday, July 27, 2006
The Unix Guardian--Sun, Greenplum Create Opteron-Based BI Appliance
The Unix Guardian--Sun, Greenplum Create Opteron-Based BI Appliance
Scan 1 TB of data in 60 seconds?? Sure boh???
Are you sure? That's what Sun and Greenplum claim!
I wonder what magic Oracle can do out from this Thumper!!
Scan 1 TB of data in 60 seconds?? Sure boh???
Are you sure? That's what Sun and Greenplum claim!
I wonder what magic Oracle can do out from this Thumper!!
Wednesday, July 26, 2006
Ony the best as judges....
Today's headline (The Sun):
Only the best judges move up
.....of course CJ is absolutely correct to select the best as judges.
The question is "what criterias"??
This is his criterias:
-- "their conduct, including in society, judicial temperament ... not to lose your temper every time you sit on the bench, fast in delivering written decision".
Only the best judges move up
.....of course CJ is absolutely correct to select the best as judges.
The question is "what criterias"??
This is his criterias:
-- "their conduct, including in society, judicial temperament ... not to lose your temper every time you sit on the bench, fast in delivering written decision".
-- to be proactive, responsible, productive and prepared to sacrifice his/her own personal time for the purpose of justice and disposal of cases.
I am absolutely agree with CJ, but i have one question in mind.
How about the criterias like ability, experience and Intelligence to make the best judgement?? We are talking about MAKING JUDGEMENTS now, but processiong documents!!!
Tuesday, July 25, 2006
Here's my 2 cents about BPO -- malaysia
BPO..........yes BPO. Malaysia has recently been identified as number 2 location suitable for global BPO operation,
India and China?? Of course India is still hot on the list.......but here's some true scenario.
In a article of Financial Times : Are India and China up to the job? By Jo Johnson and Richard McGregor
...it is observed that.......
India produces 3 millions graduates every year, but out of those number, only 25% of the engineering graduates and 15% of the non-engineering graduates are suitable to be directly employed to BPO operation.
(That’s a big number anyway compared to Malaysia)
China?? Until now, the engineering workforce size suitable for MNC operation is no more than 200,000 at anyone time. That's a miserable figure considering the total number of workforce it can provides.
So what do we do in Malaysia?? The key point here is SKILLED labour. Regardless of the number of graduates you produce, the country who can provides skillful workforce at a reasonable cost will win.
(of course many will disagree on what that reasonable cost will be)
It doesn't has to be the cheapest, it has to be reasonable. As long as the country can keep the living cost low and provides adequate living quality, the companies will be able to control the demand on wages increase.
If Malaysia able to provide that -- I am sure she can excel and stand out from among the rest.
India and China?? Of course India is still hot on the list.......but here's some true scenario.
In a article of Financial Times : Are India and China up to the job? By Jo Johnson and Richard McGregor
...it is observed that.......
India produces 3 millions graduates every year, but out of those number, only 25% of the engineering graduates and 15% of the non-engineering graduates are suitable to be directly employed to BPO operation.
(That’s a big number anyway compared to Malaysia)
China?? Until now, the engineering workforce size suitable for MNC operation is no more than 200,000 at anyone time. That's a miserable figure considering the total number of workforce it can provides.
So what do we do in Malaysia?? The key point here is SKILLED labour. Regardless of the number of graduates you produce, the country who can provides skillful workforce at a reasonable cost will win.
(of course many will disagree on what that reasonable cost will be)
It doesn't has to be the cheapest, it has to be reasonable. As long as the country can keep the living cost low and provides adequate living quality, the companies will be able to control the demand on wages increase.
If Malaysia able to provide that -- I am sure she can excel and stand out from among the rest.
Monday, July 24, 2006
情在人間‧作者:鄭丁賢
Let's look at his article first............ i will comment later...
吃飯讀書,不簡單
updated:2006-06-21 18:30:50 MYT
小時候,父母親對你說:"孩子啊,乖乖把飯吃完。你看,中國和印度的小孩都沒飯
吃。"
今天,你應該對孩子說:"孩子啊,乖乖把書讀完。你看,中國和印度的孩子,已經在
搶你的飯碗了。"
前者是以前漸@界;後者,不是未來的世界,而是如今的世界。它已經活生生發生
了,只是很多人還不知道,或者還不能接受。
不久前,副首相納吉到印度訪問,行程包括前往印度的矽谷邦加羅,參觀印度軟件巨
頭,也是世界最大的資訊工藝外包公司Infosys。
Infosys創辦人Narayana Murthy,很客氣的接待納吉,同時也很禮貌的敘述他和馬來
西亞的一段淵源。
幾年前,Infosys有意來馬來西亞投資,準備把部份業務分散到這裡。
當時,Infosys雖然沒有今天的規模和地位,但是在全球資訊工藝領域,已經嶄露頭
角,尤其在商業程序外包(BPO)方面,獲得歐美眾多跨國公司的委託,份量非同小
可。
它相中了馬來西亞,馬來西亞政府部門卻把它當成是一家嘛嘛檔公司。各種投資申
請,束之高閣,無人理會。
資訊業一日千里,邦加羅總部不能適應大馬的甘榜作業方式,派出高級人員來馬洽
談,移民局卻把印度電腦專才當成是孟加拉勞工,在簽證問題上大作文章。
無奈之下,Infosys撤消投資計劃,並且在投資名單中刪除了大馬。
Narayana先生敘述這段經驗時,不知心情如何,是遺憾呢?還是暗暗爽在心裡?
很可能是暗爽吧。沒有在大馬設立基地,並不影響Infosys的發展。幾年之內,它成為
全球最耀眼的電腦軟件公司,並且在全球大展拳腳,包括獲得中國政府熱情邀請,提
供特別優惠獎掖之下,前陣子在中國上海落戶,準備在2009年時,在中國聘請1萬名員
工。
與Infosys失之交臂的大馬,雖然也未淪落到窮途末路,但是多媒體走廊的招牌怎麼擦
也亮不起來。還有,幾萬名大學畢業生,包括許多國立大學的電腦、資訊工藝學
生,找不到學有所用的工作。
身為副首相,納吉的心情又是如何?
愛打高爾夫球的納吉,當然知道全球最佳高爾夫球員之一的VJ Singh。原籍斐濟,印
裔血統的VJ Singh,80年代末期曾經在大馬駐留,對大馬環境頗為鍾情,因此曾經申
請成為大馬公民。
但是,大馬的移民局官員何曾在乎VJ Singh,也許他的申請,還排在幾萬名,或幾十
萬名印尼和菲律賓人之後。
VJ Singh後來離開大馬,幾年之後,他榮獲世界數個高爾夫球賽的冠軍,並且曾經排
名世界第一。只要扭開體育頻道的高爾夫球賽,就不難聽到:"來自斐濟的 VJ
Singh,3桿入洞,得到了birdie...。"
世界變了,大馬卻變得很慢。也許有一天,中國和印度人會說:"孩子,乖乖吃飯,乖
乖讀書。你看,馬來西亞的孩子沒飯吃,沒書讀。"
吃飯讀書,不簡單
updated:2006-06-21 18:30:50 MYT
小時候,父母親對你說:"孩子啊,乖乖把飯吃完。你看,中國和印度的小孩都沒飯
吃。"
今天,你應該對孩子說:"孩子啊,乖乖把書讀完。你看,中國和印度的孩子,已經在
搶你的飯碗了。"
前者是以前漸@界;後者,不是未來的世界,而是如今的世界。它已經活生生發生
了,只是很多人還不知道,或者還不能接受。
不久前,副首相納吉到印度訪問,行程包括前往印度的矽谷邦加羅,參觀印度軟件巨
頭,也是世界最大的資訊工藝外包公司Infosys。
Infosys創辦人Narayana Murthy,很客氣的接待納吉,同時也很禮貌的敘述他和馬來
西亞的一段淵源。
幾年前,Infosys有意來馬來西亞投資,準備把部份業務分散到這裡。
當時,Infosys雖然沒有今天的規模和地位,但是在全球資訊工藝領域,已經嶄露頭
角,尤其在商業程序外包(BPO)方面,獲得歐美眾多跨國公司的委託,份量非同小
可。
它相中了馬來西亞,馬來西亞政府部門卻把它當成是一家嘛嘛檔公司。各種投資申
請,束之高閣,無人理會。
資訊業一日千里,邦加羅總部不能適應大馬的甘榜作業方式,派出高級人員來馬洽
談,移民局卻把印度電腦專才當成是孟加拉勞工,在簽證問題上大作文章。
無奈之下,Infosys撤消投資計劃,並且在投資名單中刪除了大馬。
Narayana先生敘述這段經驗時,不知心情如何,是遺憾呢?還是暗暗爽在心裡?
很可能是暗爽吧。沒有在大馬設立基地,並不影響Infosys的發展。幾年之內,它成為
全球最耀眼的電腦軟件公司,並且在全球大展拳腳,包括獲得中國政府熱情邀請,提
供特別優惠獎掖之下,前陣子在中國上海落戶,準備在2009年時,在中國聘請1萬名員
工。
與Infosys失之交臂的大馬,雖然也未淪落到窮途末路,但是多媒體走廊的招牌怎麼擦
也亮不起來。還有,幾萬名大學畢業生,包括許多國立大學的電腦、資訊工藝學
生,找不到學有所用的工作。
身為副首相,納吉的心情又是如何?
愛打高爾夫球的納吉,當然知道全球最佳高爾夫球員之一的VJ Singh。原籍斐濟,印
裔血統的VJ Singh,80年代末期曾經在大馬駐留,對大馬環境頗為鍾情,因此曾經申
請成為大馬公民。
但是,大馬的移民局官員何曾在乎VJ Singh,也許他的申請,還排在幾萬名,或幾十
萬名印尼和菲律賓人之後。
VJ Singh後來離開大馬,幾年之後,他榮獲世界數個高爾夫球賽的冠軍,並且曾經排
名世界第一。只要扭開體育頻道的高爾夫球賽,就不難聽到:"來自斐濟的 VJ
Singh,3桿入洞,得到了birdie...。"
世界變了,大馬卻變得很慢。也許有一天,中國和印度人會說:"孩子,乖乖吃飯,乖
乖讀書。你看,馬來西亞的孩子沒飯吃,沒書讀。"
Wednesday, July 19, 2006
Anwar names those responsible for forex losses - Malaysiakini
Anwar names those responsible for forex losses - Malaysiakini
I had read some articles many years ago about Bank Negara being an active forex speculator.......
Really it is not big news to foreign bankers.
I had read some articles many years ago about Bank Negara being an active forex speculator.......
Really it is not big news to foreign bankers.
Subscribe to:
Posts (Atom)







