public inbox for linux-arch@vger.kernel.org
 help / color / mirror / Atom feed
From: Richard Mortimer <richm@oldelvet.org.uk>
To: Andrew Morton <akpm@osdl.org>
Cc: richm@oldelvet.org.uk, Anton Blanchard <anton@samba.org>,
	arnd@arndb.de, tytso@mit.edu, linux-arch@vger.kernel.org
Subject: Re: Using get_cycles for add_timer_randomness
Date: Mon, 16 Aug 2004 00:46:50 +0100	[thread overview]
Message-ID: <1092613609.4169.22.camel@duncow> (raw)
In-Reply-To: <20040815154821.2d6edb03.akpm@osdl.org>

On Sun, 2004-08-15 at 23:48, Andrew Morton wrote: 
> Things have changed a bit - sparc now has special-case code in there too. 
> Hopefully we can remove that now.
That came from Dave M & me before Anton remembered Arnd's patch. It can
be removed with the new patch applied.

> Is everyone OK with this?
I certainly am. I have tried the patch on sparc64 (albeit on 2.4.26) and
get similar results to Anton.

Richard

> 
> From: Anton Blanchard <anton@samba.org>
> 
> I tested how long it took to do a dd from /dev/random on ppc64 before and
> after this patch, while doing a ping flood from another machine.
> 
> before:
> # /usr/bin/time dd if=/dev/random of=/dev/zero count=1k
> 0+51 records in
> Command terminated by signal 2
> 0.00user 0.00system 19:18.46elapsed 0%CPU (0avgtext+0avgdata 0maxresident)k
> 
> I gave up after 19 minutes.
> 
> after:
> # /usr/bin/time dd if=/dev/random of=/dev/zero count=1k
> 0+1024 records in
> 0.00user 0.00system 0:33.38elapsed 0%CPU (0avgtext+0avgdata 0maxresident)k
> 
> Just over 33 seconds. Better.
> _

-- 
richm@oldelvet.org.uk

  reply	other threads:[~2004-08-15 23:47 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <200308160303.17612.arnd@arndb.de>
     [not found] ` <20040810162435.GK24690@krispykreme>
     [not found]   ` <20040814183623.GB5637@krispykreme>
2004-08-15 22:48     ` Using get_cycles for add_timer_randomness Andrew Morton
2004-08-15 23:46       ` Richard Mortimer [this message]
2004-08-15 23:59       ` David S. Miller
2004-08-16 16:17       ` Theodore Ts'o
2004-08-16 16:22         ` William Lee Irwin III
2004-08-16 16:44           ` Ralf Baechle
2004-08-16 16:49             ` William Lee Irwin III
2004-08-19 18:26               ` Ralf Baechle
2004-08-16 18:53 Luck, Tony
  -- strict thread matches above, loose matches on Subject: below --
2004-08-16 21:29 Luck, Tony

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=1092613609.4169.22.camel@duncow \
    --to=richm@oldelvet.org.uk \
    --cc=akpm@osdl.org \
    --cc=anton@samba.org \
    --cc=arnd@arndb.de \
    --cc=linux-arch@vger.kernel.org \
    --cc=tytso@mit.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