Subject: Re: SMP & native threads...
To: Andrew Gillham <gillham@vaultron.com>
From: Jason Thorpe <thorpej@wasabisystems.com>
List: tech-smp
Date: 06/11/2003 12:26:15
On Wednesday, June 11, 2003, at 12:07 PM, Andrew Gillham wrote:
> So two questions:
> 1. Is it possible to add a scheduler hack to only allow threaded
> apps to use one CPU? E.g. anything doing SA will be forced to cpu0,
> while
> regular processes can use any.
Not really. But the short-term fix for the problem will likely be
"make it so threaded apps can't run on more than one CPU concurrently".
> 2. Can we disable the internal pthreads lib and use pth from pkgsrc on
> an MP system? That way at least the box will not wedge and people can
> use the MP support.
You, as a user of -current, are free to do that on your system, sure.
-- Jason R. Thorpe <thorpej@wasabisystems.com>