WebSphere Integration Developer 6.2 (Eclipse 3.4) - BPEL editor is slow for large windows
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
libxrender (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
1.) lsb_release -rd
Description: Ubuntu 12.04.1 LTS
Release: 12.04
2.) apt-cache policy libXrender1
libxrender1:
Installed: 1:0.9.6-2build1
Candidate: 1:0.9.6-2build1
Version table:
*** 1:0.9.6-2build1 0
500 http://
100 /var/lib/
apt-cache policy libXrender1:i386
libxrender1:i386:
Installed: 1:0.9.6-2build1
Candidate: 1:0.9.6-2build1
Version table:
*** 1:0.9.6-2build1 0
500 http://
100 /var/lib/
3.) What you expected to happen: Eclipse window rendering would be working at the similar speed as in Oneric.
4.) What happened instead: Eclipse was terribly slow.
Conditions: WID 6.2 Linux version is 32-bit. Ubuntu 12.04 64-bit version installed with latest updates. ia32-libs and libstdc++5:i386 package to make WID 6.2 working.
WID 6.2 was running smoothly on Ubuntu 11.10 (Oneiric) but that stopped directly after upgrade to Ubuntu 12.04. The problem is that window rendering (BPEL editor) started to be terribly slow (CPU at 100%).
I tried to investigate the problem and finally after a few days and nights I've find out that the problem is in libXrender package.
Since code has not been changed between the two Ubuntu releases, it's somehow related to how the package is build.
5.) My analysis of the problem:
5.1) Some simple tests first
- Usage of different window environment had no effect (Unity, Gnome Shell, Gnome Classic, XFCE).
- Usage of latest Xorg versions (xorg-edgers) had also no effect.
- Usage of older/newer nvidia drivers had no effect.
- Usage of xserver-
5.2) Compare versions and changelog
http://
precise main base 1:0.9.6-2build1
oneiric main base 1:0.9.6-2
Change Log:
Version: 1:0.9.6-2build1 2012-03-02 07:04:57 UTC
* No-change rebuild against current pkgbinarymangler to fix broken
-- Martin Pitt Wed, 29 Feb 2012 17:58:51 +0100
5.3) Locate file
Precise: /usr/lib/
Oneiric: /usr/lib32/
5.4) Compare libXrender library dependency
=> By using ldd utility
=> nearly same output (ie.just addresses are different)
5.5) Filesize comparison (Result: Size differ significantly)
Precise size: 34424
Oneiric size: 38520
5.6) Compare using "file" utility (Result: hashes are different)
Precise: ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), dynamically linked, BuildID[
Oneiric: ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), dynamically linked, BuildID[
5.7) Compare libXrender path in loaded libraries (Result: path differs)
Find all dynamic libraries
lsof -p <eclipse process> | grep -E "\.so\.|\.so" | cut -c74-
List library dependency (using ldd) for every loaded library
Result:
- Precise: All used libraries have following dependency: libXrender.so.1 => /usr/lib/
- Oneiric: Not tested (already upgraded to Precise). Very likely /usr/lib32/
5.8) libXrender is used by following loaded libraries
/opt/
/opt/
/opt/
/usr/
/usr/
/usr/
/usr/
/usr/
/usr/
/usr/
/usr/
/usr/
/usr/
/usr/
/usr/
6.) Workaround (use Oneiric libXrender library version):
6.1) Copy /usr/lib32/
6.2) Make WID startup script /opt/IBM/
LD_
/opt/
6.3) chmod +x /opt/IBM/
6.4) /opt/IBM/
ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: libxrender1:i386 1:0.9.6-2build1
ProcVersionSign
Uname: Linux 3.2.0-29-generic x86_64
.tmp.unity.
ApportVersion: 2.0.1-0ubuntu12
Architecture: amd64
CompizPlugins: [core,composite
CompositorRunning: None
Date: Sun Aug 5 19:31:24 2012
DistUpgraded: 2012-08-05 17:27:48,819 DEBUG enabling apt cron job
DistroCodename: precise
DistroVariant: ubuntu
GraphicsCard:
NVIDIA Corporation G86 [Quadro NVS 140M] [10de:0429] (rev a1) (prog-if 00 [VGA controller])
Subsystem: Lenovo ThinkPad T61 [17aa:20d8]
InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release amd64 (20091027)
MachineType: LENOVO 6458VH5
PackageArchitec
PccardctlIdent:
Socket 0:
no product info available
PccardctlStatus:
Socket 0:
no card
ProcKernelCmdLine: BOOT_IMAGE=
SourcePackage: libxrender
UpgradeStatus: Upgraded to precise on 2012-08-05 (0 days ago)
dmi.bios.date: 04/08/2010
dmi.bios.vendor: LENOVO
dmi.bios.version: 7LETC7WW (2.27 )
dmi.board.name: 6458VH5
dmi.board.vendor: LENOVO
dmi.board.version: Not Available
dmi.chassis.
dmi.chassis.type: 10
dmi.chassis.vendor: LENOVO
dmi.chassis.
dmi.modalias: dmi:bvnLENOVO:
dmi.product.name: 6458VH5
dmi.product.
dmi.sys.vendor: LENOVO
version.compiz: compiz 1:0.9.7.
version.ia32-libs: ia32-libs 20090808ubuntu36
version.libdrm2: libdrm2 2.4.32-1ubuntu1
version.
version.
version.
version.
version.
version.
version.
version.
No (relevant) stdout/stderr errors were logged after Eclipse was started.
That's also the case for .metadata/.log log file in Eclipse's workspace.