CentOS
On 24.10.2011, at 17:07, [email protected] wrote:
CentOS
Run nginx under strace:
strace -f -e trace=io_submit /usr/sbin/nginx
You will see something like
[pid 1993] io_submit(139867403759616, 1, {{0x19a7ab0, 0, 0, 0, 10}}) =
1
[pid 1993] io_submit(139867403759616, 1, {{0x19a7ab0, 0, 0, 0, 10}}) =
1
[pid 1993] io_submit(139867403759616, 1, {{0x19a7ab0, 0, 0, 0, 10}}) =
1
[pid 1993] io_submit(139867403759616, 1, {{0x19a7ab0, 0, 0, 0, 10}}) =
1
…
if aio is working.
Thanks, now that I have it working, what particular files does it make
send
to send using AIO? Its interesting that in the example given here:
http://wiki.nginx.org/HttpCoreModule (see below) the location referes to
the
“video” directory, i.e. implying that AIO should really be used for
media
file delivery.
Would SWF files for example fall in that category?
location /video {
aio on;
directio 512;
output_buffers 1 128k;
}
What kind of test could be run to discern the advantage of using AIO on
any
type of file?
Thanks
On Mon, Oct 24, 2011 at 9:54 AM, Sergey B. [email protected] wrote:
From: Sergey B.
What OS are you using?
nginx mailing list
[email protected]
nginx Info Page
–
Ilan B.
Chief Technology Officer
6300 NE 1st Ave., Suite 203
Ft. Lauderdale, FL 33334
(954) 771-0914
http://www.twitter.com/time4learning
http://www.facebook.com/Time4Learning
Time4Learning.com - Online interactive curriculum for home use, PreK-8th
Grade.
Time4Writing.com - Online writing tutorials for high, middle, and
elementary
school students.
Time4Learning.net - A forum to chat with parents online about kids,
education, parenting and more.
spellingcity.com - Online vocabulary and spelling activities for
teachers,
parents and students.