🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.powerpc
Article #2539

Re: Message passing speed on BeBox

#2539
From: David C. Navas
Date: Fri, 17 Nov 1995 16:30
30 lines
2040 bytes
In article <benoitDI5x81.I26@netcom.com> benoit@netcom.com (schillings benoit) writes:
>Actually with 2 CPU you can hope to reach better values than with a single
>one... the reason is that you can have some balanced processed on both
>sides which will not have to context switch at all... the message works
>then like a mailbox between the two tasks... just difficult to achieve.

Right, assuming that the one task isn't waiting for the reponse of the other.
Good asynchronous design is hard to come by.  There are relatively
straight-forward server/client transactions -- but in "real" life, defering
state transition usually means passing a significant amount of your state
to the other side.  That can be a performance drag.

On the Amiga, solutions to such problems were easy -- package your state
into a good object design and build a message subsystem that deals with your
object's usecount.  When you start crossing the process boundary with all the
attendent pointer-to-pointer issue, it becomes problematic again.

Tough choices.

>Kernel messages are very critical to our performance... we keep looking
>for ways to improve it.

Well, if the 100microsecond context-switch number was accurate, and you're
getting 10,000 messages per second -- sounds like the next thing you'll want
to look at is context switch :)

-- 
David Navas  jazz@netcom.com  dnavas@us.oracle.com     P11 -- your "friend"
Minbari: "bonehead" will never mean the same thing again. (season 1)
Minbari: Things are getting hairy on Babylon 5.           (season 2)
Technical Details
Message-ID: <jazzDI74J2.4zq@netcom.com>
Path: arc1-ca.pugleaf.net!netcom.com!jazz
References: <dlakelan.816456084@isua1.iastate.edu> <jazzDI5Jrq.Bxt@netcom.com> <benoitDI5x81.I26@netcom.com>

Show Full Headers
Complete Article Headers
Newsgroups: comp.sys.powerpc,comp.sys.amiga.advocacy
Path: arc1-ca.pugleaf.net!netcom.com!jazz
From: jazz@netcom.com (David C. Navas)
Subject: Re: Message passing speed on BeBox
Message-ID: <jazzDI74J2.4zq@netcom.com>
Organization: Netcom Online Communications Services (408-241-9760 login: guest)
References: <dlakelan.816456084@isua1.iastate.edu> <jazzDI5Jrq.Bxt@netcom.com> <benoitDI5x81.I26@netcom.com>
Date: Fri, 17 Nov 1995 16:30:37 GMT
Sender: jazz@netcom16.netcom.com