[parsec-users] question about running dedup and freqmine

Christian Bienia cbienia at CS.Princeton.EDU
Wed Mar 4 01:15:26 EST 2009

Hello Guaqiang Yang,


It takes a pretty long time to run the PARSEC benchmarks with the simlarge
input in a standard cycle-accurate simulator. The fundamental problem is the
large working sets: Processing time scales at least linearly with the
working set size because every data item has to be touched at least once.
That means that as you go from 1 Mb working sets to 100 Mb working sets, you
should expect an increase in processing time of at least two orders of
magnitude (often more).


If you really need large working sets and lots of parallelism for your
research then you should consider using a very fast simulator. Detailed,
cycle-accurate simulation is no problem if advanced simulation techniques
such as sampling are employed. Unfortunately only few simulators support
sampling yet. Here are a few simulators that might be interesting for you:


.         Flexus (http://www.ece.cmu.edu/~simflex/): Uses Simics and the
SimFlex sampling technology for extremely fast simulation. The speedup over
conventional simulators is about 3-4 orders of magnitude. That means you can
run a simulation that would ordinarily take 5.5 days in only 90 seconds. The
disadvantage is that you need to know a little bit about statistics.

.         PTLsim (http://www.ptlsim.org/): Uses a clever trick to simulate
x86 binaries really fast on x86 processors without significant loss of
accuracy. The disadvantage is that the binary must match the host platform.

.         Pin (http://www.pintool.org/): A tool for dynamic instrumentation
of programs. Like with PTLsim the binary must match the host platform, but
Pin is more light-weight and thus faster than PTLsim. The disadvantage is
that Pin results have only limited accuracy since the binary basically runs
natively and you just "hook in".


No doubt there are more great simulators out there that are really fast AND
accurate at the same time. I happen to know that there are at least some
simulators in development that will offer sampling right from the beginning,
which basically solves the problem. PARSEC itself is simulator-agnostic, so
we don't recommend any particular simulator.







From: parsec-users-bounces at lists.cs.princeton.edu
[mailto:parsec-users-bounces at lists.cs.princeton.edu] On Behalf Of Guoqiang
Sent: Tuesday, March 03, 2009 7:48 PM
To: parsec-users at lists.cs.princeton.edu
Subject: [parsec-users] question about running dedup and freqmine


Hi there,


I was trying to run parsec 1.0 in GEMS. And it turned out that dedup and
freqmine took too much longer than estimated, say like 10 days. I don't know
if any of you guys have the same problem.


btw: I was using the sim-large input set and the number of the threads were
set to 8 since I was simulating a 8-core CMP chip.


Any suggestion is highly appreciated.


Many thanks,


Guoqiang Yang

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

More information about the parsec-users mailing list