On Friday, 24.04.2015 at 08:00, Antti Kantee wrote:
> On 24/04/15 07:44, Andrew Stuart wrote:
> >>>Before we speculate more, can you first test it again and see if the 
> >>>numbers got some X better?
> >
> >
> >Start command is:
> >
> >rumprun xen -di -M 1024 \
> >     -n inet,static,192.168.1.33/24 \
> >     -b images/data.iso,/data \
> >     -b images/stubetc.iso,/etc \
> >     -- nginx/objs/nginx -c /data/conf/nginx.conf
> >
> >The average Transaction rate for Ubuntu and NetBSD was in the range of 5,500 
> >transactions.
> >
> >
> >
> >Repeatedly running the 20 second siege test results in this:
> >
> >Transaction rate:         1381.10 trans/sec
> >Transaction rate:          554.21 trans/sec
> >Transaction rate:          435.25 trans/sec
> >Transaction rate:          371.04 trans/sec
> >Transaction rate:          331.51 trans/sec
> >Transaction rate:          302.39 trans/sec
> >Transaction rate:          280.16 trans/sec
> >Transaction rate:          261.12 trans/sec
> 
> [...]
> 
> Heh, interesting.  Something is leaking and causing a slowdown.  The
> good news is that we can extrapolate that the actual performance
> will be >1.4k/s once we find that leak.  You can probably get a hint
> of that value by running a 2s blast.
> 
> I'll try to repro and find the problem (but most likely not until
> next week).

I've known about this (nginx getting slower over time) but not had time to
investigate thoroughly. I think its an nginx-specific issue; it may be to
do with the fact that we're running in the special "non-forking" mode
(master_process off), or not.

I can confirm similar numbers on my dom0 here.

For comparison, I've just tried mathopd, and it does not suffer from the
same problem:

Invocation:

# rumprun xen -di -M 128 -n inet,static,10.0.120.120/24 -b 
images/stubetc.iso,/etc -b images/data.iso,/data mathopd/src/mathopd -n -t -f 
/data/mathopd.conf

Benchmark:

# siege -c10 -b -t20s -i http://10.0.120.120/logo150.png

Results:

Transaction rate:            6676.46 trans/sec
Transaction rate:            6589.34 trans/sec
Transaction rate:            6657.97 trans/sec
Transaction rate:            6784.82 trans/sec

> Thanks for the data, very useful.

Thank you from me also!

Martin

Reply via email to