pprof
View
Top
Graph
Flame Graph
Peek
Source
Disassemble
Sample
alloc_objects
alloc_space
inuse_objects
inuse_space
Refine
Focus
Ignore
Hide
Show
Show from
Reset
cortex inuse_space
File: cortex
Type: inuse_space
Time: Dec 1, 2019 at 1:48pm (UTC)
Showing nodes accounting for 19367.11MB, 95.48% of 20284.15MB total
Dropped 403 nodes (cum <= 101.42MB)
Dropped 4 edges (freq <= 20.28MB)
Showing top 53 nodes out of 83
cortex
N1
bytes
makeSlice
12359.93MB (60.93%)
NN1_0
512kB
N1->NN1_0
4117.89MB
NN1_1
256kB
N1->NN1_1
3382.73MB
NN1_2
16kB..128kB
N1->NN1_2
2499.24MB
NN1_3
1MB
N1->NN1_3
2062.07MB
N2
go-grpc-middleware
ChainUnaryServer
func1
1
0 of 6959.44MB (34.31%)
N11
ingester
(*Ingester)
Push
0 of 6941.94MB (34.22%)
N2->N11
6941.94MB
N40
middleware
UnaryServerInstrumentInterceptor
func1
1.50MB (0.0074%)
of 6959.44MB (34.31%)
N2->N40
6959.44MB
N43
go-grpc
OpenTracingServerInterceptor
func1
1MB (0.0049%)
of 6957.44MB (34.30%)
N2->N43
6957.44MB
N3
grpc
(*Server)
serveStreams
func1
1
0 of 20109.57MB (99.14%)
N13
grpc
(*Server)
handleStream
0 of 20109.57MB (99.14%)
N3->N13
20109.57MB
N4
grpc
(*Server)
processUnaryRPC
1MB (0.0049%)
of 19959.31MB (98.40%)
NN4_0
16B..96B
N4->NN4_0
1MB
N9
client
_Ingester_Push_Handler
0 of 7417.68MB (36.57%)
N4->N9
7417.68MB
N12
grpc
recvAndDecompress
0 of 12514.51MB (61.70%)
N4->N12
12514.51MB
N5
ingester
(*Ingester)
append
4MB (0.02%)
of 6605.97MB (32.57%)
NN5_0
16B..64B
N5->NN5_0
4MB
N7
ingester
(*memorySeries)
add
51MB (0.25%)
of 4489.95MB (22.14%)
N5->N7
4489.95MB
N16
ingester
(*userState)
getSeries
0 of 1866.65MB (9.20%)
N5->N16
1866.65MB
N21
httpgrpc
Errorf
48.02MB (0.24%)
of 236.12MB (1.16%)
N5->N21
236.12MB
N6
encoding
(*bigchunk)
addNextChunk
2949.15MB (14.54%)
of 3628.22MB (17.89%)
NN6_0
480B..896B
N6->NN6_0
958.64MB
NN6_1
96B..320B
N6->NN6_1
525.60MB
NN6_2
80B
N6->NN6_2
322.52MB
NN6_3
48B..64B
N6->NN6_3
300.02MB
N14
chunkenc
NewXORChunk
557.57MB (2.75%)
N6->N14
557.57MB
N29
chunkenc
(*XORChunk)
Appender
115.01MB (0.57%)
of 121.51MB (0.6%)
N6->N29
121.51MB
NN7_0
16B
N7->NN7_0
41.50MB
NN7_1
48B..80B
N7->NN7_1
7MB
N10
encoding
(*bigchunk)
Add
97.50MB (0.48%)
of 3977.34MB (19.61%)
N7->N10
3977.34MB
N18
fmt
Sprintf
83.05MB (0.41%)
of 266.13MB (1.31%)
N7->N18
223.10MB
N30
ingester
newDesc
111.01MB (0.55%)
N7->N30
111.01MB
N50
encoding
New
0 of 127.51MB (0.63%)
N7->N50
127.51MB
N8
index
(*indexShard)
add
1504.04MB (7.41%)
of 1576.54MB (7.77%)
NN8_0
352B
N8->NN8_0
103.53MB
NN8_1
224B
N8->NN8_1
102.52MB
N17
client
(*WriteRequest)
Unmarshal
268.60MB (1.32%)
of 431.73MB (2.13%)
N9->N17
431.73MB
N45
go-grpc-middleware
ChainUnaryServer
func1
0.50MB (0.0025%)
of 6985.94MB (34.44%)
N9->N45
6985.94MB
N10->N6
3628.22MB
N53
chunkenc
(*xorAppender)
Append
0 of 251.61MB (1.24%)
N10->N53
251.61MB
N11->N5
6605.97MB
N25
httpgrpc
HTTPResponseFromError
5MB (0.025%)
of 318.14MB (1.57%)
N11->N25
317.64MB
N19
grpc
(*parser)
recvMsg
204.73MB (1.01%)
N12->N19
204.73MB
N39
ioutil
readAll
0 of 12304.13MB (60.66%)
N12->N39
12304.13MB
N13->N4
19959.31MB
N51
go-grpc-middleware
ChainStreamServer
func1
1
0 of 149.26MB (0.74%)
N13->N51
149.26MB
NN14_0
128B
N14->NN14_0
557.57MB
N15
bytes
(*Buffer)
grow
6MB (0.03%)
of 12365.93MB (60.96%)
N15->N1
12359.93MB
N16->N8
1576.54MB
N20
ingester
newMemorySeries
193.51MB (0.95%)
N16->N20
193.51MB
NN17_0
8kB
N17->NN17_0
172.34MB
NN17_1
1kB
N17->NN17_1
10.01MB
N23
client
glob
func2
163.13MB (0.8%)
N17->N23
163.13MB
N47
fmt
(*pp)
doPrintf
0 of 183.08MB (0.9%)
N18->N47
183.08MB
NN20_0
80B
N20->NN20_0
193.51MB
N21->N18
42.53MB
N32
httpgrpc
ErrorFromHTTPResponse
50.03MB (0.25%)
of 145.57MB (0.72%)
N21->N32
145.57MB
N22
chunkenc
(*bstream)
writeByte
178.59MB (0.88%)
NN23_0
1kB
N23->NN23_0
131.13MB
N24
proto
(*mergeInfo)
merge
0 of 148.57MB (0.73%)
N28
proto
(*mergeInfo)
computeMergeInfo
func26
122.07MB (0.6%)
N24->N28
122.07MB
N41
proto
(*mergeInfo)
computeMergeInfo
func29
3MB (0.015%)
of 148.57MB (0.73%)
N24->N41
148.57MB
N33
status
FromError
0 of 210.58MB (1.04%)
N25->N33
210.58MB
N26
index
(*indexShard)
lookup
137.65MB (0.68%)
of 140.65MB (0.69%)
N27
encoding
newBigchunk
127.51MB (0.63%)
NN27_0
48B
N27->NN27_0
127.51MB
NN29_0
48B
N29->NN29_0
115.01MB
NN30_0
48B
N30->NN30_0
111.01MB
N31
status
FromGRPCStatus
13MB (0.064%)
of 136.55MB (0.67%)
N35
proto
Clone
0 of 127.56MB (0.63%)
N31->N35
65.03MB
N36
status
FromProto
0.50MB (0.0025%)
of 110.55MB (0.54%)
N31->N36
58.52MB
N32->N36
52.02MB
N33->N31
136.55MB
N34
proto
Clone
0 of 173.08MB (0.85%)
N34->N24
148.57MB
N37
proto
(*mergeInfo)
merge
0 of 115.06MB (0.57%)
N35->N37
115.06MB
N36->N34
110.05MB
N44
proto
(*mergeInfo)
computeMergeInfo
func27
1.50MB (0.0074%)
of 115.06MB (0.57%)
N37->N44
115.06MB
N38
middleware
GRPCServerLog
UnaryServerInterceptor
6MB (0.03%)
of 6985.44MB (34.44%)
N38->N2
6959.44MB
NN38_0
224B..1kB
N38->NN38_0
4.50MB
NN38_1
48B..80B
N38->NN38_1
1MB
NN38_2
16B
N38->NN38_2
0.50MB
N46
bytes
(*Buffer)
ReadFrom
0 of 12298.64MB (60.63%)
N39->N46
12298.13MB
N40->N2
6957.44MB
NN40_0
48B..96B
N40->NN40_0
1.50MB
N41->N24
122.07MB
N42
ingester
(*Ingester)
QueryStream
2.02MB (0.01%)
of 149.26MB (0.74%)
N42->N26
140.65MB
N43->N2
6942.44MB
N44->N37
97.06MB
N45->N38
6985.44MB
NN45_0
48B..96B
N45->NN45_0
0.50MB
N46->N15
12209.60MB
N49
fmt
(*pp)
printArg
0 of 183.08MB (0.9%)
N47->N49
183.08MB
N48
fmt
(*pp)
handleMethods
0 of 183.08MB (0.9%)
N48->N15
94.06MB
N49->N48
183.08MB
N50->N27
127.51MB
N51->N42
149.26MB
N52
chunkenc
(*bstream)
writeBits
0 of 229.10MB (1.13%)
N52->N22
178.59MB
N53->N52
229.10MB