pprof

cockroach cpu
File: cockroach
Type: cpu
Time: Apr 30, 2021 at 8:09am (PDT)
Duration: 5.11s, Total samples = 7.90s (154.59%)
Showing nodes accounting for 5.53s, 70.00% of 7.90s total
Dropped 308 nodes (cum <= 0.04s)
Showing top 80 nodes out of 261
cockroach N1 stop (*Stopper) RunAsyncTask func1 0 of 3.04s (38.48%) N6 gossip (*server) gossipReceiver 0.01s (0.13%) of 1.15s (14.56%) N1->N6 1.15s N19 gossip (*client) sendGossip 0.01s (0.13%) of 0.80s (10.13%) N1->N19 0.80s N44 gossip (*client) gossip func2 1 0 of 0.49s (6.20%) N1->N44 0.49s N72 gossip (*Gossip) tightenNetwork 0 of 0.35s (4.43%) N1->N72 0.35s N26 runtime selectgo 0.06s (0.76%) of 0.17s (2.15%) N1->N26 0.06s N3 runtime mapiternext 0.65s (8.23%) of 0.85s (10.76%) N1->N3 0.02s N2 gossip (*infoStore) visitInfos 0.56s (7.09%) of 1.81s (22.91%) N42 gossip (*infoStore) delta func1 0.09s (1.14%) of 0.73s (9.24%) N2->N42 0.73s N2->N3 0.46s N24 runtime add 0.22s (2.78%) N3->N24 0.10s N8 runtime systemstack 0 of 0.77s (9.75%) N3->N8 0.01s N4 gossip (*server) Gossip 0 of 1.99s (25.19%) N16 gossip (*infoStore) delta 0 of 1.55s (19.62%) N4->N16 1.07s N9 gossip (*server) Gossip func1 0 of 1.24s (15.70%) N4->N9 0.72s N25 gossip (*infoStore) getHighWaterStamps 0.01s (0.13%) of 0.24s (3.04%) N4->N25 0.10s N4->N26 0.02s N5 runtime findrunnable 0.13s (1.65%) of 1.07s (13.54%) N51 runtime runqsteal 0.08s (1.01%) of 0.37s (4.68%) N5->N51 0.37s N68 runtime (*randomEnum) next 0.12s (1.52%) N5->N68 0.12s (inline) N48 runtime epollwait 0.13s (1.65%) N5->N48 0.09s N66 runtime lock 0 of 0.12s (1.52%) N5->N66 0.02s (inline) N6->N9 0.52s N15 grpc recv 0 of 0.78s (9.87%) N6->N15 0.32s N54 gossip mergeHighWaterStamps 0.01s (0.13%) of 0.15s (1.90%) N6->N54 0.11s N6->N25 0.09s N22 gossip sovGossip 0.21s (2.66%) N6->N22 0.04s N6->N3 0.03s N7 runtime mapaccess1_fast32 0.60s (7.59%) of 0.83s (10.51%) N23 runtime memhash32 0.23s (2.91%) N7->N23 0.13s N7->N24 0.07s N21 runtime gcDrain 0.01s (0.13%) of 0.51s (6.46%) N8->N21 0.51s N65 runtime (*mheap) alloc 0 of 0.17s (2.15%) N8->N65 0.02s N8->N66 0.01s (inline) N40 grpc (*serverStream) SendMsg 0 of 1.04s (13.16%) N9->N40 1.03s N20 gossip (*Response) Size 0.04s (0.51%) of 0.34s (4.30%) N9->N20 0.17s N9->N26 0.02s N10 runtime mapassign_fast32 0.13s (1.65%) of 0.51s (6.46%) N74 runtime evacuate_fast32 0.06s (0.76%) of 0.16s (2.03%) N10->N74 0.16s N10->N24 0.05s (inline) N10->N23 0.05s N36 runtime newobject 0.02s (0.25%) of 0.15s (1.90%) N10->N36 0.02s N11 grpc (*Server) serveStreams func1 1 0 of 2.10s (26.58%) N34 grpc (*Server) handleStream 0 of 2.10s (26.58%) N11->N34 2.10s N12 runtime mallocgc 0.08s (1.01%) of 0.50s (6.33%) N12->N8 0.07s N13 grpc prepareMsg 0 of 1.17s (14.81%) N27 proto codec Marshal 0 of 0.99s (12.53%) N13->N27 0.99s N57 grpc compress 0 of 0.21s (2.66%) N13->N57 0.17s N14 runtime mcall 0 of 1.22s (15.44%) N56 runtime schedule 0.01s (0.13%) of 1.15s (14.56%) N14->N56 1.15s N32 proto codec Unmarshal 0.01s (0.13%) of 0.54s (6.84%) N15->N32 0.54s N46 grpc recvAndDecompress 0 of 0.25s (3.16%) N15->N46 0.24s N16->N2 1.55s N17 gossip (*Response) MarshalTo 0.10s (1.27%) of 0.68s (8.61%) N49 sortkeys Int32s 0 of 0.44s (5.57%) N17->N49 0.32s (inline) N17->N7 0.10s N17->N22 0.04s N17->N3 0.03s N18 runtime futex 0.34s (4.30%) N19->N16 0.48s N70 grpc (*clientStream) SendMsg 0 of 0.23s (2.91%) N19->N70 0.20s N19->N25 0.05s N20->N3 0.17s N20->N22 0.11s N20->N36 0.01s N45 runtime gentraceback 0.03s (0.38%) of 0.28s (3.54%) N21->N45 0.23s N50 runtime scanobject 0.05s (0.63%) of 0.18s (2.28%) N21->N50 0.14s N21->N48 0.04s N41 runtime memmove 0.10s (1.27%) N21->N41 0.01s N25->N10 0.12s N25->N3 0.07s N26->N66 0.05s (inline) N26->N41 0.01s N28 gossip (*Response) Marshal 0 of 0.82s (10.38%) N27->N28 0.82s N67 gossip (*Request) MarshalTo 0 of 0.17s (2.15%) N27->N67 0.17s N28->N17 0.68s N28->N20 0.12s N30 runtime makeslice 0 of 0.22s (2.78%) N28->N30 0.02s N29 bytes (*Buffer) ReadFrom 0 of 0.28s (3.54%) N61 poll ignoringEINTR 0 of 0.30s (3.80%) N29->N61 0.10s N29->N30 0.06s N71 io ReadFull 0 of 0.28s (3.54%) N29->N71 0.01s (inline) N30->N12 0.22s N31 transport (*http2Client) reader 0.02s (0.25%) of 0.20s (2.53%) N43 http2 (*Framer) ReadFrame 0 of 0.29s (3.67%) N31->N43 0.10s N31->N30 0.02s N53 gossip (*Response) Unmarshal 0.08s (1.01%) of 0.29s (3.67%) N32->N53 0.29s N64 gossip (*Request) Unmarshal 0.06s (0.76%) of 0.24s (3.04%) N32->N64 0.24s N33 syscall Syscall 0.30s (3.80%) N80 grpc getChainStreamHandler func1 0 of 2.02s (25.57%) N34->N80 2.02s N35 runtime memclrNoHeapPointers 0.17s (2.15%) N36->N12 0.13s N37 runtime gcBgMarkWorker 0 of 0.53s (6.71%) N37->N8 0.53s N38 runtime runqgrab 0.24s (3.04%) of 0.29s (3.67%) N39 sort doPivot 0.21s (2.66%) of 0.32s (4.05%) N40->N13 0.96s N42->N7 0.63s N43->N71 0.23s (inline) N43->N36 0.02s N59 grpc (*clientStream) RecvMsg 0 of 0.45s (5.70%) N44->N59 0.38s N44->N20 0.05s N44->N54 0.04s N76 runtime scanframeworker 0 of 0.19s (2.41%) N45->N76 0.19s N46->N29 0.14s N46->N30 0.05s N47 transport (*loopyWriter) run 0 of 0.43s (5.44%) N79 tls (*Conn) writeRecordLocked 0 of 0.28s (3.54%) N47->N79 0.28s N47->N26 0.05s N75 sort quickSort 0.03s (0.38%) of 0.44s (5.57%) N49->N75 0.44s N52 runtime findObject 0.08s (1.01%) of 0.11s (1.39%) N50->N52 0.05s N51->N38 0.29s N53->N10 0.20s N54->N7 0.08s N54->N3 0.05s N55 snappy encodeBlock 0.12s (1.52%) of 0.18s (2.28%) N55->N45 0.03s N55->N41 0.01s N56->N5 1.07s N57->N55 0.18s N57->N30 0.02s N58 transport newHTTP2Server func2 0 of 0.29s (3.67%) N58->N47 0.29s N63 grpc (*clientStream) withRetry 0 of 0.47s (5.95%) N59->N63 0.45s N60 grpc (*Server) handleRawConn func1 0 of 0.28s (3.54%) N77 transport (*http2Server) HandleStreams 0 of 0.28s (3.54%) N60->N77 0.28s N61->N33 0.30s N62 tracing StreamServerInterceptor func1 0 of 2.02s (25.57%) N62->N4 1.99s N62->N15 0.01s N63->N15 0.45s N64->N10 0.18s N65->N35 0.11s N65->N8 0.06s N66->N18 0.01s N67->N49 0.12s (inline) N67->N7 0.02s N67->N22 0.01s N67->N30 0.01s N67->N3 0.01s N69 io ReadAtLeast 0 of 0.28s (3.54%) N69->N29 0.14s N69->N26 0.01s N70->N13 0.21s N70->N63 0.02s N71->N69 0.28s N72->N2 0.26s N72->N30 0.01s N73 runtime (*lfstack) pop 0.11s (1.39%) N74->N23 0.05s N75->N39 0.32s N78 runtime getempty 0.01s (0.13%) of 0.12s (1.52%) N76->N78 0.10s N76->N52 0.05s N77->N43 0.19s N78->N73 0.11s N79->N61 0.20s N79->N41 0.01s N80->N62 2.02s