Gentoo Archives: gentoo-soc

From: Andrea Arteaga <andyspiros@×××××.com>
To: gentoo-soc@l.g.o
Subject: [gentoo-soc] Benchmark suite project
Date: Mon, 23 May 2011 19:22:33
Message-Id: BANLkTimuYcnhXgp66PQnYQVAvTB2-uxY2w@mail.gmail.com
1 Hello all.
2 My name is Andrea Arteaga and I'm working on the project "Automated
3 benchmark suite for numerical libraries in Gentoo" for this year's
4 Summer of Code.
5
6 Very shortly: many implementations for numerical library standards
7 such as BLAS, CBLAS, LAPACK, exist and are supported by Gentoo. My
8 project aims to construct a benchmark suite which can detect the best
9 suited one for the user's system and needs by performing a comparative
10 benchmark analysis. This will also take into account packages emerged
11 with special CFLAGS, FFLAGS, compilers, compiler versions...
12
13 The benchmarks will be written in C or C++, re-using existing code
14 when possible; the main part will consist of Python scripts. The
15 project design is already defined and will be the following:
16
17 * The main script will perform common tasks and will drive the user
18 through the different steps
19 * A special portage interface will use the portage APIs [I will need
20 soime help here, see later] in order to provide a simple way for
21 emerging and removing packages with special flags or environment
22 * An interface-dependant module will tell the portage API which
23 packages to emerge (e.g.: install blas-reference-20070226 using
24 gcc-4.5.2), use them for the benchmarks and interpret the result. At
25 the end it will also be responsible for a report.
26 * An interface-dependant benchmarks program which is coupled with the
27 module and will test the BLAS, CBLAS, LAPACK implementations.
28
29 The program will do operations like "CFLAGS="-O3" emerge -B
30 cblas-reference-20030223-r4" and similars, with some environments
31 changes and building binary packages in special directories. I see
32 that different threads already treat the portage APIs. I would like to
33 ask which API is the best suited for this type of operations and where
34 to find documentation for them (apart from pydoc).
35
36 I still don't have a git repository, which I asked Robin to set up a
37 few days ago, but the actual work is really starting.
38
39 --
40 Best
41 Andrea Arteaga

Replies

Subject Author
Re: [gentoo-soc] Benchmark suite project Brian Dolbec <brian.dolbec@×××××.com>