title: Java application slow on Windows and fast on Linux
body: <p>I am developing this free and open source application that renders fractals. <a href="http://perceptron.sourceforge.net/" rel="nofollow">http://perceptron.sourceforge.net/</a></p>
  
  <p>On my Windows, the application is 2 to 3 times slower than in Linux at this moment, probably because of a recent update of Ati Radeon driver (same version is used in Linux). The CPU frequency is not rising automatically when the application is executing (it stays at 1.4 GHz) unlike in Linux where it immediately rises to 3.4GHz. </p>
  
  <p>(It runs fast using 64-bit Java and in Linux only at this moment. Using 32-bit version, it was never possible to obtain the fast execution for some reason. The performance issue due to 32/64-bit versions might be related with CPU frequency as well, given the same 1:3 ratio of slow/fast speeds under 32/64-bit versions. This points to the idea that the two versions utilize CPU at the lowest or higher frequency. Research details will be at the project page forum.)</p>
  
  <p>I would like to know how to execute this JFrame application that continuously writes to the screen and secure fast operation across systems, for all future users, i.e. how to utilize CPU fully using Java. </p>
  
  <p>Main class calls Perceptron in the following manner and the CPU priority has no effect at all on the speed.</p>
  
  <pre><code>    try {
          final Perceptron m = new Perceptron("resource/Settings.txt", "resource/CrashReport.txt", "resource/presets");
          Thread go = new Thread() {
              @Override
              public void run() {
                  m.go(); 
              }
          };
          go.setPriority(Thread.MAX_PRIORITY);
          go.start(); 
      } catch (Exception e) {
          e.printStackTrace();
      }
  </code></pre>