Skip to content

Instantly share code, notes, and snippets.

@davibe
Last active August 29, 2015 14:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save davibe/21b5f1ec3916176c873d to your computer and use it in GitHub Desktop.
Save davibe/21b5f1ec3916176c873d to your computer and use it in GitHub Desktop.
nginx-rtmp on ec2 test results 1
root@ae8629139aa6:/# ltrace -c -p $(pidof nginx)
Process 162 detached
% time seconds usecs/call calls errors syscall
------ ----------- ----------- --------- --------- ----------------
51.69 0.126133 7 17147 1 recvfrom
48.31 0.117902 6 18183 pwrite
0.00 0.000000 0 1 open
0.00 0.000000 0 8 sendto
0.00 0.000000 0 2 epoll_wait
0.00 0.000000 0 1 epoll_ctl
0.00 0.000000 0 1 accept4
------ ----------- ----------- --------- --------- ----------------
100.00 0.244035 35343 1 total
root@ae8629139aa6:/# ltrace -c -p $(pidof nginx)
% time seconds usecs/call calls function
------ ----------- ----------- --------- --------------------
33.26 2.896930 4150 698 pwrite64
29.75 2.591299 3998 648 recv
18.42 1.604111 2471 649 memmove
18.01 1.569014 2287 686 memcpy
0.56 0.049123 2729 18 __memcpy_chk
------ ----------- ----------- --------- --------------------
100.00 8.710477 2699 total
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment