Welcome to Soft32 Linux Forums!
FAQFAQ    SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

Bug #449176: azureus: Downloads very slowly with GIJ

 
   Soft32 Home -> Linux -> Java RSS
Next:  help on icu bug 451767/451978: extra dependency  
Author Message
Shaun Jackman

External


Since: Dec 01, 2006
Posts: 16



(Msg. 1) Posted: Tue Nov 20, 2007 9:47 pm
Post subject: Bug #449176: azureus: Downloads very slowly with GIJ
Archived from groups: linux>debian>maint>java (more info?)

Running the bit torrent client Azureus, downloading progresses
terribly slowly with the
java-gcj-compat JVM and works fine with Sun's JVM. If anyone has any
thoughts on why this might be the case, or has some time to
investigate, I'd appreciate the help in solving this bug.

http://bugs.debian.org/449176

Cheers,
Shaun


--
To UNSUBSCRIBE, email to debian-java-REQUEST.DeleteThis@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster.DeleteThis@lists.debian.org
Back to top
Login to vote
Andrew Haley

External


Since: Nov 28, 2006
Posts: 24



(Msg. 2) Posted: Wed Nov 21, 2007 7:47 am
Post subject: Re: Bug #449176: azureus: Downloads very slowly with GIJ [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Shaun Jackman writes:
> Running the bit torrent client Azureus, downloading progresses
> terribly slowly with the
> java-gcj-compat JVM and works fine with Sun's JVM. If anyone has any
> thoughts on why this might be the case, or has some time to
> investigate, I'd appreciate the help in solving this bug.
>
> http://bugs.debian.org/449176

What is the CPU meter doing?

If the CPU is pegged at 100%, I'd do some profiling. Also, starting
with the vm option -verbose:class will tell you if, by some accident,
you aren't using the precompiled classes.

Andrew.

--
Red Hat UK Ltd, Amberley Place, 107-111 Peascod Street, Windsor, Berkshire, SL4 1TE, UK
Registered in England and Wales No. 3798903


--
To UNSUBSCRIBE, email to debian-java-REQUEST.TakeThisOut@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster.TakeThisOut@lists.debian.org
Back to top
Login to vote
Andrew Haley

External


Since: Nov 28, 2006
Posts: 24



(Msg. 3) Posted: Wed Nov 21, 2007 12:47 pm
Post subject: Re: Bug #449176: azureus: Downloads very slowly with GIJ [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Shaun Jackman writes:
> On Nov 21, 2007 6:31 AM, Andrew Haley <aph.RemoveThis@redhat.com> wrote:
> >
> > Shaun Jackman writes:
> > > Running the bit torrent client Azureus, downloading progresses
> > > terribly slowly with the
> > > java-gcj-compat JVM and works fine with Sun's JVM. If anyone has any
> > > thoughts on why this might be the case, or has some time to
> > > investigate, I'd appreciate the help in solving this bug.
> > >
> > > http://bugs.debian.org/449176
> >
> > What is the CPU meter doing?
> >
> > If the CPU is pegged at 100%, I'd do some profiling. Also, starting
> > with the vm option -verbose:class will tell you if, by some accident,
> > you aren't using the precompiled classes.
>
> Hello Andrew,
>
> I can confirm that the CPU usage is <5% and that the precompiled
> classes are being used. Lots of messages like
> [Loaded (pre-compiled) java.lang.ClassLoader from <no code source>]

OK, so you never see

Loaded (bytecode) ?

with azureus classes

> I do see messages like this:
>
> DEBUG::Wed Nov 21 11:05:54 GMT-07:00
> 2007::com.aelitis.azureus.core.networkmanager.impl.tcp.VirtualChannelSelectorImpl::select::586:
> VirtualChannelSelector: No progress for op 1: listener = class
> com.aelitis.azureus.core.clientmessageservice.impl.NonBlockingReadWriteService$2,
> count = 300, socket: open = true, connected = true
> VirtualChannelSelector::select::332,NonBlockingReadWriteService$1::runSupport::82,AEThread::run::69
>
> Perhaps it's related. Which version of Azureus has RedHat packaged?

Cc: Anthony Green for comments.

Andrew.

--
Red Hat UK Ltd, Amberley Place, 107-111 Peascod Street, Windsor, Berkshire, SL4 1TE, UK
Registered in England and Wales No. 3798903


--
To UNSUBSCRIBE, email to debian-java-REQUEST.RemoveThis@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster.RemoveThis@lists.debian.org
Back to top
Login to vote
Shaun Jackman

External


Since: Dec 01, 2006
Posts: 16



(Msg. 4) Posted: Wed Nov 21, 2007 12:47 pm
Post subject: Re: Bug #449176: azureus: Downloads very slowly with GIJ [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On Nov 21, 2007 6:31 AM, Andrew Haley <aph DeleteThis @redhat.com> wrote:
>
> Shaun Jackman writes:
> > Running the bit torrent client Azureus, downloading progresses
> > terribly slowly with the
> > java-gcj-compat JVM and works fine with Sun's JVM. If anyone has any
> > thoughts on why this might be the case, or has some time to
> > investigate, I'd appreciate the help in solving this bug.
> >
> > http://bugs.debian.org/449176
>
> What is the CPU meter doing?
>
> If the CPU is pegged at 100%, I'd do some profiling. Also, starting
> with the vm option -verbose:class will tell you if, by some accident,
> you aren't using the precompiled classes.

Hello Andrew,

I can confirm that the CPU usage is <5% and that the precompiled
classes are being used. Lots of messages like
[Loaded (pre-compiled) java.lang.ClassLoader from <no code source>]

I do see messages like this:

DEBUG::Wed Nov 21 11:05:54 GMT-07:00
2007::com.aelitis.azureus.core.networkmanager.impl.tcp.VirtualChannelSelectorImpl::select::586:
VirtualChannelSelector: No progress for op 1: listener = class
com.aelitis.azureus.core.clientmessageservice.impl.NonBlockingReadWriteService$2,
count = 300, socket: open = true, connected = true
VirtualChannelSelector::select::332,NonBlockingReadWriteService$1::runSupport::82,AEThread::run::69

Perhaps it's related. Which version of Azureus has RedHat packaged?

Cheers,
Shaun


--
To UNSUBSCRIBE, email to debian-java-REQUEST DeleteThis @lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster DeleteThis @lists.debian.org
Back to top
Login to vote
Andrew Haley

External


Since: Nov 28, 2006
Posts: 24



(Msg. 5) Posted: Wed Nov 21, 2007 1:47 pm
Post subject: Re: Bug #449176: azureus: Downloads very slowly with GIJ [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Shaun Jackman writes:
> On Nov 21, 2007 11:30 AM, Andrew Haley <aph.TakeThisOut@redhat.com> wrote:
> > Shaun Jackman writes:
> > > On Nov 21, 2007 6:31 AM, Andrew Haley <aph.TakeThisOut@redhat.com> wrote:
> > > >
> > > > Shaun Jackman writes:
> > > > > Running the bit torrent client Azureus, downloading progresses
> > > > > terribly slowly with the
> > > > > java-gcj-compat JVM and works fine with Sun's JVM. If anyone has any
> > > > > thoughts on why this might be the case, or has some time to
> > > > > investigate, I'd appreciate the help in solving this bug.
> > > > >
> > > > > http://bugs.debian.org/449176
> > > >
> > > > What is the CPU meter doing?
> > > >
> > > > If the CPU is pegged at 100%, I'd do some profiling. Also, starting
> > > > with the vm option -verbose:class will tell you if, by some accident,
> > > > you aren't using the precompiled classes.
> > >
> > > Hello Andrew,
> > >
> > > I can confirm that the CPU usage is <5% and that the precompiled
> > > classes are being used. Lots of messages like
> > > [Loaded (pre-compiled) java.lang.ClassLoader from <no code source>]
> >
> > OK, so you never see
> >
> > Loaded (bytecode) ?
> >
> > with azureus classes
>
> Oh, yes I do. Sorry, I thought it was the precompiled GCJ classes that
> were important. I also see for Azureus...
> [Loaded (bytecode) org.gudy.azureus2.ui.common.Main from
> (file:/usr/share/java/Azureus2.jar <no certificates>)]
> ... and for SWT...
> [Loaded (bytecode) org.eclipse.swt.SWT from
> (file:/usr/share/java/swt.jar <no certificates>)]

OK, so you're not picking up the precompiled classes for some reason.
Not good, but the fact that the CPU is only at 5% indicates that isn't
the core problem.

Andrew.

--
Red Hat UK Ltd, Amberley Place, 107-111 Peascod Street, Windsor, Berkshire, SL4 1TE, UK
Registered in England and Wales No. 3798903


--
To UNSUBSCRIBE, email to debian-java-REQUEST.TakeThisOut@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster.TakeThisOut@lists.debian.org
Back to top
Login to vote
Shaun Jackman

External


Since: Dec 01, 2006
Posts: 16



(Msg. 6) Posted: Wed Nov 21, 2007 1:47 pm
Post subject: Re: Bug #449176: azureus: Downloads very slowly with GIJ [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On Nov 21, 2007 11:30 AM, Andrew Haley <aph DeleteThis @redhat.com> wrote:
> Shaun Jackman writes:
> > On Nov 21, 2007 6:31 AM, Andrew Haley <aph DeleteThis @redhat.com> wrote:
> > >
> > > Shaun Jackman writes:
> > > > Running the bit torrent client Azureus, downloading progresses
> > > > terribly slowly with the
> > > > java-gcj-compat JVM and works fine with Sun's JVM. If anyone has any
> > > > thoughts on why this might be the case, or has some time to
> > > > investigate, I'd appreciate the help in solving this bug.
> > > >
> > > > http://bugs.debian.org/449176
> > >
> > > What is the CPU meter doing?
> > >
> > > If the CPU is pegged at 100%, I'd do some profiling. Also, starting
> > > with the vm option -verbose:class will tell you if, by some accident,
> > > you aren't using the precompiled classes.
> >
> > Hello Andrew,
> >
> > I can confirm that the CPU usage is <5% and that the precompiled
> > classes are being used. Lots of messages like
> > [Loaded (pre-compiled) java.lang.ClassLoader from <no code source>]
>
> OK, so you never see
>
> Loaded (bytecode) ?
>
> with azureus classes

Oh, yes I do. Sorry, I thought it was the precompiled GCJ classes that
were important. I also see for Azureus...
[Loaded (bytecode) org.gudy.azureus2.ui.common.Main from
(file:/usr/share/java/Azureus2.jar <no certificates>)]
.... and for SWT...
[Loaded (bytecode) org.eclipse.swt.SWT from
(file:/usr/share/java/swt.jar <no certificates>)]

Cheers,
Shaun


--
To UNSUBSCRIBE, email to debian-java-REQUEST DeleteThis @lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster DeleteThis @lists.debian.org
Back to top
Login to vote
Shaun Jackman

External


Since: Dec 01, 2006
Posts: 16



(Msg. 7) Posted: Wed Nov 21, 2007 1:47 pm
Post subject: Re: Bug #449176: azureus: Downloads very slowly with GIJ [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On Nov 21, 2007 11:42 AM, Andrew Haley <aph.DeleteThis@redhat.com> wrote:
> Shaun Jackman writes:
> > On Nov 21, 2007 11:30 AM, Andrew Haley <aph.DeleteThis@redhat.com> wrote:
> > > Shaun Jackman writes:
> > > > On Nov 21, 2007 6:31 AM, Andrew Haley <aph.DeleteThis@redhat.com> wrote:
> > > > >
> > > > > Shaun Jackman writes:
> > > > > > Running the bit torrent client Azureus, downloading progresses
> > > > > > terribly slowly with the
> > > > > > java-gcj-compat JVM and works fine with Sun's JVM. If anyone has any
> > > > > > thoughts on why this might be the case, or has some time to
> > > > > > investigate, I'd appreciate the help in solving this bug.
> > > > > >
> > > > > > http://bugs.debian.org/449176
> > > > >
> > > > > What is the CPU meter doing?
> > > > >
> > > > > If the CPU is pegged at 100%, I'd do some profiling. Also, starting
> > > > > with the vm option -verbose:class will tell you if, by some accident,
> > > > > you aren't using the precompiled classes.
> > > >
> > > > Hello Andrew,
> > > >
> > > > I can confirm that the CPU usage is <5% and that the precompiled
> > > > classes are being used. Lots of messages like
> > > > [Loaded (pre-compiled) java.lang.ClassLoader from <no code source>]
> > >
> > > OK, so you never see
> > >
> > > Loaded (bytecode) ?
> > >
> > > with azureus classes
> >
> > Oh, yes I do. Sorry, I thought it was the precompiled GCJ classes that
> > were important. I also see for Azureus...
> > [Loaded (bytecode) org.gudy.azureus2.ui.common.Main from
> > (file:/usr/share/java/Azureus2.jar <no certificates>)]
> > ... and for SWT...
> > [Loaded (bytecode) org.eclipse.swt.SWT from
> > (file:/usr/share/java/swt.jar <no certificates>)]
>
> OK, so you're not picking up the precompiled classes for some reason.
> Not good, but the fact that the CPU is only at 5% indicates that isn't
> the core problem.

If by precompiled classes you mean compiled to native code using GCJ,
Debian doesn't have native binaries for Azureus, and it isn't set up
to use the native binaries for SWT. I agree with you that I don't
think that's the core issue though. Perhaps Azureus is using some
unusual networking API that perhaps GIJ/classpath doesn't support.
It's odd to me that it does run, and does download a few bytes, only
excruciatingly slowly.

Cheers,
Shaun


--
To UNSUBSCRIBE, email to debian-java-REQUEST.DeleteThis@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster.DeleteThis@lists.debian.org
Back to top
Login to vote
Display posts from previous:   
Related Topics:
Memory problems with gij-4.1 and glibc 2.6 - I have recently had problems building Java packages. The build would just eat memory, and occasionally show things like...

Azureus - Hallo Ich bekomme es nicht hin, das Azureus startet. Ich habe Suse 10.1 und die neuste JavaVm installiert. Kann mir..

Azureus - I am trying to install Azureus with bittorrent, but the port 6881 according to the test incoming TCP does not work,..

cups printing slowly - hi just installed cups to test how it works. my first impression is not very good. it prints painfully slow on to my hp...

[Samba] smbpasswd responding slowly - as of today, when I issue the smbpasswd from the CLI, its response time is very poor. I am using samba 2.2.8 with an..

Azureus Desktop Icon - Hello, This is probable a dumb but I'm a newbie. I was wondering how to make an Azureus icon?
       Soft32 Home -> Linux -> Java All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

Categories:
 Windows
  Linux
 Mac
 PDA


[ Contact us | Terms of Service/Privacy Policy ]