On Thu, Mar 28, 2013 at 06:34:37PM +0100, Reuti wrote:
Hi,
Am 28.03.2013 um 17:03 schrieb HUMMEL Michel:
I want to integrate OSG in a future system which will manage lot of batch jobs.
I am trying the evaluate the material design, and I want to know of there is a
way to simulate the future system with OSG playing a scenario with virtual
resources and virtual jobs ?
Do you mean, you want to simulate a complete cluster just on one machine where
all the jobs request some resources but are doing only a `sleep $RANDOM` in
the end?
To simulate it with just one running sge_execd, you could setup one queue per virtual host and SGE
has to distribute the jobs along these queues. Resources per exechost have then to be added to each
queue instead (like "exclusive", "virtual_memory" of a virtual exechost) and
not to the exechost definition.
If you want to take used CPU time into account for a functional or share tree
policy, this would be much harder to simulate of course.
That's not too hard to do. Just run some simple program that spins the
CPU and/or eats RAM for a while. Ideally one that can run for
user-determined period of time (or spin loops, etc).
Something like the 'stress' program:
http://weather.ou.edu/~apw/projects/stress/
--
Jesse Becker
NHGRI Linux support (Digicon Contractor)
_______________________________________________
users mailing list
[email protected]
https://gridengine.org/mailman/listinfo/users