Date: Thu, 05 Oct 2006 21:45:53 -0700 From: soralx@cydem.org To: freebsd-hardware@freebsd.org Cc: dking@ketralnis.com Subject: Re: Quiet computer Message-ID: <200610052145.54292.soralx@cydem.org> In-Reply-To: <0431EB40-6AF8-49A6-9F87-0B707B1DDC94@ketralnis.com> References: <3692C07B-CCCC-4756-9B33-6DA724481FF2@ketralnis.com> <200610041939.35376.soralx@cydem.org> <0431EB40-6AF8-49A6-9F87-0B707B1DDC94@ketralnis.com>
next in thread | previous in thread | raw e-mail | index | archive | help
> I'll try to do a ubench tonight. > > I'd love to test the speed of the crypto, but I'm not exactly sure > how, nor even test if it's actually being used e.g. by openssl. All > I've confirmed is whether /dev/crypto exists :) I'd like to make sure > that at the very least, Apache from ports, and OpenSSH and OpenSSL in > the base system are using it, and ideally that OpenSSL from ports is > using it too. I'm working on getting IPsec up and running, and I have > FAST_IPSEC in the kernel, so it *should* use it, but again, I can't > think of an easy way to confirm this other than watching the device > node for opens/reads/writes just do `openssl speed` if you see some damn large numbers, you know 'tis hw crypto working :) also, test the speed of the chip's true RNG here are some numbers for comparison (Intel Northwood 2.4GHz): OpenSSL 0.9.7e 25 Oct 2004 built on: Fri Mar 24 14:39:51 PST 2006 options:bn(64,32) md2(int) rc4(idx,int) des(ptr,risc1,16,long) aes(partial) blowfish(idx) compiler: cc available timing options: USE_TOD HZ=128 [sysconf value] timing function used: getrusage The 'numbers' are in 1000s of bytes per second processed. type 16 bytes 64 bytes 256 bytes 1024 bytes 8192 bytes md2 1083.57k 2403.96k 3470.45k 3857.17k 4012.49k mdc2 3369.63k 4140.27k 4382.06k 4442.89k 4504.70k md4 7496.84k 25970.13k 77299.58k 147729.23k 193925.60k md5 6296.26k 21208.61k 60141.29k 103789.67k 141599.07k hmac(md5) 8946.89k 27790.12k 72816.20k 114649.47k 143806.72k sha1 6163.63k 19126.65k 44285.72k 68503.02k 82858.09k rmd160 4775.30k 13618.17k 29234.02k 40202.74k 46639.83k rc4 79872.90k 87853.64k 90752.84k 91046.33k 90689.96k des cbc 40637.00k 40933.07k 41313.21k 40968.95k 40949.12k des ede3 14860.39k 15206.22k 15465.58k 15398.36k 15453.31k idea cbc 0.00 0.00 0.00 0.00 0.00 rc2 cbc 10668.86k 10772.21k 10747.81k 10773.98k 10643.61k rc5-32/12 cbc 85925.70k 85319.97k 85797.86k 85211.97k 85898.78k blowfish cbc 74931.29k 81573.23k 82962.56k 83240.87k 81787.52k cast cbc 54535.14k 58286.62k 59041.53k 58917.05k 58862.35k aes-128 cbc 48317.69k 45316.48k 45234.67k 45561.34k 45518.08k aes-192 cbc 42265.50k 39788.11k 40072.84k 40091.84k 39944.97k aes-256 cbc 37967.32k 35824.60k 35768.69k 35125.65k 35716.55k sign verify sign/s verify/s rsa 512 bits 0.0012s 0.0001s 868.2 8914.5 rsa 1024 bits 0.0056s 0.0003s 178.3 3244.6 rsa 2048 bits 0.0332s 0.0010s 30.1 1011.1 rsa 4096 bits 0.2197s 0.0034s 4.6 295.3 sign verify sign/s verify/s dsa 512 bits 0.0009s 0.0011s 1056.9 893.7 dsa 1024 bits 0.0028s 0.0034s 351.9 294.6 dsa 2048 bits 0.0092s 0.0113s 109.0 88.6 > > You might wants to consider using a low-power 'brick'-type AC->DC > > PSU (~90W?) and a DC-DC voltage converter that plugs directly into > > a mainboard's power connector. This will be quite noiseless. > > Do you have any recommendations? Ideally it would mount on the case > (<http://www.logicsupply.com/product_info.php/products_id/134>) like > the current power supply does but I'm open to other options something like this (random example): http://www.logicsupply.com/product_info.php/products_id/596 check your mainboard's manual -- I'm not sure if its 12V current requrement is less than this power module can supply (remember, in contrast to Pentium IV, C3 feeds off 5V, I believe). you might want to get higher power version of this for greater efficiency or if you use more than one slow HDD (unless they're laptop HDDs that operate at 5V). I wouldn't use the highest-power modules meant for fast processors (such as Opteron, etc), as they're probably operating at high switching speeds of 2-4 MHz (holy crap!) == unnecessary EMR [acoustic noise isn't the only bad noise to be worried about ;)]. But that's just my opinion (completely unsupported). Note that I haven't got a slightest idea on the reliability of this setup, although I see less failure modes for the power module than ATX PSU. As usual, no guarantees: it may behave badly from day 1, drink all your beer, ride your bike, flush the toilet while you're showering, and it will surely bite your wallet :) if you're good friends with your hands, then it should be very easy to integrate a 'brick' power supply into the case (and get rid of that noisey ATX PSU) :) [SorAlx] ridin' VN1500-B2
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200610052145.54292.soralx>