Visit Platform at http://www.platform.com

vem_allocreq Struct Reference

VEM allocation request. More...


Data Fields

char * name
char * consumer
char * hgroup
char * resreq
int minslots
int maxslots
int flags
int tile


Detailed Description

This structure is used while calling vem_alloc() to specify the allocation request.


Field Documentation

char* name

Allocation name can be any string

char* consumer

Consumer name that this allocation should be charged to.

char* hgroup

The hostgroup that the client would like the host to be from.

char* resreq

Resource requirement string that a host must satisfy to be considered a candidate.

int minslots

Minimum slots that this request requires. VEM should not allocate anything less than this number.

int maxslots

Maximum slots this request requires. VEM will try to allocate up to this number. VEM might allocate partial amount if maximum cannot be satisfied at the moment, but will continue trying until the maximum is satified or allocation is freed.

int flags

If VEM_ALLOC_EXCLUSIVE is set, host allocated is not shared by other allocations.

int tile

control the slots distribution



     
Date Modified: 26 Nov 2007
Platform Computing: www.platform.com

Platform Support: support@platform.com
Platform Information Development: doc@platform.com

Copyright © 2001-2007 Platform Computing Corporation. All rights reserved.