Hi All,

I'm trying to add a custom thread barrier to the array_add function by using 
__sync_fetch_and_add. The system I'm using is MSI using Ruby in SE mode. When I 
run this, I get the following error: build/X86/mem/ruby/system/RubyPort.cc:434: 
fatal: Ruby functional read failed for address 0x15b918.
Till now I have observed that there is an open issue which mentions that 
Ruby+multithreading+SE is not supported. The exact fault occurs in Futex 
syscall. (Ref. https://gem5.atlassian.net/browse/GEM5-676). However, I have 
tested the same for MI_Example protocol (using simple_ruby.py) and 
MESI_Two_Level (using se.py) upto 30+ threads and it works. This makes me 
wonder whether this is an MSI protocol bug. Any suggestions on how I should go 
on about this issue would be appreciated! Otherwise, is Full System mode the 
recommended option for Ruby+custom coherence protocol+multithreading (possibly 
using atomics)?

Thanks and Regards,
Gautam Pathak
_______________________________________________
gem5-users mailing list -- gem5-users@gem5.org
To unsubscribe send an email to gem5-users-le...@gem5.org

Reply via email to