Subject Re: [IB-Architect] SuperServer IB and SMP
Author Marcelo Lopez Ruiz
I don't know about IB in particular, but in general, you need to:

+ divide big tasks into smaller ones, taking into account the number of
(ideally idle) processors; e.g.: we must sort these records, you sort the
first half, I sort the second half, then we merge the sorts.

+ try to avoid one processor's cache thrashing another's (in short: minimize
shared memory references; e.g.: duplicating lock counters and synchronizing
only at special times, like when it reaches 0 - this is *very* application
specific, and it's really icing on the cake); at least, this is the way
Intel processors can be tweaked, see Chapter 9 of the "Intel Architecture
Software Developer's Manual, Volume 3: System Programing Guide", available
at Interl's website).


Marcelo Lopez Ruiz

----- Original Message -----
From: Leyne, Sean <InterbaseArchitecture@...>
To: <IB-Architect@egroups.com>
Sent: Monday, April 24, 2000 5:09 PM
Subject: RE: [IB-Architect] SuperServer IB and SMP


> Andi,
>
> Thanks for pointing out a missing key phrase in my posting.
>
> Could someone please outline the issues related to getting IB
> _SuperServer_ to support SMP 'properly' along with a "gut" judgment on
> the complexity involved for each issue.
>
>
> Sean
>
> -----Original Message-----
> From: Andi Kleen [mailto:ak@...]
> Sent: Monday, April 24, 2000 4:05 PM
> To: IB-Architect@egroups.com
> Subject: Re: [IB-Architect] IB and SMP
>
> On Mon, Apr 24, 2000 at 03:50:22PM -0400, Leyne, Sean wrote:
> > I'm not sure if this has been asked before or if this is the right
> > forum/group to post this in but...
> >
> > Could someone please outline the issues related to getting IB to
> support
> > SMP 'properly' along with a "gut" judgement on the complexity involved
> > for each issue.
>
> As far as I understand it the IB classic architecture - which starts one
> process per connection and only shares locking - is already very SMP
> friendly. The processes don't share much.
>
> -Andi
>
> ------------------------------------------------------------------------
> IT Professionals: Match your unique skills with the best IT projects at
> http://click.egroups.com/1/3381/3/_/830676/_/956606755/
> ------------------------------------------------------------------------
>
> To unsubscribe from this group, send an email to:
> IB-Architect-unsubscribe@onelist.com
>
>
>
> ------------------------------------------------------------------------
> Good friends, school spirit, hair-dos you'd like to forget.
> Classmates.com has them all. And with 4.4 million alumni already
> registered, there's a good chance you'll find your friends here:
> http://click.egroups.com/1/2885/3/_/830676/_/956607014/
> ------------------------------------------------------------------------
>
> To unsubscribe from this group, send an email to:
> IB-Architect-unsubscribe@onelist.com
>
>
>
>