From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,98fcd569e727e97c X-Google-Attributes: gid103376,public From: jsa@alexandria.organon.com (Jon S Anthony) Subject: Re: Tasking Techniques - Opinions? Date: 1997/06/10 Message-ID: #1/1 X-Deja-AN: 247499883 Distribution: world References: <5n2hjr$ohm$1@news.pacifier.com> <3394ecbe.215389049@news.pcisys.net> <3395A448.41C6@magellan.bgm.link.com> Organization: PSI Public Usenet Link Newsgroups: comp.lang.ada Date: 1997-06-10T00:00:00+00:00 List-Id: In article dewar@merv.cs.nyu.edu (Robert Dewar) writes: > Jon says > > <<> Absolutely true. However, do be aware that protected types have > > significant overhead -- not as much as task rendezvous, but on the > > order of ten times a procedure call. > > I find this surprising. On what do you base this 10X figure? > >> > > surprisingly low? or suprisingly high? The difference will vary widely. If Actually, I was thinking "high". > taking the necessary lock requires a kernel call, as it does when running > over some OS's, then the factor of 10 will be wildly optimistic. Protected > types were designed to be efficient on bare hardware, their implementation > over operating stystems is often disappointingly inefficient. OK, that makes good sense. /Jon -- Jon Anthony Organon Motives, Inc. Belmont, MA 02178 617.484.3383 jsa@organon.com