[Pvfs2-users] request scheduling
Sam Lang
slang at mcs.anl.gov
Wed Jul 28 10:20:36 EDT 2010
Jibing,
The PINT_req_sched_post (and job_req_sched_post, called from the prelude state machine) don't have access to the hints structure. You would have to modify those calls to pass the hints to the request code. The hints sent from the client are available in the s_op->req->hints structure. One you have the hints in the request scheduling code, you can get at a particular hint value using the PINT_hint_get_value_by_type or PINT_hint_get_value_by_name calls.
Both are declared/defined in src/common/misc/pint-hint.[h/c].
-sam
On Jul 27, 2010, at 12:14 AM, Jibing Li wrote:
> Hello Everyone
>
> I read the source code in /src/server/request-scheduler/request-scheduler.c, I found the request scheduling algorithm is first come first service. Now I want to change it in my order. To do this, I need to send some information to the function PINT_req_sched_post so that it can post the request in my order according to the information. I want to send these information by Hints, but I don't know how to use Hints, can you give me some instructions? This will help me a lot. Thank you very much.
>
> Jibing
> _______________________________________________
> Pvfs2-users mailing list
> Pvfs2-users at beowulf-underground.org
> http://www.beowulf-underground.org/mailman/listinfo/pvfs2-users
More information about the Pvfs2-users
mailing list