Tip: 看不到本站引用 Flickr 的图片? 下载 Firefox Access Flickr 插件 | AD: 订阅 DBA notes -- ![]()
2008-06-24 Tue
长期以来,LV包包一直是奢侈品的象征,是一望即知的“被人民服务”品牌。然而,根据全型男的报道,LV最近在中国推出了一款限量版的“为人民服务”Longchamp挂包皮包。


Longchamp,Philippe Cassegrain设计
这也更加充分地说明了一个命题:为=被。
装修前后的手续比想象中麻烦和拖拉,装修的过程比想象中的麻烦要少一点。今天去拍了几张照片,作为过程的留念。之前还拍过一次。

这是刚开始不久,做完了钢结构,吊顶刚开始,厨房被区隔开,泥工的活儿做了一半。

这张照片就大致能看出咖啡馆的风格,以松木为主。木吊顶和木地板。

我非常非常喜欢这个工作的场景。
还得3周左右。估计。


有人对solaris上的swap space提出了如下的疑问:
swap -l:
swapfile dev swaplo blocks free
/dev/vx/dsk/bootdg/swapvol 40,75002 16 33540080 33540080
swap -s :
total: 55705168k bytes allocated + 273872k reserved = 55979040k used, 15937056k available
top:
load averages: 8.08, 7.88, 7.52 00:06:43
361 processes: 355 sleeping, 1 zombie, 5 on cpu
CPU states: % idle, % user, % kernel, % iowait, % swap
Memory: 64G real, 7482M free, 53G swap in use, 15G swap free
swap -l显示的是physical swap file的大小 33540080 (blocks) * 512 (blocksize) = 16377MB,实际使用的physical swap file是0 (blocks - free blocks),而top中显示的是53G swap in use。swap -s中used的大小为55979040k (53.4G),和top的值相符。那么实际使用的swap space大小究竟是多少,physical swap space究竟是多少。
上面几个不同的数据确实让人迷惑,不过如果我们了解了solaris的virtual swap space机制,一切就很好理解了。写之前百度了一下,没有发现有文章很好的解释这个概念。
virtual swap space和virtual memory不同,注意不要混淆了。virtual swap space是在swap space之上虚拟的一层swap space。
先说说传统的方法,当application创建virtual memory是,要在swap space上reserve一段空间以便当physical memory不够的时候可以换出到swap space上。所以有physical swap space的大小最好为physical memory两倍大小的说法。
引入virtual swap space后,这一部分reserve的swap space是虚拟的,而不是真实的physical swap space。当有真实数据写入physical memory page的时候,这部分virtual swap状态转为reserved and allocated.这时候swap还是虚拟的swap space,并没有在physical swap space上创建,所以swap -l显示实际使用的physical swap space为0。只有当真正有swap out发生,也就是要将memory page的内容写入swap的时候,才会使用physical swap space。在这样的机制下,不需要像上面说的2倍物理内存大的swap space,系统也可以正常的运行。上面的例子中物理内存为64G大小,physical swap file大小仅为16G大小。
所以上面top里面显示了53G swap space (virtual swap space),而swap -l中swap space显示16G (physical swap space),使用的physical swap space 为0
swap -s中的 “used” 也是指的virtual swap space上reserved和reserved & allocated swap space的大小
有人对solaris上的swap space提出了如下的疑问:
swap -l:
swapfile dev swaplo blocks free
/dev/vx/dsk/bootdg/swapvol 40,75002 16 33540080 33540080
swap -s :
total: 55705168k bytes allocated + 273872k reserved = 55979040k used, 15937056k available
top:
load averages: 8.08, 7.88, 7.52 00:06:43
361 processes: 355 sleeping, 1 zombie, 5 on cpu
CPU states: % idle, % user, % kernel, % iowait, % swap
Memory: 64G real, 7482M free, 53G swap in use, 15G swap free
swap -l显示的是physical swap file的大小 33540080 (blocks) * 512 (blocksize) = 16377MB,实际使用的physical swap file是0 (blocks - free blocks),而top中显示的是53G swap in use。swap -s中used的大小为55979040k (53.4G),和top的值相符。那么实际使用的swap space大小究竟是多少,physical swap space究竟是多少。
上面几个不同的数据确实让人迷惑,不过如果我们了解了solaris的virtual swap space机制,一切就很好理解了。写之前百度了一下,没有发现有文章很好的解释这个概念。
virtual swap space和virtual memory不同,注意不要混淆了。virtual swap space是在swap space之上虚拟的一层swap space。
先说说传统的方法,当application创建virtual memory是,要在swap space上reserve一段空间以便当physical memory不够的时候可以换出到swap space上。所以有physical swap space的大小最好为physical memory两倍大小的说法。
引入virtual swap space后,这一部分reserve的swap space是虚拟的,而不是真实的physical swap space。当有真实数据写入physical memory page的时候,这部分virtual swap状态转为reserved and allocated.这时候swap还是虚拟的swap space,并没有在physical swap space上创建,所以swap -l显示实际使用的physical swap space为0。只有当真正有swap out发生,也就是要将memory page的内容写入swap的时候,才会使用physical swap space。在这样的机制下,不需要像上面说的2倍物理内存大的swap space,系统也可以正常的运行。上面的例子中物理内存为64G大小,physical swap file大小仅为16G大小。
所以上面top里面显示了53G swap space (virtual swap space),而swap -l中swap space显示16G (physical swap space),使用的physical swap space 为0
swap -s中的 “used” 也是指的virtual swap space上reserved和reserved & allocated swap space的大小
We’re still collecting all the news, updates, and postings from the Red Hat Summit. Now that our teams are back in the office, the real work of compiling all the video, audio, and materials we gathered has begun.
We know you’re all clamoring for more than links–the most popular question has been about the session and keynote videos and slide decks. The first few keynote videos are up at the Summit web site. We’ll be adding more as soon as some legal and liscensing issues are dealt with.
The slide decks are also on their way. The first few should be available this week, with more to follow.
And it won’t all be recap–also coming up are several articles that follow up on Summit and FUDCon topics, from the same folks that presented them in Boston.
In the news:
- Red Hat goes for virtualization (from Paul Mah at TechRepublic)
- Red Hat Launches oVirt Embedded KVM Hypervisor Project (from Timothy Prickett Morgan at The Linux Beacon)
- Red Hat opens Network…now how about a community? (from Matt Asay for CNet
- Red Hat expands open source virtualization applications (from Datamonitor via COMTEX at TradingMarkets.com)
- Red Hat beefs up identity and security management (from Bridget Botelho at SearchEnterpriseLinux.com)
- Red Hat to embrace virtualisation (from Egan Orion for CRN Australia)
Other voices:
- Jon ‘maddog’ Hall: Red Hat Summit Summary
- Mike McGrath (Fedora): Announcements from FUDCon
- Barton George (Sun): Back From Boston and the Red Hat Summit and FUDCON and Red Hat Summit/FUDcon: Pics and Podcasts
There's an uneasy relationship between Linux and some of the bits that make it work on many computers - closed-source kernel modules. These modules - NVidia video card drivers are the most notorious example - add substantial, and sometimes critical, functionality to Linux without themselves being open source. Now a group of kernel developers are on the record with their opposition to these modules.
The group of over 100 kernel developers, in a statement hosted by the Linux Foundation, pull no punches:
We, the undersigned Linux kernel developers, consider any closed-source Linux kernel module or driver to be harmful and undesirable. We have repeatedly found them to be detrimental to Linux users, businesses, and the greater Linux ecosystem.
The statement closes by urging vendors to provide open source kernel modules where this would benefit customers - pointing out that this would also allow the open source community to support the modules, cutting down on vendors' support costs.
While this is a noble sentiment, it's unclear how much impact it will really have on the vendors concerned. Certainly vendors like NVidia and LexMark already know that the Linux community is less-than-happy with them, but have still chosen to go the closed-source route. Particularly in the video driver case, the advantages of preserving a proprietary lead on the major platforms may well outweigh, in strict dollar-and-cents terms, any goodwill with the open source community.
Over the long run, efforts like the Open Graphics Project may have more effect than public statements. If it does prove possible to sell a completely open system at a profit, that will get the major vendors' attention in a way that has not yet been possible.
Trackback URL for this post:
Related Activities |
Related Software |
Related Blog Posts |
SELECT inst_id, kjitrftlid, kjitrftrid, kjitrftrrd, kjitrftinc, kjitrftta,
kjitrfttl, kjitrfttr,
DECODE (kjitrfttw, 0, 'NO ', 'YES '), kjitrftss,
kjitrftsr, kjitrftsql, kjitrftsqm, kjitrftsqt, kjitrftqtb, kjitrftqtw,
kjitrftst, kjitrftpxy
FROM x$kjitrft
其字段对应关系为:
SQL> desc v$dlm_traffic_controller
Name Null? Type
----------------------------------------- -------- --------------------------------------------
LOCAL_NID NUMBER
REMOTE_NID NUMBER
REMOTE_RID NUMBER
REMOTE_INC NUMBER
TCKT_AVAIL NUMBER
TCKT_LIMIT NUMBER
TCKT_RCVD NUMBER
TCKT_WAIT VARCHAR2(10)
SND_SEQ_NO NUMBER
RCV_SEQ_NO NUMBER
SND_Q_LEN NUMBER
SND_Q_MAX NUMBER
SND_Q_TOT NUMBER
SND_Q_TM_BASE NUMBER
SND_Q_TM_WRAP NUMBER
STATUS NUMBER
SND_PROXY NUMBER
以上数据来自Oracle10g 10.2.0.4环境。
-The End-
相关文章|Related Articles
- 数据字典视图之:V$LOCK_ELEMENT 结构
- 数据字典表之:DBA_HIGH_WATER_MARK_STATISTICS
- 数据字典表之:DBA_TABLES
- 数据字典视图之:v$database 结构
- 并行查询并行度Degree与instances 设置
评论数量(0)|Add Comments
本文网址:http://www.eygle.com/archives/2008/06/v_dlm_traffic_controller.html
If you’re a Perl and/or Python expert (preferably both), Percona may have a job for you.
We’re looking to either hire or sponsor significant development efforts for some open-source tools for MySQL, including but not limited to Maatkit and the Master-Master Replication Manager. This could be full-time or part-time, depending on the person and what seems to make the most sense. You can work remotely.
You must already be an expert coder. You don’t have to be a MySQL expert, though it will help if you are at least at an intermediate level with it. You must have proven experience in test-driven development. You will be writing clean, efficient, well-tested code. Your work will be open-source and transparent to the world, and open-source experience is a plus. You can expect expert guidance and help (especially with the MySQL-specific parts), but a significant amount of freedom and autonomy as well.
Send your resume and samples of your work to ‘jobmysql’ at our blog’s domain name.
Entry posted by Baron Schwartz | No comment
越来越喜欢静静的待在书房,甚至音乐也不听了。昨天“偷得浮生半日闲”看完了《一 滴泪》,忽然觉得自己的生活还是阳光多了些。当一个人的生活跌宕起伏如作者一样,想来也不会抱怨生活工作中的点点无奈与不顺心。关于那二十年,听说过很多,却没想到一些事情是这样的。
几个月以来,慢慢追上了Boston Legal的进度。花了几个月,因为不大舍得看完。两个男主角的搞怪之余,却影射了美国社会乃至西方不少问题。编剧的观点并不算激进,不过却容易引发思考。主角自然是赢官司机会多,不过在依靠陪审团和案例法体制的审判里,似乎又合情合理。不过觉得老美还是很狡猾的,看过一些律政片了,大多选择了相对容易表达的初审,就没看到过专注于上诉甚至最高法院提卷的(当然,最高法院似乎也不进行一般庭审,直接读案卷写意见居多吧)。
推荐完美剧就推荐书吧。买了第二版的差不多10年以后,入手了LDOCE(Longman Dictionary of Contemporary English)第四版修订二版(反正是2006以后的印刷就对了)。作为学习型词典,编排相当不错,继续保持释义准确易懂的同时,增加了例句(特别是电子版里),套上了彩色,丰富了插图(昨晚临睡前看到了bread的插图,各色的bread折磨了十来分钟,终于还是懒得起来找吃的)。如果一个词释义很多,还会在一些详细解释之前标上粗略的含义,极大方便了查找;原来的语言用法、辨析也得到了扩充,除掉包含同义词辨析,还有口语书面语使用频率分析、最常用错方式的提醒等等。再推荐两套莎士比亚吧,国内引进了新阿登版,非常详细和专业;Amazon上Penguin出版社的Pelican单行本版本在打两折,加上运费差不多每本20块不到,比国内引进还便宜……我自己嘛,持续啃Plato中。


Shared by 清风
:D
以下内容转自博客 http://techfaux.com/2008/06/17/peta-targets-computer-programmers-with-string-of-bizarre-protests/ 作者Bryan Woods

Django Project是用Python语言写的一个敏捷开发Web框架,和RoR类似的。每个月Python社区的程序员都要到Lawrence去参加party聚会,一来是交流感情,二来是炫耀最新的技术。
如果通常这样的聚会是“有趣”的,上一周的hackathon就是非常“囧”的了。晚上8点的时候越来越多的程序员赶到了Lawrence办公室,同时25-30个白人女性也开始在房间周围出现
好,8:15分,她们开始脱衣服,身上带一个牌子,写道:“一件衣服多少钱?”、“蛇是动物,动物是有灵性的!”
程序员都跑出来看热闹了,Jacob Kaplan-Moss说:“太他妈的无敌了!她们全部裸了”
那帮裸女说:“我知道他们在干嘛。他们在猎杀蟒蛇(hacking pythons)。这是野蛮的行径,我们会一直守在这里,直到最后一条蟒蛇被拯救为止。”
……
后来作者问了下python语言之父Guido Van Rossum关于这件事的看法。他有他读到的见解。“什么是女人?!”他问到。
est备注:“hacking python”的意思不是“猎杀蟒蛇”,而是“黑客般研究python语言”。PETA组织保护动物就算了,还找那么多MM裸体抗议,真猛!
[quote]
在firefox地址栏输入about:config
新建“布尔”
名称为:network.protocol-handler.external.ed2k
值为:true
新建“字符串”
名称为:network.protocol-handler.app.ed2k
值为:已经改名的hiweed兼容层的文件路径,例如,/home/use/emule/emule
[/quote]
原想依葫芦画瓢应该是可以的,结果不行。今天偶然来了灵感,终于搞定了。
我买了新电脑以后换上了Vista,所以首先修改一下运行firefox的链接,让它默认以管理员身份运行。firefox还是很安全的,不必担心;
其次,上面是通过修改firefox本身的设置,那么我们是否选择过关联应该也记录在某个地方吧。进入about:config,输入“ed2k”,看到“network.protocol-handler.warn-external.ed2k”么?双击修改为“true”吧。
现在重新启动你的firefox,OK了吧。
另外,上面的操作只是在你确认你的eMule设置正常的情况下哦,整个系统的默认设置可以进入“eMule——选项——常规——关联ed2k链接”,这个按钮灰化了?去注册表删除所有HKEY_CLASSES_ROOT\ed2k\...和HKEY_LOCAL_MACHINE\SOFTWARE\Classes\ed2k\...项目之后,再按一次试试吧。
其实上面这个操作就是验证这个信息:
HKEY_CLASSES_ROOT\ed2k\shell\open\command
名称: (Standard)
类型: REG_SZ
资料: "emule.exe 的路径(包含引号!)" %1
HKEY_LOCAL_MACHINE\SOFTWARE\Classes\ed2k\shell\open\command
名称: (Standard)
类型: REG_SZ
资料: "emule.exe 的路径(包含引号!)" %1


Nokia have today announced that they will be acquiring the remaining 52% of Symbian they don’t own and will be releasing the complete Symbian platform under the Eclipse open source license. Nokia have also announced the creation of the Symbian Foundation, which is an alliance of mobile vendors and application providers that any company can join.
Continue reading on TechcrunchIT.com >>
Crunch Network: MobileCrunch Mobile Gadgets and Applications, Delivered Daily.
Apple fans will love one of the latest tips from our community: how to turn your Movable Type blog into a seamless extension of your OS X desktop and operating system. In the first article Jesse Gardner explains how one can combine two technologies to create an awesome desktop blogging application: Movable Type and Fluid.
Fluid makes it possible to turn any online application into a desktop app. Its free and dead-simple to use. Jesse and others use it for example to put GMail, Basecamp, Google Calendar, Flickr, Facebook and many other online applications right into their OS X dock.

What makes Movable Type and Fluid work especially well together is the iMT plugin, which provides a beautifully designed user interface specifically for iPhone users. Coupled with Fluid's ability to let any application it bootstraps to masquerade as an iPhone, Fluid can be used to bring all the benefits of the dramatically simplified iPhone user interface of the iMT plugin right to your desktop. And because iMT conforms to Apple's own interface conventions and aesthetics, your Movable Type desktop client could not feel like a more natural extension of your Mac OS X environment.
2008-06-23 Mon
2008-06-22 Sun
2008-06-21 Sat
AnySQL.net
DBA notes
Oracle & Starcraft
eagle's home
Give you some color to see see!
AnySQL.net English
Oracle Scratchpad
Oracle Life
OracleDBA Blog---请享受无法回避的痛苦!
Uploads from dbanotes
Chanel [K]
xzh2000的博客
Oracle Security Blog
ERN空间
Eddie Awad's Blog
MySQL Performance Blog
The Tom Kyte Blog
del.icio.us/fenng/oracle
AIXpert
O'Reilly Databases
Red Hat Magazine
DBASupport
DB2 Magazine 中文版
developerWorks 中国 : 技术文章 , 教程 AIX
Pythian Group Blog » Log Buffer
车东[Blog^2]
blue_prince
玉面飞龙的BLOG
此生 今世
人生就是如此
Orange Tiger 木匠 的 移民生活
生活帮-LifeBang
Hey!! Sky!
dba on unix
Oracle Notes Wiki
Brotherxiao's Home
柔嘉维则@life.oracle.eng
Fenng's shared items in Google Reader
jametong's shared items in Google Reader
缥缈游侠-logzgh
Tanel Poder's blog: Core IT for geeks and pros
DBA Tools
ilonng
yangtingkun
NinGoo@Net
Oracle & Unix
Inside the Oracle Optimizer - Removing the black magic
Ricky's Test Blog
DBA@Taobao
存储部落
Think in 88
Alibaba DBA Team
Oracle Team @SNC
淘宝数据仓库团队
OracleBlog.cn






