On Wed, Dec 3, 2008 at 5:12 AM, Hucheng Zhou <[EMAIL PROTECTED]> wrote: > Note that I have run ulimit -s unlimited and ulimit -l unlimited. >
You need to run as root to be able to do this otherwise I don't think ulimit -l unlimited works. You also need to do ulimit in the SAME shell as the one you run pfmon from. > On Wed, Dec 3, 2008 at 12:09 PM, Hucheng Zhou <[EMAIL PROTECTED]> > wrote: >> >> Hi @ll: >> I just hacked the runspec of SPEC to automatically run pfmon to collect >> counting information and sampling information. >> However, I can correctly counting information in counting mode of pfmon, >> with --follow-all, but failed in sampling mode of pmon. >> [EMAIL PROTECTED] speccpu]$ pfmon --follow-all --aggregate-results -e >> BUS_TRANS_BURST:ALL_AGENTS:BOTH_CORES --no-cmd-output --with-header >> --short-smpl-periods=20011 --long-smpl-periods=50021 --resolve-addresses >> --overflow-block >> --smpl-outfile=run-BUS_TRANS_BURST:ALL_AGENTS:BOTH_CORES-sampling -- >> /home/zhc/speccpu/bin/specinvoke -d >> /home/zhc/speccpu/benchspec/CINT2000/164.gzip/run/00000019 -e speccmds.err >> -o speccmds.out -f speccmds.cmd >> unknown ptrace event 0 >> Not enough memory to create perfmon context for [10126], >> check your locked memory resource limit with limit or ulimit >> session terminated by unrecoverable error >> After remover the option --follow-all, pfmon can perform correctly, but >> the result sampling file is NULL. >> [EMAIL PROTECTED] speccpu]$ pfmon --aggregate-results -e >> BUS_TRANS_BURST:ALL_AGENTS:BOTH_CORES --no-cmd-output --with-header >> --short-smpl-periods=20011 --long-smpl-periods=50021 --resolve-addresses >> --overflow-block >> --smpl-outfile=run-BUS_TRANS_BURST:ALL_AGENTS:BOTH_CORES-sampling -- >> /home/zhc/speccpu/bin/specinvoke -d >> /home/zhc/speccpu/benchspec/CINT2000/164.gzip/run/00000019 -e speccmds.err >> -o speccmds.out -f speccmds.cmd >> Why I must use -follow-all is because that each SPEC benchmark is >> triggered by /home/zhc/speccpu/bin/specinvoke, otherwise, pfmon just can >> collect the PMU information of specinvoke. >> Thanks for the incoming suggestions. >> >> -- >> Institute of High Performance Computing, >> >> Department of Computer Science and Technology, >> >> Tsinghua University, Beijing, China, 100084. > > > > -- > Institute of High Performance Computing, > > Department of Computer Science and Technology, > > Tsinghua University, Beijing, China, 100084. > ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ perfmon2-devel mailing list perfmon2-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/perfmon2-devel