[stunnel-users] Large performance difference: Solaris vs Linux

Cliffe, Stephen Stephen.Cliffe at andrew.com
Mon Sep 20 01:57:12 CEST 2010


CPU is around 95% idle during the test on Solaris, 35% on Linux.

Solaris Performance (Core 2 Duo 3.3GHz):

Benchmarking 10000 connection(s) by 1 thread(s)
Bechmark done: success
66.02 seconds, 151.47 connections/second

Linux Performance (Pentium 4 CPU 3.4GHz dual-core):

Benchmarking 10000 connection(s) by 1 thread(s)
Bechmark done: success
22.59 seconds, 442.72 connections/second

I've attached the vmstat and before & after netstat outputs.

Steve.

-----Original Message-----
From: Jeremie Le Hen [mailto:jeremie at le-hen.org] 
Sent: Friday, 17 September 2010 7:46 PM
To: Cliffe, Stephen
Cc: stunnel-users at mirt.net
Subject: Re: [stunnel-users] Large performance difference: Solaris vs Linux

On Fri, Sep 17, 2010 at 02:49:25PM +0800, Cliffe, Stephen wrote:
> Hi,
> 
> I've just been comparing the performance of stunnel on Solaris 10 &
> Linux (Centos 5.5) and am seeing a big difference. I'm using stunnel
> 4.33 compiled with the same options on both platforms and the
> tcpstress benchmarking tool (http://stunnel.mirt.net/?page=perf).
> 
> On a Dell 780 running Solaris 10 I got 163.31 connections/second but
> on an older, slower Dell 620 running Linux I got 408.01
> connections/second. Both machines were otherwise idle.

How is your CPU usage?  Can you post the output of the following
commands:

% psrinfo | wc -l

% vmstat 1 10	    (during the stress test)

% netstat -s	    (before and after the test)

-- 
Jeremie Le Hen

Humans are born free and equal.  But some are more equal than others.
					    Coluche
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: Solaris.txt
URL: <http://www.stunnel.org/pipermail/stunnel-users/attachments/20100920/8f8be216/attachment.txt>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: Linux.txt
URL: <http://www.stunnel.org/pipermail/stunnel-users/attachments/20100920/8f8be216/attachment-0001.txt>


More information about the stunnel-users mailing list