mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Marnix Coppens <maco@telindus.be>
To: linux-kernel@vger.rutgers.edu
Subject: Re: 2.1.xxx makes Electric Fence 22x slower
Date: Fri, 28 Aug 1998 09:51:36 +0200	[thread overview]
Message-ID: <3.0.1.32.19980828095136.00942370@exchange.telindus.be> (raw)
In-Reply-To: <199808261517.JAA24949@nyx10.nyx.net>

>
>A simple lagged-fibonacci generator like x[i] = x[i-24] + x[i-55] would
>do fine.  Moving to a twisted generator (TGFSR) improves things even more.
>What is arguably the best PRNG currently existing, the Mersenne Twister
>(Can you say "perfect score on the spectral test with up to 600 dimensions",
>boys and girls?), is quite fast.
>

MT19937 has a period of 2^19937 - 1, with a "623-dimensional equidistribution
property". It's available from http://www.math.keio.ac.jp/matumoto/emt.html .
Don't kill their machine though.


Marnix Coppens

---
Reality is that which                   | Artificial Intelligence
when you stop believing                 | stands no chance against
in it doesn't go away. (Philip K. Dick) | Natural Stupidity.


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.altern.org/andrebalsa/doc/lkml-faq.html

      reply	other threads:[~1998-08-28  9:06 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-08-26 15:17 Colin Plumb
1998-08-28  7:51 ` Marnix Coppens [this message]

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=3.0.1.32.19980828095136.00942370@exchange.telindus.be \
    --to=maco@telindus.be \
    --cc=linux-kernel@vger.rutgers.edu \
    /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®