On Tue, May 24, 2011 2:40 pm, prasanth wrote:
> Hi,
>
> I am working on some changes related to cache coherence protocol. For this
> I
> modified Ruby's MESI_CMP_dir protocol. Now to test it, I need a setup as
> follows:
>
> A producer program running on one processor writes to some memory
> location,
> and a consumer program running on another processor should be able to read
> this
> data.
>
> Actually this involves sharing of data between both the processors and
> will help
> me test the modified cache coherence protocol.
>
> I cannot use FS mode, as it involves Operating System.
>
> I was seeing that pthreads library is not completely supported in SE mode.
>
> I have a restricted environment here. So is there a way, I could use
> existing
> parmacs, pthreads, m5 syscalls together in building such type of a program
> and
> running it on m5 simulator with Ruby Memory System.
>
> Thanks & regards,
>

Prasanth, I suggest using Ruby's random tester for testing the changes
made to the protocol. The relevant script is
configs/example/ruby_random_test.py

--
Nilay

_______________________________________________
gem5-users mailing list
gem5-users@m5sim.org
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to