Hi All,

I am trying to analyze the lock contention on the multi-threaded Linux
kernel running on MARSS simulated multi-core processors. I have
successfully built the simulator and run the ubuntu linux from the
disk images from the MARSS website. I have also used public bridging
to enable the virtual machine access from outside network. My
questions are below:

1) Can MARSS can truly simulate threads in parallel so that it can
simulate the contention?

2) When I try to run MARSS with large number of cores(e.g 32), the
simulation is very slow since qemu emulates the cores sequentially.
But the post here
"http://article.gmane.org/gmane.comp.emulators.marss86/112/match=enable+kvm";
suggests to  "enable KVM support in Marss so that for creating
checkpoints users can use KVM for faster emulation". Hence I tried the
following command line to enable KVM:

$ 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 some one point whats wrong with my approach and how to enable KVM in marss?
(Note: I built MARSS with debug enabled)

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