Forums » Support

Running Netbeans & Java slows down my WattOS v5 Installation

  • K B
    • 1 posts
    July 4, 2012 4:53 AM PDT

    Hello,

     

    I recently installed WattOS5 on an old Compaq EVO PC which I managed to fit with 786 MBytes of memory. Primarily I wanted to use this machine as a Java programming computer and consequently installed the lasted Sun JDK and JRE as well as Netbeans 7.1.2.

     

    Everything works but I have noticed a serious degrade in performance when Netbeans is running and consequently I tried a few JVM tweaks as described here: 

     

    http://performance.netbeans.org/howto/jvmswitches/

     

    Unfortunately the switch '-Dsun.java2d.opengl=true' results in Netbeans crashing immediately (bug report submitted to Sun) and the memory limit switch works but appears to have no effect. Note I have used this same switch on an Ubuntu 10.04 machine and no crashes have occured.

     

    What tends to happen is that after several minutes of using Netbeans the computer freezes, the monitor flashes a couple of times and then the computer unlocks but now scrolling of text on the screen is no longer smooth, but rather 'jerky'. Switching between applicaitons becomes a drawn out affair and the whole machine appears 'sluggish'. Obvioulsly I'm using the latest versions of Java and Netbeans on an old machine but does anyone know of any possible tweaks I can do to improve performance?

     

    Sonme further system info here:

     

    lspci:

    00:00.0 Host bridge: Intel Corporation 82845G/GL[Brookdale-G]/GE/PE DRAM Controller/Host-Hub Interface (rev 01)
    00:02.0 VGA compatible controller: Intel Corporation 82845G/GL[Brookdale-G]/GE Chipset Integrated Graphics Device (rev 01)
    00:1d.0 USB Controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #1 (rev 01)
    00:1d.1 USB Controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #2 (rev 01)
    00:1d.7 USB Controller: Intel Corporation 82801DB/DBM (ICH4/ICH4-M) USB2 EHCI Controller (rev 01)
    00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev 81)
    00:1f.0 ISA bridge: Intel Corporation 82801DB/DBL (ICH4/ICH4-L) LPC Interface Bridge (rev 01)
    00:1f.1 IDE interface: Intel Corporation 82801DB (ICH4) IDE Controller (rev 01)
    00:1f.3 SMBus: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) SMBus Controller (rev 01)
    00:1f.5 Multimedia audio controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 Audio Controller (rev 01)
    05:08.0 Ethernet controller: Intel Corporation 82801DB PRO/100 VM (LOM) Ethernet Controller (rev 81)
    05:09.0 Ethernet controller: 3Com Corporation 3c900B-TPO Etherlink XL [Cyclone] (rev 04)

     

    lscpu:

    Architecture: i686
    CPU op-mode(s): 32-bit
    Byte Order: Little Endian
    CPU(s): 1
    On-line CPU(s) list: 0
    Thread(s) per core: 1
    Core(s) per socket: 1
    CPU socket(s): 1
    Vendor ID: GenuineIntel
    CPU family: 15
    Model: 2
    Stepping: 7
    CPU MHz: 1994.018
    BogoMIPS: 3988.03

    Java:

    java -version
    java version "1.7.0_05"
    Java(TM) SE Runtime Environment (build 1.7.0_05-b05)
    Java HotSpot(TM) Client VM (build 23.1-b03, mixed mode)

     

     

    Many thanks