fun with pools: how to create a compilation script that spreads itself on multiple cpu's

From: Dimitar Vasilev (dimitar.vassilev@gmail.com)
Date: Tue Aug 21 2007 - 06:34:01 EDT


Hi all!
I've got an Oracle forms compilation on an e4500 with Solaris 10 u3, 14cpus
8mb cache each that I'd like to
spread on multiple processors, because the compilation binds to 1 CPU and
400mhz is on always enough.

I've read http://docs.sun.com/app/docs/doc/817-1592 and
http://docs.sun.com/app/docs/doc/817-1975/6mhlv6vus?a=view

My questions are:

1. Could someone pass a straw on how to paralellize compilation on multiple
processors?

Forms are compiled with something like this:
cat $ORACLE_HOME/bin/f90genm.sh
export blurb
-------
$ORACLE_HOME/bin/f90genm $*

2. Is it safe to enable both static and dynamic pools or I should choose
what to run.E.g

svcs -a | grep pool
online Aug_18 svc:/system/pools:default
online 11:31:29 svc:/system/pools/dynamic:default

or I should disable either dynamic or default?

I'm thinking of the following as a possible solution:
1.Divide the number of forms on 14,
2.arrange the threads,
3. pass each form per CPU
4. wait to complete with sleep.
5.pass the next.

Thanks a lot for the ideas.
Will sum up.

-- 
PP8P<P8QQ
Q PP0QP8P;P5P2
Dimitar Vassilev
GnuPG key ID: 0x4B8DB525
Keyserver: pgp.mit.edu
Key fingerprint: D88A 3B92 DED5 917E 341E D62F 8C51 5FC4 4B8D B525
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers


This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:42:14 EDT