N-Queens Contest

ETSI and INRIA organized the IV Grid Plugtests of the of the IV Grid@work event from the 28th of October to the 2nd of November 2007 at Beijing in China.

The IV Grid Plugtests was made of two contests:

The Kaapi/MOAIS Team took part in the N-Queens Contest. It is made up of:

You can find all the teams who took part in this event here.


The N-Queens application

The N-Queen application that we developed for this Plugtests is composition of three grid tools :

The 3 key points of reaching high level of performances are :

  1. Have a simple API to develop parallel program. The program have been developed on top of the Athapascan API of KAAPI that defines only two keywords to describe parallelism. We have mostly reused the version of that we have used during the III GRID PLUGTESTS in 2006. The first version was developed in less than half a day based on the original Takaken code. Three full-time days has been devoted to optimize the sequential code using C++ template specialization. The gain with the original Takaken code is about 34%.
  2. Use a proved theoretical scheduling algorithm for these kind of strict multithreaded computation (our N-Queens is a pure serie-parallel program) for both homogeneous or heterogeneous (in speed) clusters. This scheduling algorithm is basically a work-stealing algorithm that is theoretically efficient for program with small critical path with respect to the work. We have extend classical workstealing algorithm with hierarchical version in order to better take into account the hierarchy of grid. Experiments during the contest have demonstrated its very good scalability up to 3654 cores.
  3. Use an efficient deployment tool TakTuk. This year we have work on integrating TakTuk into proActive deployment mechanism.

Results

Run of our N-Queens application

Some timings during the plugtest:

Ganglia output during the run on Grid'5000 :

Full Ganglia capture 1 Full Ganglia capture 2

Results of the contest

Results of the contest

Winner certificate


Future works


See also

N-Queens KAAPI performances at the III GRID PLUGTESTS 2006

KAAPI winner of IV GRID PLUGTESTS 2007

KAAPI winner of V GRID PLUGTESTS 2008


Related links

Kaapi

TakTuk

Grid'5000

ProActive


Contact

<xavier besseron (a) imag fr>

<kaapi-dev-info (a) lists gforge inria fr>