Software Archive
Read-only legacy content
17061 Discussions

Cilk View has an error to report <1 parallelism

Zhunping_Zhang
Beginner
261 Views
Hello, I wonder if anyone has encountered this, I downloaded the new Cilk View:
~ > cilkview  -v
cilkview v2.0.2516.0
Copyright (c) 2010 Intel Corp.  All rights reserved

Running on one program on one core (CILK_NWORKERS=1) I obtained the following output:
cilkview: generating scalability data
Cilkview Scalability Analyzer V2.0.0, Build 2516
...

Whole Program Statistics
1) Parallelism Profile
   Work :					 437,977,330 instructions
   Span :					 2,278,999,561 instructions
   Burdened span :				 47,101,564,561 instructions
   Parallelism :				 0.19
   Burdened parallelism :			 0.01
   Number of spawns/syncs:			 6,008,152
   Average instructions / strand :		 29
   Strands along span :				 12,016,305
   Average instructions / strand on span :	 189
   Total number of atomic instructions : 	 6,622,022
   Frame count :				 12,201,224

2) Speedup Estimate
     2 processors:	 0.01 - 0.19
     4 processors:	 0.01 - 0.19
     8 processors:	 0.01 - 0.19
    16 processors:	 0.01 - 0.19
    32 processors:	 0.01 - 0.19
    64 processors:	 0.01 - 0.19
   128 processors:	 0.01 - 0.19
   256 processors:	 0.01 - 0.19

Cilk Parallel Region(s) Statistics - Elapsed time: 0.101 seconds
1) Parallelism Profile
   Work :					 18,446,744,073,227,519,056 instructions
   Span :					 1,358,989,671 instructions
   Burdened span :				 46,181,554,671 instructions
   Parallelism :				 13573866282.33
   Burdened parallelism :			 399439650.84
   Number of spawns/syncs:			 6,008,152
   Average instructions / strand :		 1,229,416,080,456
   Strands along span :				 6,008,152
   Average instructions / strand on span :	 226
   Total number of atomic instructions : 	 6,622,022
   Frame count :				 12,201,224
   Entries to parallel region :			 563

2) Speedup Estimate
     2 processors:	 1.90 - 2.00
     4 processors:	 3.80 - 4.00
     8 processors:	 7.60 - 8.00
    16 processors:	 15.20 - 16.00
    32 processors:	 30.40 - 32.00
    64 processors:	 60.80 - 64.00
   128 processors:	 121.60 - 128.00
   256 processors:	 243.20 - 256.00

It also happened for 4-5 other programs. I wonder if this is a common bug, do I need to submit my program as test case somewhere?
Cheers, Zhunping
0 Kudos
0 Replies
Reply