Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Jun 2008 19:47:58 +0200
From:      Patrick =?ISO-8859-15?Q?Lamaizi=E8re?= <patfbsd@davenulle.org>
To:        "Ivan Voras" <ivoras@freebsd.org>
Cc:        freebsd-hackers@freebsd.org, freebsd-stable@freebsd.org
Subject:   Re: AMD Geode LX crypto accelerator (glxsb)
Message-ID:  <20080623194758.6df9cafc@baby-jane-lamaiziere-net.local>
In-Reply-To: <9bbcef730806221220u4f8a3f45q305a927efdf5e16f@mail.gmail.com>
References:  <20080606234135.46144207@baby-jane-lamaiziere-net.local> <20080622170507.5ac469d2@baby-jane-lamaiziere-net.local> <g3m20f$99a$1@ger.gmane.org> <g3m2po$bf1$1@ger.gmane.org> <20080622202041.07f85145@baby-jane-lamaiziere-net.local> <9bbcef730806221220u4f8a3f45q305a927efdf5e16f@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Le Sun, 22 Jun 2008 21:20:02 +0200,
"Ivan Voras" <ivoras@freebsd.org> a écrit :

Hi, 

> The 'numbers' are in 1000s of bytes per second processed.
> type             16 bytes     64 bytes    256 bytes   1024 bytes
> 8192 bytes aes-128 cbc       5359.57k     5577.49k     5654.53k
> 5639.81k     5679.65k aes-128-cbc        394.62k     1471.97k
> 5457.89k    15097.21k    25895.72k

I've got the same results. The encryption of a file of 360 MBytes takes
around 20s with the hardware and 1m10s by software.

I am playing to overload my box (a soekris net5501) with ping floods on
ipsec (hmac-md5 and rijndael) by a modern computer.

With four 'ping -f -s 3000', 'top' reports 
CPU "0.4% user 0.0 nice 1.6% system, 90.3% interrupt,  7.8% idle".

With five 'ping', top does not run, and the kernel does not
display the message 'limiting icmp ping response to 300 to 200' anymore
too (on the serial console).

With the hardware, i can use 8 flood pings without any problem.
Top shows 
CPU:  0.0% user,  0.0% nice, 33.5% system, 12.5% interrupt, 54.1% idle

And the kernel displays "limiting icmp ping response from 900 to 200
packets/s.", instead '300 to 200'.

So it seems there is a real improvement.

Regards.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080623194758.6df9cafc>