idea 8xxx's poor performance on linux

while I use idea diana eap, I unchecked docked modes of the slides like project, structure and ant build etc, the slides moves very slowly(show and hide) that I can't bear. But that is work very well on windows. could any one tell me why? Or it's depending on the linux performance or Nvidia's poor 2D performance?

ubuntu 810 rc
Nvidia NVS 140M
nvidia driver for linux 177.80
xfce4.4
jdk1.6u10
zh_CN.UTF-8
DejaVu Sans YuanTi Book

19 comments
Comment actions Permalink

I have a similair setup (Ubuntu 8.10rc, Java 1.6u10) and things are terribly slow in IDEA.
At least I think that performance was better with 1.6u7 but I still have to check that.

I did some googling. The 2d performance on Linux is slow, it can be improved by using OpenGL (running IDEA with -Dsun.java2d.opengl=True).
But IDEA crashed with this setting.
Another option is to wait for XRender enabled Java on Linux, but this will take a while until it's available (http://openjdk.java.net/projects/xrender/).

At the moment I don't know a good solution.

edit: I had -server in my vmoptions, removing it did improve the 2d performance, I think. I also disabled animated windows in idea (Settings->Appearance). Atm graphic performance is ok (but stil not great).

Edited by: wallaby.pouch on Oct 25, 2008 6:38 PM

0
Comment actions Permalink

Same problem here. Scrolling is very slow...
7962 works nice - just the 8.0 EAPs are nearly unusable. (Ubuntu 8.04, 2.6.24-21, Intel Mobile GM965/GL960).

0
Comment actions Permalink

Created an issue: http://www.jetbrains.net/jira/browse/IDEADEV-32003

For me the same problem was in version 7, and OpenGL setting does not help.

This issue does not cover any problems with scrolling which Johannes writes
about. I see no scrolling problems for now.

Alexander.


0
Comment actions Permalink

Scrolling itself is very slow (using the scroll bar).
But when I press Page Up/Page Down there are even more problems.

Scrolling takes ages (between 1 and 2 seconds for each press) - but it depends on the size of the editor. The smaller the editor is, the faster it scrolls.
Sometimes the scrolling actions seems to get messed up. When I press several keys (e.g. several times page up and then cursor down), the visible rectangle of the editor "jumps" suddenly between two (slow) scrolling actions...


Btw: On my desktop machine (quad core with old nvidia) the performance is ok - not great but acceptable.

0
Comment actions Permalink

Interesting that you say that.
I am using Linux Mint 5 (based on Ubuntu 8.04) with JDK1.6.0_7 and IDEA 8940 and it works just fine.
I also have Compiz installed and even the fancy window effects aren't showing anything like you are mentioning.

I am using the nVidia Driver version 169.12 that I installed using EnvyNG.
I also have the following in my idea.vmoptions
-Xms256m
-Xmx1024m
-XX:PermSize=120m
-XX:MaxPermSize=120m
-ea

0
Comment actions Permalink

Scrolling is slow for me, too. I can't remember that it was that slow before (using Ubuntu 8.04, Java 6u7).
I'll try 6u7 soon, I think.

0
Comment actions Permalink

Try disabling the 'Java Quick Start' that comes enabled in u10.
In windows, don't know the linux equalivent, you would start the java config applet in the control panel.
Then: Click on Advanted tab.
Miscellaneous
Uncheck Java Quick Start

0
Comment actions Permalink

Terrible scrolling hit me when, I think, I upgraded from version 6 to verison 7. Ultimately (and I don't remeber where this came from, but someone made the suggestion after my asking in the forums), I found that this cured all the sluggish scrolling:

(in .../bin/idea.vmoptions, of course).


Randall Schulz

0
Comment actions Permalink

Thanks. That didn't cure it, though.
Scrolling using the mouse and the scrollbar is ok. But if I press PageUp / PageDown the content moves very slowly in the editor window.
Is there any solution for that?

Thanks,
Wallaby

0
Comment actions Permalink

What graphics card do you use?

It seems that Nvidia cards work while - at least for me - the intel integrated graphics is problematic... Maybe it is a driver issue.

0
Comment actions Permalink

I have a Thinkpad with a ATI Mobility FireGL 9000, not that fast with Linux but in other applications not as slow as with Java.

0
Comment actions Permalink

ATI drivers on linux prety much suck. I ended up using integrated Intel graphic card(4500MHD) instead of ATI one (V5700) on my thinkpad
One example is if you happen to watch a movie: you'll need to kill compiz, otherwise you screen flickers all the time..(BTW this happens with ATI provided drivers, open source ones doesn't perform well with 5700 card)

0
Comment actions Permalink

Okay, I made some tests:
I changed nearly every setting I could find:
- Enabled/disabled compiz
- KDE4/Gnome
- Using 1.6.0_10
- antialiasing
- -Dswing.bufferPerWindow=false
- sun.java2d.noddraw

Nothing improved

Different EAPs:
7878/7962: Much better, but even not perfect. Mousewheel/bar scrolling is ok, Page Up/Down a little too slow (it takes a little until scrolling start, then speed seems to be ok).
8940/8975: Really bad: All scrolling is slow, page up/down very, very slow (takes about 3 seconds)

Edited by: Johannes Schneider on Oct 30, 2008 9:49 PM

0
Comment actions Permalink

hm, I don't have that slow performance. My hardware is pretty new though (thinkpad w500, just month old) but I don't know if that makes that much difference.
I have just plain install with 1.6 update 10 JDK, compiz and all running.

0
Comment actions Permalink

I have a core 2 duo with 2 GB RAM. I hope this is enough....

0
Comment actions Permalink

There's not current ATI driver for my TP. I'm using the OS driver which perform quite well in all other apps - I'm not using desktop effects or something like that.
Java is slow in 2D, though.

0
Comment actions Permalink

I've been watching this for a while and it's been so bad that I've been forced to abandon the eap builds. Abysmal performance on Linux and no improvement or sign that it is being taken seriously.

The current eap builds are behind the eight ball.

0
Comment actions Permalink

There's now an Jira Issue for the scrolling problem: IDEA-20384

0
Comment actions Permalink

While the performance is better with 8.0 - it is far away from good.
Scrolling using Page Up/Down is way too slow.

Code completion / imports also takes too much time....

0

Please sign in to leave a comment.