[PTLsim-devel] Problems because of setting affinity
Matt T. Yourst
Thu Oct 18 17:05:32 EDT 2007
On Thursday 18 October 2007 05:41, Sasa Tomic wrote:
> Hi,
>
> I also have the same problem, even with the unmodified version of PTLsim
> rev219.
> I should stress that we are all using multicores (VCPUS>1) in PTLsim. If
> I use a single-core version, I don't see this problem (this doesn't mean
> that it doesn't exist). But, for our research, we need multicores.
> With the rev221 the cores don't even start running if I use more that 1
> core.
> If I use only one core, it works correctly.
>
> Is there any help, and can somebody experienced with PTLsim and Xen try
> to help us and find the bug?
> I can (and will) try to find it myself, but it's definitely going to be
> a slow and painful process.
>
I'll try to look at this if you give me all the relevant information:
- PTLsim version (you said it was rev 221, but did you modify it?)
- Host kernel version (are you using the 2.6.22.6 kernel we provided?)
- Guest kernel version (are you using the 2.6.22.6 kernel we provided?) and
disk image (if you're using something other than the 2.6.22.6 kernel inside
the disk image we provided as an example).
- Xen hypervisor and tools version (please give the date of the archive we
provided on the PTLsim web site)
- Type of host machine. In our lab we have dual-core Athlon 64 X2's, Core 2
Duos and Core 2 Quads to test it on. This is important in case there's a race
condition, since that may show up on some CPUs and not others because Linux,
Xen and PTLsim all use different code sequences on different CPUs.
If you can download and try the latest versions of PTLsim, kernel, sample disk
image, Xen hypervisor and tools (currently on our web site), that would be
very helpful. If you use an older version of PTLsim, I'll have to reconfigure
our machines to run an older version of the hypervisor, which is a real pain.
>
> And I really want to say here that I really really like the coding style
> of the PTLsim. This is one of the best written programs I've seen. I'm
> serious. :) Excellent work, really :)
>
Thanks - I'm glad you like it! We put a lot of effort into making the code as
clean as possible, so it's good to see that this was helpful for you. I'll
pass your comments on to the rest of our team.
- Matt
-------------------------------------------------------
Matt T. Yourst yourst at peptidal.com
Peptidal Research Inc., Co-Founder and Lead Architect
-------------------------------------------------------
More information about the PTLsim-devel mailing list