Crane
Table_bottom

Search
Loading
Table_bottom

分类
Table_bottom

随机文章
Table_bottom

标签云
Table_bottom

最新评论
Table_bottom

链接
Table_bottom

功能
Table_bottom

让赛扬机器性能“赶上”四核

Crane posted @ 2010年4月04日 13:52 in Just for fun with tags fun geek linux , 3239 阅读

今天用 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!


登录 *


loading captcha image...
(输入验证码)
or Ctrl+Enter