Re: Gang scheduling implementation in the ULE scheduler

2015-06-11 Thread Stefan Andritoiu
On Thu, Jun 11, 2015 at 3:02 AM, Neel Natu neeln...@gmail.com wrote: Hi Stefan, On Wed, Jun 10, 2015 at 1:14 PM, Stefan Andritoiu stefan.andrit...@gmail.com wrote: Hello, I am currently working on a gang scheduling implementation for the bhyve VCPU-threads on FreeBSD 10.1. I have added a

Gang scheduling implementation in the ULE scheduler

2015-06-10 Thread Stefan Andritoiu
Hello, I am currently working on a gang scheduling implementation for the bhyve VCPU-threads on FreeBSD 10.1. I have added a new field int gang to the thread structure to specify the gang it is part of (0 for no gang), and have modified the bhyve code to initialize this field when a VCPU is

Re: Gang scheduling implementation in the ULE scheduler

2015-06-10 Thread Peter Grehan
Hi Stefan, When I start a Virtual Machine, during the guest's boot, IPIs are sent and received correctly between CPUs, but after a few seconds I get: spin lock 0x8164c290 (smp rendezvous) held by 0xf8000296c000 (tid 19) too long panic: spin lock held too long Is