Problems when running parsec benchmark suits.

917 views
Skip to first unread message

chuntao jiang

unread,
Nov 14, 2012, 9:37:09 PM11/14/12
to snip...@googlegroups.com
Hi,
     I have trouble with running parsec benchmark suits on sniper. Specifically, I have run ten of them successfully, and the following four of them failed: facesim, vips, x264 and freqmine.I will paste the problems below. Anyone can help me? thanks very much.

1) Software version: Centos 6.0; sniper-3.07; python 2.6.6; pin tools 2.12-53271; gcc 4.4.6; parsec suits 2.1;
2) Command line: ./run-sniper -p parsec-xxx -i small(or large) -n 16 -c gainestown -d ./output/parsec-xxx
3) Problems:

      (1) facesim:
Everytime I run it, it sticked in "Creating directory using system("mkdir -p Storytelling/output")..." for a long long time, days anyway, there must be some problems. 
the error information: 
99 [PARSEC] Running '/home/jiangchuntao/sniper-3.07/run-sniper -n 64 -m 'localhost' -d '/home/jiangchuntao/sniper-3.07/benchmarks/output/face
100 [PARSEC] [---------- Beginning of output ----------]
101 [SNIPER] Start
102 Running ['bash', '-c', '/home/jiangchuntao/sniper-3.07/pin_kit/intel64/bin/pinbin -mt -injection child -xyzzy -enable_vsm 0 -t /home/jiang
103 PARSEC Benchmark Suite Version 2.1
104 [HOOKS] PARSEC Hooks Version 1.2
105 Creating directory using system("mkdir -p Storytelling/output")...

      (2)vips: 
the error information:
 18 [PARSEC] [========== Running benchmark vips ==========]
 19 [PARSEC] Setting up run directory.
 20 [PARSEC] Unpacking benchmark input 'simsmall'.
 21 pomegranate_1600x1200.v
 22 [PARSEC] Running '/home/chuntjiang/sniper-3.07/run-sniper -n 16 -m 'localhost' -d '/home/chuntjiang/sniper-3.07/benchmarks/output/vips-sma
 23 [PARSEC] [---------- Beginning of output ----------]
 24 [SNIPER] Start
 25 Running ['bash', '-c', '/home/chuntjiang/sniper-3.07/pin_kit/intel64/bin/pinbin -mt -injection child -xyzzy -enable_vsm 0 -t /home/chuntji
 26 PARSEC Benchmark Suite Version 2.1
 27 [HOOKS] PARSEC Hooks Version 1.2
 28 [HOOKS] Entering ROI
 29 [SNIPER] Enabling performance models
 30 [SNIPER] Setting instrumentation mode to DETAILED
 31 0          [25463]  [ 0]  [scheduler_static.cc :   9]  *ERROR* No cores available for spawnThread request.
 32 Pin app terminated abnormally due to signal 6.
 33 [SNIPER] End
 34 [SNIPER] Elapsed time: 104.76 seconds
 35 [PARSEC] [----------    End of output    ----------]
 36 [PARSEC] Done.

        (3)x264:
the error information:
 14 [HOOKS] Entering ROI
 15 [SNIPER] Enabling performance models
 16 [SNIPER] Setting instrumentation mode to DETAILED
 17 A:Source/pin/vm_ia32/jit_regalloc_ia32.cpp:BBL_GenerateSpillCode:BBL_GenerateSpillCode:1930: Don't know how to spill reg 0 *invalid*
 18
 19 ################################################################################
 20 ## STACK TRACE
 21 ################################################################################
 22 addr2line -C -f -e "/home/chuntjiang/sniper-3.07/pin_kit/intel64/bin/pinbin" 0x030530733 0x03053145a 0x03070fa45 0x030710e6f 0x030689eb6 0
 23 ??
 24 ??:0
 25 ??
 26 ??:0
.
.
.

 50 ??:0
 51 ??
 52 ??:0
 53 Detach Service Count: 3921
 54 Pin 2.12
 55 Copyright (c) 2003-2012, Intel Corporation. All rights reserved.
 56 @CHARM-VERSION: $Id: version.cpp 53241 2012-08-06 11:18:41Z tevi $
 57 @CHARM-BUILDER: BUILDER
 58 @CHARM-COMPILER: gcc 4.4.7
 59 @CHARM-TARGET: ia32e
 60 @CHARM-CFLAGS:  __OPTIMIZE__=1  __NO_INLINE__=__NO_INLINE__
 61 Pin app terminated abnormally due to signal 6.
 62 [SNIPER] End
 63 [SNIPER] Elapsed time: 8.66 seconds
 64 [PARSEC] [----------    End of output    ----------]
 65 [PARSEC] Done.

     (4)freqmine:
It seems I have run it successfully, however, there is nothing in the output file "sim.out" ,it is just empty, strange and abnormal.
the terminal information:
 15 [SNIPER] Enabling performance models
 16 [SNIPER] Setting instrumentation mode to DETAILED
 17 Application received fatal signal 11 at eip 0x7f8f9bd90dd7
 18 in :0
 19
 20 Application debugging is currently disabled.
 21 To enable it, start Sniper with the --appdebug or --appdebug-wait command line switch.
 22
 23 [SNIPER] End
 24 [SNIPER] Elapsed time: 9744.26 seconds
 25 [PARSEC] [----------    End of output    ----------]
 26 [PARSEC] Done.
 27 NOTICE: Using "/home/jiangchuntao/sniper-3.07/benchmarks" as the BENCHMARKS_ROOT directory.
 28 NOTICE: Using "/home/jiangchuntao/sniper-3.07/benchmarks" as the BENCHMARKS_ROOT directory.

That's all, thanks agian.

regards

chuntao jiang



















Trevor E. Carlson

unread,
Nov 16, 2012, 4:11:24 AM11/16/12
to snip...@googlegroups.com
Chuntao,

Currently, there are a few Parsec benchmarks that don't seem to work right with Sniper. Unfortunately, we haven't been able to fix all of the problems yet.  Below are some hints that could get you started to fixing some of the problems. If either our group or someone on the list finds a solution, we will be sure to create a new version of the benchmarks directory with the fixes.

Some of the benchmarks require additional threads to be spawned require a dynamic scheduler. We plan to release the dynamic scheduler for the upcoming HiPEAC and HPCA tutorials, so we can start working to fix the pipelined or over-subscription benchmarks at that time. That x264 error is a Pin internal error, so if you could try using the "-slow_asserts 1" option to enable extra debugging. The freqmine problem you are having is because the application is probably crashing before ROI-end, which means that the ROI-end data has not been written out, and therefore a sim.out cannot be generated from the sim.stats file (via sniper/tools/gen_simout.pl).  The --app-debug switch should help to get a better idea for where in the application it is crashing.

I hope that this helps,
Trevor


--
--
You received this message because you are subscribed to the Google
Groups "Sniper simulator" group.
To post to this group, send email to snip...@googlegroups.com
To unsubscribe from this group, send email to
snipersim+...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/snipersim?hl=en

Reply all
Reply to author
Forward
0 new messages