[Soot-list] strange performance issue: slower on 4-Core CPU than on a dual-Core CPU
Patrick Lam
plam at cs.mcgill.ca
Fri Jun 24 19:02:19 EDT 2011
On 24/06/11 06:09 AM, Ding Sun wrote:
> Dear All
>
> Recently I encountered a strange problem. I wrote a programming for
> static path analysis using Soot Jimple API. The first step is to load
> sample classes by using:
>
> Scene./v/().loadNecessaryClasses();
>
> On an older PC with dual-Core (Intel Core2 Duo E6750 2.66GHz @ 2.7 GHz,
> 3GB System RAM), this step normally cost 5--10 seconds. However, when I
> moved the program to a better PC with 4-Core(Intel Core2 Q8200 2.33GHz @
> 2.3 GHz,3GB System RAM), this step cost nearlly 2-3 minutes and
> sometimes even hang on for more than 5 minutes.
I bet you're using a different Java VM on the two machines, and the
older PC has an old JVM as well, which is much faster to analyze. If you
install the same JVM on the two machines, or use the same
soot-class-path, you should get more normal results.
pat
More information about the Soot-list
mailing list