Skip to Content.
Sympa Menu

charm - Re: [charm] use LBObjUserData

charm AT lists.cs.illinois.edu

Subject: Charm++ parallel programming system

List archive

Re: [charm] use LBObjUserData


Chronological Thread 
  • From: Yan Liu <yanliu AT cybergis.org>
  • To: "Sun, Yanhua" <sun51 AT illinois.edu>
  • Cc: "charm AT cs.uiuc.edu" <charm AT cs.uiuc.edu>
  • Subject: Re: [charm] use LBObjUserData
  • Date: Sat, 06 Dec 2014 20:21:39 -0600
  • List-archive: <http://lists.cs.uiuc.edu/pipermail/charm/>
  • List-id: CHARM parallel programming system <charm.cs.uiuc.edu>

Hi Professor and Yanhua,

In my branch and bound search, LB is needed at two places:
- when a chare is created. LB can help assign different search chares to the same or different PEs;
- at runtime when some PEs are idle. a work stealing type LB can help make PEs busy.

In both cases, LB needs extra info about B&B attributes of each chare. If user data feature can be leveraged in seed balancers, it'd be great.

Thanks,
Yan

Kale, Laxmikant V wrote on 12/06/2014 07:28 PM:
The load balancers for singleton chares (used in tree-structured computations, such as in branch-and-bound) are different in structure. I assume thats what you are looking for. They are called “seed balancers” in charm documentation. Yanhua Sun will probably be the best person to connect with on this issue.


On Dec 6, 2014, at 7:07 PM, Yan Liu <yanliu AT cybergis.org> wrote:

I'd like develop my own load balancer in this way:
1. when I do ckNew, I'd like to pass lb data to load balancer;
2. in LB implementation, I'll call stats->objData[i]->getUserData() to retrieve the data passed in 1.

I don't know how to do 1. Any suggestions? Or LBObjUserData is used in a very different situation?

Thanks,
Yan
_______________________________________________
charm mailing list
charm AT cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/charm

-----
Laxmikant (Sanjay) Kale         http://charm.cs.uiuc.edu
Professor, Computer Science     kale AT illinois.edu
201 N. Goodwin Avenue           Ph:  (217) 244-0094
Urbana, IL  61801-2302          FAX: (217) 265-6582








Archive powered by MHonArc 2.6.16.

Top of Page