Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 4 May 1997 20:30:53 -0400 (EDT)
From:      "Eric J. Chet" <ejc@bazzle.com>
To:        Alex Nash <nash@mcs.com>
Cc:        freebsd-smp@FreeBSD.ORG, "Dan O'Brien" <dob@bazzle.com>
Subject:   Re: SMP performance (what am I doing wrong)
Message-ID:  <Pine.BSF.3.96.970504202029.19017A-100000@gargoyle.bazzle.com>
In-Reply-To: <336D11F5.2781E494@mcs.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 4 May 1997, Alex Nash wrote:

> Using the old RC5 client we're all so familiar with, I ran a
> few benchmarks.  Under 2.2 with one processor, I think I was
> getting in the low 100,000-110,000 range.  Here's what I got
> with the SMP kernel (all results are with the system in a
> quiescent state):


Hello
	I'm not seeing any difference between a -current-up kernel
and a -current-mp kernel with rc5.  On a current-up kernel I was
seeing 122k keys a second.  On a -current-mp box with 2 rc5
processes running I was seeing 2x122k keys a second.  I was
running the rc5 clients with a nice value of 20.

client 1:

rc5-56-client: [0x08D0B2D0000000 -> 0x08D0B2DFFFFFFF]
rc5-56-client: Notifying Key Server ``famine.noc.best.net''
rc5-56-client: Obtaining Key Mask from ``famine.noc.best.net:2056''.
rc5-56-client: The Bovine Proxy KeyServer (Build 1510)
rc5-56-client: Received Keyspace Mask 0x0000000FFFFFFF
rc5-56-client: Start Key 0x08D109D0000000, trying 268435456 keys.
rc5-56-client: Processed 122425.42 keys per second.
rc5-56-client: Keyspace Exhausted in 36.54 minutes.

client 2

rc5-56-client: [0x08D0B310000000 -> 0x08D0B31FFFFFFF]
rc5-56-client: Notifying Key Server ``famine.noc.best.net''
rc5-56-client: Obtaining Key Mask from ``famine.noc.best.net:2056''.
rc5-56-client: The Bovine Proxy KeyServer (Build 1510)
rc5-56-client: Received Keyspace Mask 0x0000000FFFFFFF
rc5-56-client: Start Key 0x08D10A90000000, trying 268435456 keys.
rc5-56-client: Processed 122442.80 keys per second.
rc5-56-client: Keyspace Exhausted in 36.54 minutes.

Try running the two rc5 clients if have a dual smp box.  What might have
happend was your single rc5 client was bouncing between cpus and thats
where your performance lose came from.  The current schedular doesn't
have any code to help process cpu affinity. I'm using a dual pentium-133
box BTW.

Peace,

Eric





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.970504202029.19017A-100000>