public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Performance disparity, problem found
@ 2010-04-01 11:30 Paulo Marques
  2010-04-01 12:30 ` Frans Pop
  0 siblings, 1 reply; 3+ messages in thread
From: Paulo Marques @ 2010-04-01 11:30 UTC (permalink / raw)
  To: linux-kernel


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?

-- 
Paulo Marques - www.grupopie.com

"To know recursion, you must first know recursion."

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Performance disparity, problem found
  2010-04-01 11:30 Performance disparity, problem found Paulo Marques
@ 2010-04-01 12:30 ` Frans Pop
  2010-04-01 13:50   ` Paulo Marques
  0 siblings, 1 reply; 3+ messages in thread
From: Frans Pop @ 2010-04-01 12:30 UTC (permalink / raw)
  To: Paulo Marques; +Cc: linux-kernel

Paulo Marques wrote:
> 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?

Good catch! 'chmod +w /proc/cpuinfo' should do the trick.

Cheers,
FJP

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Performance disparity, problem found
  2010-04-01 12:30 ` Frans Pop
@ 2010-04-01 13:50   ` Paulo Marques
  0 siblings, 0 replies; 3+ messages in thread
From: Paulo Marques @ 2010-04-01 13:50 UTC (permalink / raw)
  To: Frans Pop; +Cc: linux-kernel

Frans Pop wrote:
> Paulo Marques wrote:
>> 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?
> 
> Good catch! 'chmod +w /proc/cpuinfo' should do the trick.
> 
> Cheers,
> FJP

Thanks, that did the trick. My first machine is much faster now and it
even has 4 cores! :)

-- 
Paulo Marques - www.grupopie.com

"All I ask is a chance to prove that money can't make me happy."

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2010-04-01 13:51 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-04-01 11:30 Performance disparity, problem found Paulo Marques
2010-04-01 12:30 ` Frans Pop
2010-04-01 13:50   ` Paulo Marques

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox