[parsec-users] how to set the number of threads for vips?

Christian Bienia cbienia at CS.Princeton.EDU
Mon May 17 19:46:11 EDT 2010


Hi Xiaoming,

 

Vips reads the number of threads from an environment variable. See the
*.runconf scripts in the parsec/ directory of the vips package for details.

 

Best,

Chris

 

 

From: parsec-users-bounces at lists.cs.princeton.edu
[mailto:parsec-users-bounces at lists.cs.princeton.edu] On Behalf Of xiaoming
gu
Sent: Monday, May 17, 2010 6:28 PM
To: parsec-users at lists.cs.princeton.edu
Subject: [parsec-users] how to set the number of threads for vips?

 

Hi, all. I need to run vips without using parsecmgmt. So I use the dumped
command line of parsecmgmt. However, 
the dumped command line of vips is not changed even with different numbers
of threads set in parsecmgmt. You 
can see the problem in the following red lines---there is no flag about
thread in the "Running ...." lines. But from the 
elapsed time, the number of threads are really changed.

Please reply this message if you happen to know the flag. Thanks.

Xiaoming

[xxxxx at xxxx ~/parsec-2.1]$ parsecmgmt -a run -p vips -i simlarge -c
gcc-pthreads -n 1
[PARSEC] Benchmarks to run:  vips

[PARSEC] [========== Running benchmark vips ==========]
[PARSEC] Deleting old run directory.
[PARSEC] Setting up run directory.
[PARSEC] Unpacking benchmark input 'simlarge'.
bigben_2662x5500.v
[PARSEC] Running 'time
/localdisk/xiaoming/parsec-2.1/pkgs/apps/vips/inst/amd64-linux.gcc-pthreads/
bin/vips im_benchmark bigben_2662x5500.v output.v':
[PARSEC] [---------- Beginning of output ----------]
PARSEC Benchmark Suite Version 2.1

real    0m7.281s
user    0m7.227s
sys    0m0.142s
[PARSEC] [----------    End of output    ----------]
[PARSEC] Done.
[xxxxx at xxxx ~/parsec-2.1]$ parsecmgmt -a run -p vips -i simlarge -c
gcc-pthreads -n 2
[PARSEC] Benchmarks to run:  vips

[PARSEC] [========== Running benchmark vips ==========]
[PARSEC] Deleting old run directory.
[PARSEC] Setting up run directory.
[PARSEC] Unpacking benchmark input 'simlarge'.
bigben_2662x5500.v
[PARSEC] Running 'time
/localdisk/xiaoming/parsec-2.1/pkgs/apps/vips/inst/amd64-linux.gcc-pthreads/
bin/vips im_benchmark bigben_2662x5500.v output.v':
[PARSEC] [---------- Beginning of output ----------]
PARSEC Benchmark Suite Version 2.1

real    0m3.706s
user    0m7.297s
sys    0m0.143s
[PARSEC] [----------    End of output    ----------]
[PARSEC] Done.


[xxxxx at xxxx ~/parsec-2.1]$ parsecmgmt -a run -p vips -i simlarge -c
gcc-pthreads -n 4
[PARSEC] Benchmarks to run:  vips

[PARSEC] [========== Running benchmark vips ==========]
[PARSEC] Deleting old run directory.
[PARSEC] Setting up run directory.
[PARSEC] Unpacking benchmark input 'simlarge'.
bigben_2662x5500.v
[PARSEC] Running 'time
/localdisk/xiaoming/parsec-2.1/pkgs/apps/vips/inst/amd64-linux.gcc-pthreads/
bin/vips im_benchmark bigben_2662x5500.v output.v':
[PARSEC] [---------- Beginning of output ----------]
PARSEC Benchmark Suite Version 2.1

real    0m2.001s
user    0m7.662s
sys    0m0.213s
[PARSEC] [----------    End of output    ----------]
[PARSEC] Done.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cs.princeton.edu/pipermail/parsec-users/attachments/20100517/58651483/attachment.html>


More information about the parsec-users mailing list