A strange thing with yesterday's head..

Giovanni Trematerra giovanni.trematerra at gmail.com
Fri Jan 29 15:44:27 UTC 2010


On Thu, Jan 28, 2010 at 10:55 PM, Randall Stewart <rrs at lakerest.net> wrote:
> I was running SCHED_ULE on an 8.0 and everything works
> fine.
>
> On my 2 core head of yesterday I tried both SCHED_ULE AND
> 4BSD.. and got the same results ;-0
>
> I will try my 4 core when I get home ;-)
>
> R
> On Jan 28, 2010, at 11:15 AM, Gary Jennejohn wrote:
>
>> On Thu, 28 Jan 2010 10:30:37 -0800
>> Randall Stewart <rrs at lakerest.net> wrote:
>>
>>> All:
>>>
>>> I just found a very strange thing with yesterdays head.
>>>
>>> The program
>>>
>>> http://www.freebsd.org/~rrs/my_thr.c
>>>
>>> I compile it:
>>>
>>> cc -g -o my_thr my_thr.c /usr/lib/libthr.a -lpthread
>>>

Hi Randal,
I tried your code on an 8-core machine with a fresh head (i386)
I have no problems with both 4BSD and ULE scheduler.
I even upping the value of macro NUM_THREAD to 24 but I didn't notice
nothing strange.

Have you got a chance to reproduce it on your machines?

--
Gianni


More information about the freebsd-current mailing list