Crane
Search
Loading
分类
随机文章
标签云
ArchLinux
Earth
Fringe
Gtalk
Internet
LFS
Love
RegEx
STL
Trick
VHDL
abs
c
c++
code
css
echofon
firefox
fun
g++
game
gcc
geek
google
grep
hack
linux
math
md5
nginx
php
program
python
reader
script
sed
shell
tcpdump
usaco
vim
vimperator
virus
wikipedia
windows
二进制
位运算
危机边缘
哥德尔
大牛
希尔伯特
数据结构
日期
时间
星期五
正则表达式
漫画
生活
电影
程序员
算法
维基
编程
网络
美剧
菜鸟
越狱
输入法
黑色
最新评论
链接
功能
让赛扬机器性能“赶上”四核
今天用 stumbleupon 在网上上乱逛,发现这么个有意思的东西 (这里是原贴)
有人在LKML(linux kernel mailing list)发贴
Hi, all I have two machines that show very different performance numbers. After digging a little I found out that the first machine has, in /proc/cpuinfo: model name : Intel(R) Celeron(R) M processor 1.00GHz while the other has: model name : Intel(R) Core(TM)2 Quad CPU Q6600 @ 2.40GHz and that seems to be the main difference. Now the problem is that /proc/cpuinfo is read only. Would it be possible to make /proc/cpuinfo writable so that I could do: echo -n "model name : Intel(R) Core(TM)2 Quad CPU Q6600 @ 2.40GHz" > /proc/cpuinfo in the first machine and get a performance similar to the second machine?
这人意思是说他有两个机器,一个赛扬,一个四核,因为/proc/cpuinfo是只读的,能不能让它可写然后他用这个命令
echo -n "model name : Intel(R) Core(TM)2 Quad CPU Q6600 @ 2.40GHz" > /proc/cpuinfo
让第一台机器的性能直逼第二台。
很明显这是恶搞,但是有个人很配合的回了句
Good catch! 'chmod +w /proc/cpuinfo' should do the trick.
把/proc/cpuinfo文件权限改下即可。
楼主又来了句
Thanks, that did the trick. My first machine is much faster now and it even has 4 cores! :)
OMG,赛扬比四核还牛B。
呵呵,of course,这是个April Fool's Day 's joke!