Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 04 Mar 2009 08:54:32 -0800
From:      Sam Leffler <sam@freebsd.org>
To:        Attilio Rao <attilio@freebsd.org>
Cc:        svn-src-projects@freebsd.org, src-committers@freebsd.org
Subject:   Re: svn commit: r189366 - projects/vap7/tools/tools/nanobsd/gateworks
Message-ID:  <49AEB248.8060805@freebsd.org>
In-Reply-To: <3bbf2fe10903040845g1df7dc78ya3f4e7a37e5b8e69@mail.gmail.com>
References:  <200903041621.n24GL0Db047256@svn.freebsd.org> <3bbf2fe10903040845g1df7dc78ya3f4e7a37e5b8e69@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Attilio Rao wrote:
> 2009/3/4, Sam Leffler <sam@freebsd.org>:
>   
>> Author: sam
>>  Date: Wed Mar  4 16:21:00 2009
>>  New Revision: 189366
>>  URL: http://svn.freebsd.org/changeset/base/189366
>>
>>  Log:
>>   turn off PREEMPTION and mark it broken
>>
>>  Modified:
>>   projects/vap7/tools/tools/nanobsd/gateworks/G2348
>>
>>  Modified: projects/vap7/tools/tools/nanobsd/gateworks/G2348
>>  ==============================================================================
>>  --- projects/vap7/tools/tools/nanobsd/gateworks/G2348   Wed Mar  4 15:45:34 2009        (r189365)
>>  +++ projects/vap7/tools/tools/nanobsd/gateworks/G2348   Wed Mar  4 16:21:00 2009        (r189366)
>>  @@ -39,7 +39,7 @@ options       DDB                     #Enable the kernel debugg
>>   #options               DIAGNOSTIC
>>
>>   options        SCHED_4BSD              #4BSD scheduler
>>  -options                PREEMPTION
>>  +#options               PREEMPTION      # NB: appears broken
>>
>>   options        INET                    #InterNETworking
>>   #options       INET6                   #IPv6 communications protocols
>>
>>     
>
> Could you elaborate a bit on that please?
>   

On my xscale boards I observe network traffic randomly stall under heavy 
interrupt+ctx switch load with PREEMPTION but not w/o (and come back to 
life when I hit a key on the console).  This does not happen under 
HEAD.  I've tried various combinations of SCHED_ULE and SCHED_4BSD, w/ 
KSE and w/o KSE.  I checked code differences but don't see the issue so 
this is a WAR for folks that might use this sample config file to start 
from.  Note I'm certain this is arm/xscale-specific.

If you want more details contact me off-line.  I'd love to squash the 
problem.

    Sam




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?49AEB248.8060805>