This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: net threads priority


Andrew Lunn wrote:

> On Mon, Jan 14, 2002 at 04:38:54PM +0100, Andrea Acquaviva wrote:
> > Hi,
> > a question about the net thread priority:
> > what is the right priority to be assigned to a client server application
> > that uses cf services (on assabet)?
> > I noticed that 99 is not a good priority since the application does not
> > work.
> > Is there any relationship that I need to be aware with the priority of
> > cf interrupt (99)? Is this priority the one assigned to the
> > corresponding dsr?
> >
>
> By default, the schedular has 32 levels. I expect priority 99 is
> causing it a problem. Do you asserts enabled? I guess not or you would
> of seen this problem. I suggest you enable them. Look in the infra
> package.
>
> Try something between 0 and 31. Whats correct depends on what the
> client/server is doing. If it taking a large amount of processor time
> i suggest running it with priority below the network stack. That way
> the stack gets chance to do what it needs to do. If the client/server
> is pritty idle it does not really matter.
>
>    Andrew

As you suggested, I enabled ASSERTS and I encoutered the following message,
then the program blocks:

ASSERT FAIL: <3>hal_misc.c          [ 159] hal_spurious_IRQ()

What does it means?

Thank you,
Andrea.

--
Ing. Andrea Acquaviva
D.E.I.S. - Universita' di Bologna
V.le Risorgimento, 2    40136 BOLOGNA (ITALY)
Tel: (+39) 051 20 93787 Fax: (+39) 051 2093786




Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]