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

xiaoming gu xiaoming.gu at gmail.com
Mon May 17 18:28:14 EDT 2010


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/d7f1a2b5/attachment.html>


More information about the parsec-users mailing list