mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Mark Swanson <swansma@yahoo.com>
To: linux-kernel@vger.kernel.org
Subject: 2.4.2-ac3 == 400% speed improvement with Java
Date: Sat, 24 Feb 2001 06:33:54 -0800 (PST)	[thread overview]
Message-ID: <20010224143354.15276.qmail@web1302.mail.yahoo.com> (raw)

Hello,

any 2.4.1-ac5 kernel and above until 2.4.2-ac3 had a bug (Ingo guessed
it might be the yield() bug) that made Java (and some other things
*really* slow). This is fixed now. When I profiled slow kernels the
mtrr_file_add was taking up all of the time - even though I had
disabled mtrr in my kernel (it wasn't in /proc).

(Alan Cox: I'm not sure if the yield() bug was the problem, or if that
patch was in the TUX patch (based on -ac3) or the -ac3 patch.)

Here was the old test: (With 2.4.2-ac3 things are even faster than
2.2.14 at 0:00.44elapsed!!)

(jdk1.3.0_01)
> time java
(done multiple times so everything is in cache)

On 2.2.14 (400MHz Celeron/192MB RAM) this takes about 0.66ms.
0.37 user 0.07 system  0:00.62elapsed 70% CPU (oavgtext+0avgdata
0maxresident)k
0inputs+0outputs (3957major+1707minor)pagefulats 0swaps

On linux 2.4.2-ac1-TUX (same machine)

0.33 user 2.17 system 0:03.49elapsed 71%CPU (ovgtext+0avgdata
0maxresident)k
0inputs+0outputs (3987major+1784minor)pagefaults 0swaps


__________________________________________________
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail. 
http://personal.mail.yahoo.com/

                 reply	other threads:[~2001-02-24 14:34 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20010224143354.15276.qmail@web1302.mail.yahoo.com \
    --to=swansma@yahoo.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®