Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / Tools / May 2005

Tip: Looking for answers? Try searching our database.

Java profiler on AMD64

Thread view: 
Andreas Tschritter - 02 May 2005 11:16 GMT
Hi

I am currently searching for a profiler for a 4GB+ applicationthat I
want to run on a AMD64 machine under Suse 9.2 or Solaris 10, but all the
profilers I found don't support the Java 1.5 AMD64 Platform (yet).
Does anybody know of a CPU profiler that runs on AMD64?

Andreas Tschritter
Robert Klemme - 02 May 2005 12:55 GMT
> Hi
>
[quoted text clipped - 4 lines]
>
> Andreas Tschritter

Did you try "java -Xrunhprof"?

   robert
Andreas Tschritter - 02 May 2005 13:33 GMT
Yes, I tried it, and it works :).
But I don't think it suits me since it traces everything and makes
everything much slower. And since the application I want to profile runs
on JBoss and normally takes >30 min to startup and I only want to
profile certain routines, which normally take <1s I don't think that is
workable.

So I am still searching for something like JProfiler, JProbe, YJP that
works with AMD64.

>>Hi
>>
[quoted text clipped - 8 lines]
>
>     robert
Robert Klemme - 02 May 2005 13:54 GMT
> Yes, I tried it, and it works :).
> But I don't think it suits me since it traces everything and makes
> everything much slower. And since the application I want to profile runs
> on JBoss and normally takes >30 min to startup and I only want to
> profile certain routines, which normally take <1s I don't think that is
> workable.

The trick is to use "cpu=samples" and not "cpu=times".  With that switch
the slowdown isn't as big.

> So I am still searching for something like JProfiler, JProbe, YJP that
> works with AMD64.

Good luck!  I guess, you'll have to wait a bit until tool vendors get
their 64 bit versions out of the door.  Alternatively: did you try remote
debugging?  That way even a 32 bit profiler might work.

Kind regards

   robert

> >>Hi
> >>
[quoted text clipped - 8 lines]
> >
> >     robert
Andreas Tschritter - 02 May 2005 14:18 GMT
>>Yes, I tried it, and it works :).
>>But I don't think it suits me since it traces everything and makes
[quoted text clipped - 5 lines]
> The trick is to use "cpu=samples" and not "cpu=times".  With that switch
> the slowdown isn't as big.

I'll give that a try.

>>So I am still searching for something like JProfiler, JProbe, YJP that
>>works with AMD64.
>
> Good luck!  I guess, you'll have to wait a bit until tool vendors get
> their 64 bit versions out of the door.  Alternatively: did you try remote
> debugging?  That way even a 32 bit profiler might work.

I tried that, but the problem is that the 64Bit VM doesn't recoginze the
32Bit versions of the profiler libraries. If I use -d32 they work fine.
So I guess I am stuck with waiting for 64 Bit versions.
> Kind regards
>
[quoted text clipped - 15 lines]
>>>
>>>    robert
Robert Klemme - 02 May 2005 15:25 GMT
> >>Yes, I tried it, and it works :).
> >>But I don't think it suits me since it traces everything and makes
[quoted text clipped - 7 lines]
> >
> I'll give that a try.

You can evaluate the output quite nicely with free tools.  There's
PerfAnal (to be found somewhere on the Sun Java site) and HP's JMeter (not
to be confused with the web app benchmarking tool).

> >>So I am still searching for something like JProfiler, JProbe, YJP that
> >>works with AMD64.
[quoted text clipped - 6 lines]
> 32Bit versions of the profiler libraries. If I use -d32 they work fine.
> So I guess I am stuck with waiting for 64 Bit versions.

Are you saying that the 64 bit VM ships with 32 bit profiling libs?  Or do
you mean that the communication between 32 bit profiling client and 64 bit
VM doesn't work?  Heck, that wouldn't be nice.  I would have assumed that
Sun designed the network protocol in a way that it's independent of host
architecture...

   robert

> > Kind regards
> >
[quoted text clipped - 15 lines]
> >>>
> >>>    robert
Andreas Tschritter - 03 May 2005 11:15 GMT
> You can evaluate the output quite nicely with free tools.  There's
> PerfAnal (to be found somewhere on the Sun Java site) and HP's JMeter (not
> to be confused with the web app benchmarking tool).
Thanks for the tip.

>>>>So I am still searching for something like JProfiler, JProbe, YJP that
>>>>works with AMD64.
[quoted text clipped - 15 lines]
> Sun designed the network protocol in a way that it's independent of host
> architecture...

No, the Xrunhprof works fine, I mean the 3rdparty profiling libraries
from Jprofiler & co, they are not recognized. And since these tools only
work with their own library...

>     robert
Robert Klemme - 03 May 2005 11:26 GMT
>> You can evaluate the output quite nicely with free tools.  There's
>> PerfAnal (to be found somewhere on the Sun Java site) and HP's
[quoted text clipped - 26 lines]
> from Jprofiler & co, they are not recognized. And since these tools
> only work with their own library...

Well, yes, unfortunately so.  Although they could use the profiling API
that Sun introduced...  Maybe it takes some time to do the migration (or
the Sun API doesn't yield all data that they need).

Kind regards

   robert
jeremiah johnson - 16 May 2005 22:50 GMT
Wow.  Can I ask what you've written that takes over 30 minutes to start
up?  I'm not what you'd call an experienced programmer, so I'm not
trying to make an attempt to discredit your programming skills, I'm just
very, Very curious to know what would take an application (even a 4Gb
application) 30+ minutes to start.

jeremiah();

> Yes, I tried it, and it works :).
> But I don't think it suits me since it traces everything and makes
[quoted text clipped - 5 lines]
> So I am still searching for something like JProfiler, JProbe, YJP that
> works with AMD64.
Richard Wheeldon - 04 May 2005 00:14 GMT
> Does anybody know of a CPU profiler that runs on AMD64?

Have you tried JMP ? It's open-source so should compile
for any architecture if you're willing to tweak it a bit,

Richard
Ira Baxter - 07 May 2005 20:51 GMT
> I am currently searching for a profiler for a 4GB+ applicationthat I
> want to run on a AMD64 machine under Suse 9.2 or Solaris 10, but all the
> profilers I found don't support the Java 1.5 AMD64 Platform (yet).
> Does anybody know of a CPU profiler that runs on AMD64?

We provide Java profilers that work by instrumenting the source.
We are shipping a Java 1.5 version.  The instrumented code should
run fine on your Suse/Solaris systems, and the instrumentation
has quite low overhead.

See http://www.semdesigns.com/Products/TestCoverage/JavaTestCoverage.html

Signature

Ira D. Baxter, Ph.D., CTO   512-250-1018
Semantic Designs, Inc.      www.semdesigns.com

vladimirkondratyev@yahoo.com - 14 May 2005 21:07 GMT
Hi Andreas,

take a look at YourKit Java Profiler
http://www.yourkit.com/eap-download/index.jsp

It support Linux AMD64 and Solaris 10 AMD64

Regards,
Vladimir Kondratyev
Andreas Tschritter - 26 May 2005 13:08 GMT
Yeah, I found that already.
But the current version always crahed for me.
There also seems to be a beta of JProbe but I wasn't able to test that
one yet.

Andreas

> Hi Andreas,
>
[quoted text clipped - 5 lines]
> Regards,
> Vladimir Kondratyev


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.