netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Michal Ludvig <mludvig@suse.cz>
To: johnpol@2ka.mipt.ru
Cc: hadi@cyberus.ca, netdev@oss.sgi.com, cryptoapi@lists.logix.cz,
	Eugene Surovegin <ebs@ebshome.net>
Subject: Re: Asynchronous crypto layer.
Date: Sun, 31 Oct 2004 11:46:30 +0100	[thread overview]
Message-ID: <4184C286.3000400@suse.cz> (raw)
In-Reply-To: <20041031121308.648e98f9@zanzibar.2ka.mipt.ru>

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Evgeniy Polyakov wrote:
>
>>As he points out (and i am sure he can back it with data ;->), that
>>given the setup cost, packet size, algo and CPU and bus speed, it may
>>not make sense to use the chip at all ;->
>
> Michal has numbers - pure hardware beats soft in a certain setups
> in a fully synchronous schema, let's work SW and HW in parallel.

Yes, I have *some* numbers, but consider that they are for quite
eligible setup - encrypting ~1.5k IPsec packets. I should retry with a
much smaller MTU to see the difference...

I think it won't be the programmer but the system administrator who will
have to correctly set priorities and constraints for different
hardware/software engines for the particular system. With a slow CPU it
may be worth to offload even small blocks to hardware, with a fast one
it may be worth to set HW and SW as equal, etc.

Michal Ludvig
- --
SUSE Labs                    mludvig@suse.cz
(+420) 296.545.373        http://www.suse.cz
Personal homepage http://www.logix.cz/michal
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFBhMKDDDolCcRbIhgRAqhBAKCCYwol3N3pd69yBI1HyEEFH0diOACeOqw6
2yCxYNf91eEG1Omi8uQ+Un4=
=i1UL
-----END PGP SIGNATURE-----

  reply	other threads:[~2004-10-31 10:46 UTC|newest]

Thread overview: 57+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-10-29  6:22 Asynchronous crypto layer Evgeniy Polyakov
2004-10-29 12:42 ` jamal
2004-10-29 14:06   ` Evgeniy Polyakov
2004-10-29 14:03     ` Michal Ludvig
2004-10-29 14:36       ` Evgeniy Polyakov
2004-10-29 14:53         ` Michal Ludvig
2004-10-29 15:11           ` jamal
2004-10-29 15:27           ` Evgeniy Polyakov
2004-10-30 20:39             ` Eugene Surovegin
2004-10-30 21:17               ` Evgeniy Polyakov
2004-10-30 21:09                 ` Eugene Surovegin
2004-10-30 21:46                   ` Evgeniy Polyakov
2004-10-29 15:08     ` jamal
2004-10-29 15:37       ` Evgeniy Polyakov
2004-10-29 15:28         ` Michal Ludvig
2004-10-29 16:16       ` James Morris
2004-10-29 16:45         ` Evgeniy Polyakov
2004-10-29 20:00           ` Sam Leffler
2004-10-31  6:09             ` James Morris
2004-10-31  6:35               ` Sam Leffler
2004-10-30 20:35     ` Eugene Surovegin
2004-10-30 21:04       ` Evgeniy Polyakov
2004-10-30 20:56         ` Eugene Surovegin
2004-10-30 21:24           ` Evgeniy Polyakov
2004-10-30 23:41             ` jamal
2004-10-31  9:13               ` Evgeniy Polyakov
2004-10-31 10:46                 ` Michal Ludvig [this message]
2004-10-31 15:03                   ` jamal
2004-10-31 16:07                     ` James Morris
2004-11-01  6:01                     ` Evgeniy Polyakov
2004-10-31 15:36                   ` Michael Richardson
2004-10-31 16:09                     ` James Morris
2004-10-31 14:56                 ` jamal
2004-11-01  5:12                   ` Evgeniy Polyakov
2004-10-29 17:44 ` James Morris
2004-10-29 17:46   ` James Morris
2004-10-30  5:20     ` Evgeniy Polyakov
2004-10-31  5:43       ` James Morris
2004-10-30  5:19   ` Evgeniy Polyakov
2004-10-30  8:34     ` Evgeniy Polyakov
2004-10-30  8:36       ` Evgeniy Polyakov
2004-10-30 16:57     ` Michal Ludvig
2004-10-30 17:40       ` Evgeniy Polyakov
2004-10-30 20:17         ` Michal Ludvig
2004-10-30 20:56           ` Evgeniy Polyakov
2004-10-30 19:42       ` James Morris
2004-10-29 19:56 ` Sam Leffler
2004-10-30  6:16   ` Christoph Hellwig
2004-10-30 20:37 ` Evgeniy Polyakov
2004-10-31 16:05 ` James Morris
2004-11-01  5:58   ` Evgeniy Polyakov
2004-12-14  6:56     ` James Morris
2004-12-14  7:58       ` Evgeniy Polyakov
2004-11-02 15:24 ` Evgeniy Polyakov
2004-11-02 16:12 ` Evgeniy Polyakov
2004-12-14  7:23   ` James Morris
2004-12-14  8:07     ` Evgeniy Polyakov

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=4184C286.3000400@suse.cz \
    --to=mludvig@suse.cz \
    --cc=cryptoapi@lists.logix.cz \
    --cc=ebs@ebshome.net \
    --cc=hadi@cyberus.ca \
    --cc=johnpol@2ka.mipt.ru \
    --cc=netdev@oss.sgi.com \
    /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;
as well as URLs for NNTP newsgroup(s).