DragonFly bugs List (threaded) for 2008-06
Re: Dragonfly under KVM
Matthew Dillon wrote:
I think I see what may be happening here, and I am starting to wonder
if it is also the cause of the system lockups I am getting when testing
HAMMER under extreme loads (with hundreds of user threads which are
I think it may be deadlocking between lwkt_acquire() and lwkt_schedule().
The thread trying to migrate between cpu's is getting stuck and the
acquisition loop is not processing incoming IPIs while it is waiting for
the thread to deschedule on the other cpu.
Please try this patch.
I've applied the patch and left the system running a "make -j8
buildworld" in a loop, cleaning out /usr/obj between each run.
It has been running for over 10 hours with no lock-ups with each build
taking ~45mins. I have also tested -j32 while taxing the disk and CPU of
the Linux host OS.
All now appears to be Ok.