Hi,

I am trying to use MARlSS for analyzing lock contention in
multi-threaded apps and in linux OS code. I have successfully built
the simulator and able to simulate the cores. Some of the questions I
have are:

1) When I try to run MARSS configured with large number of cores(e.g
32), the simulation is very slow. From the discussion here
"http://article.gmane.org/gmane.comp.emulators.marss86/112/match=enable+kvm";
I get that atleast for creating checkpoints we can use KVM which will
be much faster. But I do not understand where should we enable the
KVM? I tried the following:

$ qemu/qemu-system-x86_64 -enable-kvm -m [memory_size] -hda
[path-to-qemu-disk-image]

Then in qemu monitor mode I configured the simulator as follows:
simconfig -run -machine private_L2

But shortly after the simulator starts I get the following error:
qemu-system-x86_64: ptlsim/build/core/ooo-core/ooo-pipe.cpp:2054: int
ooo::ReorderBufferEntry::commit(): Assertion `ctx.get_cs_eip() ==
uop.rip' failed.

Can someone point me what I miss here and what Avadh was talking about
enabling KVM?

2) From the mailing list discussion
(http://www.mail-archive.com/marss86-devel%40cs.binghamton.edu/msg01882.html)
I see that MARSS runs the cores concurrently. Hence I believe MARSS
can simulate the lock contentions in both application & OS code needed
for my research. Kindly let me know your comments for confirmation.

Thanks for your time,
karthik

_______________________________________________
http://www.marss86.org
Marss86-Devel mailing list
[email protected]
https://www.cs.binghamton.edu/mailman/listinfo/marss86-devel

Reply via email to