You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2022/08/29 07:14:11 UTC

[GitHub] [apisix] Bigwen-1 commented on issue #7671: help request: Can the performance of grpc-transcode be improved? Or analysis?

Bigwen-1 commented on issue #7671:
URL: https://github.com/apache/apisix/issues/7671#issuecomment-1229873271

   I tried to analyze the transcoding performance with the flame graph, but perf always failed to obtain stack index. Open SVG display: ERROR: No Valid Input provided to flamegraph.pl.   Can you give me a hand?
   
   I operate as follows:
   root@xxali-ecs-xxx-xx-xx-xx:/data/server/FlameGraph/FlameGraph# ls
   aix-perf.pl                 files.pl          record-test.sh                    stackcollapse-jstack.pl       stackcollapse-vsprof.pl
   demos                       flamegraph.pl     stackcollapse-aix.pl              stackcollapse-ljp.awk         stackcollapse-vtune.pl
   dev                         jmaps             stackcollapse-bpftrace.pl         stackcollapse-perf.pl         stackcollapse-wcp.pl
   difffolded.pl               perf.data         stackcollapse-chrome-tracing.py   stackcollapse-perf-sched.awk  stackcollapse-xdebug.php
   docs                        perf.data.old     stackcollapse-elfutils.pl         stackcollapse.pl              test
   example-dtrace-stacks.txt   pkgsplit-perf.pl  stackcollapse-gdb.pl              stackcollapse-pmc.pl          test.sh
   example-dtrace.svg          pmCount.svg       stackcollapse-go.pl               stackcollapse-recursive.pl
   example-perf-stacks.txt.gz  range-perf.pl     stackcollapse-instruments.pl      stackcollapse-sample.awk
   example-perf.svg            README.md         stackcollapse-java-exceptions.pl  stackcollapse-stap.pl
   root@xxali-ecs-xxx-xx-xx-xx:/data/server/FlameGraph/FlameGraph# perf record -F 99 -a  -g   -p 10853 -- sleep 30
   Warning:
   PID/TID switch overriding SYSTEM[ perf record: Woken up 1 times to write data ]
   [ perf record: Captured and wrote 0.012 MB perf.data ]
   root@xxali-ecs-xxx-xx-xx-xx:/data/server/FlameGraph/FlameGraph# perf script > out.perf
   root@xxali-ecs-xxx-xx-xx-xx:/data/server/FlameGraph/FlameGraph# ./stackcollapse-perf.pl out.perf > out.folded
   root@xxali-ecs-xxx-xx-xx-xx:/data/server/FlameGraph/FlameGraph# ./flamegraph.pl out.folded > pmCount.svg
   ERROR: No stack counts found
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org