Welcome! Log In Create A New Profile

Advanced

Tuning nginx on EC2

Chetan Sarva
December 11, 2010 12:36AM
Hi,

I've been doing some benchmarks with nginx on EC2 and have run into a
bit of a wall. I'm trying to establish a baseline from which to
compare my application against. For this I'm using the simplest
possible nginx config:

server {
listen 80;
access_log off;
return 204;
}

With a large instance (1gbps nic), I've only been able to get up to
about 12k reqs/sec despite the fact that all resources
(cpu/mem/disk/network) appear to be under-utilized. My base platform
is Ubuntu 10.04 with nginx 0.8.53. I've tried generating load from
multiple nodes using a variety of tools, but still can't seem to push
passed 12k. Perhaps there's just some limit within EC2 that I'm
unaware of.

I've tried tweaking lots of sysctl settings to no end, but it could be
I just haven't found the correct one yet. Has anyone had any luck
getting higher throughputs on ec2?

regards,

chetan

_______________________________________________
nginx mailing list
nginx@nginx.org
http://nginx.org/mailman/listinfo/nginx
Subject Author Posted

Tuning nginx on EC2

Chetan Sarva December 11, 2010 12:36AM

Re: Tuning nginx on EC2

Dennis Jacobfeuerborn December 11, 2010 09:16AM

Re: Tuning nginx on EC2

Chetan Sarva December 11, 2010 11:56AM

Re: Tuning nginx on EC2

valor December 11, 2010 02:24PM

Re: Tuning nginx on EC2

Chetan Sarva December 11, 2010 02:34PM

Re: Tuning nginx on EC2

Anonymous User December 12, 2010 05:32AM

Re: Tuning nginx on EC2

Chetan Sarva December 22, 2010 11:36AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 77
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready