Skip to Content.
Sympa Menu

charm - Re: [charm] Manual mode load balancing

charm AT lists.cs.illinois.edu

Subject: Charm++ parallel programming system

List archive

Re: [charm] Manual mode load balancing


Chronological Thread 
  • From: Jozsef Bakosi <jbakosi AT lanl.gov>
  • To: Ronak Buch <rabuch2 AT illinois.edu>
  • Cc: charm AT lists.cs.illinois.edu
  • Subject: Re: [charm] Manual mode load balancing
  • Date: Tue, 7 Aug 2018 09:09:54 -0600
  • Authentication-results: illinois.edu; spf=pass smtp.mailfrom=jbakosi AT lanl.gov; dkim=pass header.d=lanl.gov header.s=lanl; dmarc=pass header.from=lanl.gov

Thanks Ronak,

I'm experimenting with periodic, atsync, as well as manual modes and
have some more questions:

If I want to use AtSync mode, am I correct that if I put 'usesAtSync =
true' into all of my chare array's constructors and never call AtSync(),
I should get no migration? (I'm trying to incrementally enable migration
for different chare arrays to hunt down a possible bug. Is this a good
strategy or there is a better one?)

The manual says that in periodic and AtSync modes I should not worry
about starting load balancing, only when I have array elements created
using dynamic insertion. Does that mean that I have to explicitly call
CkStartLB() when all my dynamic insertion is done?

If I have bound arrays, is it enough to call AtSync only from one of the
bound objects and not from the others?

Thanks,
Jozsef

On 08.06.2018 17:07, Ronak Buch wrote:
> The easiest way to do so, assuming you're using AtSync() for load
> balancing, is to merely not call AtSync() while you don't want to
> migrations to happen.
>
> With periodic load balancing, then yes, TurnManualLBOn() and
> TurnManualLBOff() should disable migration due to load balancing while
> manual load balancing is turned on. You should only have to call
> CkStartLB() if you do want to balance load while manual load balancing is
> enabled, so you shouldn't have to call it at all.
>
> Thanks,
> Ronak
>
> On Mon, Aug 6, 2018 at 4:29 PM, Jozsef Bakosi
> <jbakosi AT lanl.gov>
> wrote:
>
> > Hi folks,
> >
> > I would like to turn off load balancing (and migration) for a given
> > period.
> >
> > Should I just put TurnManualLBOn() and TurnManualLBOff() around which I
> > do not want migration and that's it?
> >
> > Do I also have to call CkStartLB()? What if I don't? If I do, where
> > should that be relative to the above two calls?
> >
> > Thanks,
> > Jozsef
> >



Archive powered by MHonArc 2.6.19.

Top of Page