Dear Fengkai,

Could you tell me how you run Gem5 with Ruby in FS mode? Because I cannot
run Gem5 simulator with ruby_fs.py.

Thanks for your answer in advance.

On Sun, Mar 25, 2012 at 6:24 PM, Nilay Vaish <[email protected]> wrote:

> With Ruby, you can checkpoint only when MOESI hammer protocol is in use.
>
> --
> Nilay
>
>
> On Sun, 25 Mar 2012, Fengkai Yuan wrote:
>
>  Hi there
>>
>>         I wonder that the command 'm5 checkpoint' does not work for a
>> Alpha Ruby full system simulation!
>>
>>       After I boot up a RUBY model ALPHA full system successfully, I use
>> the command 'm5 checkpoint' in the sell of the simulated system, I
>> encounter a  RUNTIME ERROR below and the simulation fails.
>>
>> Runtime Error at MESI_CMP_directory-L1cache.sm:**221, Ruby Time:
>> 23014921238:
>> Invalid RubyRequestType, PID...
>>
>>    I check the .sm file above and I found the function below:
>>
>>  Event mandatory_request_type_to_**event(RubyRequestType type) {
>>   if (type == RubyRequestType:LD) {
>>     return Event:Load;
>>   } else if (type == RubyRequestType:IFETCH) {
>>     return Event:Ifetch;
>>   } else if ((type == RubyRequestType:ST) || (type ==
>> RubyRequestType:ATOMIC)) {
>>     return Event:Store;
>>   } else {
>>     error("Invalid RubyRequestType");   *****    HERE is the LINE 221
>> ********
>>   }
>>  }
>>        I guess this is because CPU send wrong type RubyRequest messages
>> to L1 caches when we run RUBY model checkpointing.
>>
>>        I also tried fs.py (non-Ruby) and the 'm5 checkpoint' works well.
>> Does it mean we can not take checkpoint with the ruby model full system?
>>
>>  ______________________________**_________________
> gem5-users mailing list
> [email protected]
> http://m5sim.org/cgi-bin/**mailman/listinfo/gem5-users<http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users>
>



-- 
Hamid Reza Khaleghzadeh
hkhaleghzadeh.webs.com
_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to