Date: | Wed, 2 Jun 2010 23:10:48 -0700 (PDT) |
---|---|
From: | Muhammad abid Mughal <mabidm_pieas@xxxxxxxxx> |
Subject: | Re: [Gems-users] Processor number in Opal |
hi, See Simics docs for SIM_number_processors(). Toal number of Sequencers (ie pseq_t objects) = Toal number of SMT processors. For Opal , value returned by SIM_number_processors() treated as total number of threads/logical processors in the whole system.Now its up to how many threads/Opal proc you want by setting CONFIG_LOGICAL_PER_PHY_PROC(and g_NUM_SMT_THREADS ). example :1 Typically only 1 thread/SMTprocs, so if simulating 8-SMTproc system , you need 8-processor checkpoint from simics. Here you have 8 pseq_t objects example :2 Lets say 2 thread/SMTprocs, so if simulating 8-SMTproc system , you need 16-processor checkpoint from simics. Here you have 8 pseq_t objects too. Regards, Muhammad abid From: Amy Pang <pangjiufeng@xxxxxxxxxxxxxxx> To: gems-users@xxxxxxxxxxx Sent: Thursday, June 3, 2010 12:08:19 Subject: Re: [Gems-users] Processor number in Opal Hi Muhammad abid Mughal You mentioned that SIM_number_processors() function is always called from Simics and returns the total number of processors in the system. Where is the definition of this funtion, in Simics or else? In $GEMS/opal/system/system.C line 207, it calls SIM_number_processors() function and the comments show that this establishes how many processors there are in the system(for SMT, this is the total number of LOGICAL processors in the system). Then, this SIM_number_processors() call is the same as that of Simics. Am I correct? Then the numProcs returned by this function call is the total number of processors in Opal and used to construct the same number of sequencers in Opal. Thanks for your reply. -Amy 2010/5/31 Amy Pang <pangjiufeng@xxxxxxxxxxxxxxx> Hi, -- -Amy Pang |
[← Prev in Thread] | Current Thread | [Next in Thread→] |
---|---|---|
|
Previous by Date: | [Gems-users] type conversion, VLIW |
---|---|
Next by Date: | [Gems-users] prefetch question, Jerry Lin |
Previous by Thread: | Re: [Gems-users] Processor number in Opal, Amy Pang |
Next by Thread: | [Gems-users] proc_num, sim_proc_num,core_num, thread_num, Amy Pang |
Indexes: | [Date] [Thread] |