[Gems-users] Processor number in Opal


Date: Thu, 27 May 2010 16:22:04 +0800
From: Amy Pang <pangjiufeng@xxxxxxxxxxxxxxx>
Subject: [Gems-users] Processor number in Opal
Hi list,

I find that the simulated processor number in Ruby could be set in $GEMS/ruby/config/rubyconfig.
default through two parameters (g_PROCS_PER_CHIP, g_NUM_PROCESSORS) and could be changed after booting up Simics. And the simulated processor number in Ruby should be same as that of Simics.

But how could you set simulated processor number in Opal? In $GEMS/opal/config/config.default, there is only CONFIG_LOGICAL_PER_PHY_PROC which is defined for SMT.  In $GEMS/opal/system/system.C line 207 SIM_number_processor() always returns 1, which is used as Opal as the processor number in the system.  That might dismatch with Ruby and Simics.

I am  new to GEMS and appreciate your help.


--
-Amy Pang
[← Prev in Thread] Current Thread [Next in Thread→]