[73cat] Re: Netbeans on Linux slow on large screens - JVM/GTK issue?

  • From: Thomas Kruse < >
  • To:
  • Subject: [73cat] Re: Netbeans on Linux slow on large screens - JVM/GTK issue?
  • Date: Mon, 19 Nov 2012 22:05:52 +0100

Hi Pavel,

I have used the gnome-fallback session, because I do not use/like Unity.
I used the latest beta nvidia driver, which indeed improved the overall
system performance, but has negligible impact on the perceived Netbeans
performance.

The performance issues is not so big on small screens like 1920x1080 - I
think this can be compared to the results of
http://netbeans.org/bugzilla/show_bug.cgi?id=219507#c12 ;(32ms, 1400x1050
+ 1920x1200 on OLD machine vs 122ms 2560x1600x2 for EACH X call)

I got the nice idea to test with Java 6 instead of Java 7, but I didn't
have a chance to do that yet.

I tried to force enabled the Java2d xrender pipeline in Java 7, had no
impact I could point to.

My current feeling is that something is really terrible implemented with
non-linear algorithms or something. (Well, ok, screen size grows
quadratically with the resolution...)

If I could pinpoint the performance problem to a specific JDK thing, I
could try to reach out to these guys, but I have no idea where to search
or how to do that.


Regards,
Thomas


On 11/18/2012 06:57 PM, Pavel Selivanov wrote:
> Hi Thomas.
> 
> I'm using Ubuntu 12.04 64bit with a Gnome-shell 3.4.1 on Inspiron 1525
> (Core(TM)2 Duo CPU T8100, 4Gb RAM, Agility3 128Gb) as a developer
> notebook attached to a FullHD monitor.
> 
> So, i'm using standart display 1280x800 + 1920x1080 and have no
> significant performance issues (GTK LaF).
> 
> Looking at the issue from your letter, the problem caused by bad
> implementation of nvidia drivers and compiz problems.
> 
> First part can be probably solved by newly released nvidia drivers
> (significant performace improvements up to 50% in some cases). Compiz
> problems can be avoided by not using default Unity desktop (gnome3 aka
> gnome-shell is one of many other options) :)
> 
> 2012/11/18 Thomas Kruse 
> <
>  
> <mailto: >>
> 
>     Hi,
> 
>     I tried to investigate why Netbeans was feeling so much slower compared
>     to "other non swt ide".
>     Especially I could not believe that simple stuff like "opening menu
>     item" or "minimize, then restore" should take 1 second or so.
> 
>     If you look into issue
>     http://netbeans.org/bugzilla/show_bug.cgi?id=221862
>     you can see that Petr Cythelsky pointed me in an interesting direction:
>     GTK drawing seemed to put the brake on Netbeans.
>     Indeed: When adding "--laf
>     com.sun.java.swing.plaf.nimbus.NimbusLookAndFeel" Netbeans is *much*
>     faster, at least a factor of 3-4 on my machine!
> 
>     Speaking about my machine: 2 Screens with 2560x1600 each, Nvidia
>     graphics card, 6 cores AMD running latest Ubuntu 12.10.
> 
>     I wonder if
>     a) somebody is able to reproduce my findings
>     b) there is any way to increase the GTK performance (is it a JVM issue?
>     Can we/Netbeans/Oracle put some mild pressure there to get that fixed?)
> 
>     I always hated to be in an IDE shootout with Netbeans loosing on the
>     performance side.
>     Now I realize this does not have to be the case, let's get that fixed!
> 
>     Regards,
>     Thomas
> 
>     PS: In case somebody wonders, Linux is used by developers and enterprise
>     customers. F.e. in my city there is an insurance company having >500
>     developers/IT users running Ubuntu with several thousand end user work
>     stations running Linux/Java-Swing.
> 
> 
> 
> 
> -- 
> С уважением, Селиванов Павел.



[73cat] Netbeans on Linux slow on large screens - JVM/GTK issue?

Thomas Kruse 11/18/2012

[73cat] Re: Netbeans on Linux slow on large screens - JVM/GTK issue?

Pavel Selivanov 11/18/2012

[73cat] Re: Netbeans on Linux slow on large screens - JVM/GTK issue?

Thomas Kruse 11/19/2012

[73cat] Re: Netbeans on Linux slow on large screens - JVM/GTK issue?

Thomas Kruse 11/22/2012

[73cat] Re: Netbeans on Linux slow on large screens - JVM/GTK issue?

José Galaviz 11/22/2012

[73cat] Re: Netbeans on Linux slow on large screens with JDK7

Thomas Kruse 11/22/2012

Project Features

About this Project

www was started in November 2009, is owned by jpirek, and has 21 members.
By use of this website, you agree to the NetBeans Policies and Terms of Use (revision 20131025.e7cbc9d). © 2013, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo
 
 
Close
loading
Please Confirm
Close