Guest User

Untitled

a guest
Apr 26th, 2023
38
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 26.60 KB | None | 0 0
  1. ~/influx-profile/profiles
  2. $ ls -lah
  3. total 12384
  4. drwxr-xr-x 9 jcoleman staff 288B Apr 26 13:09 .
  5. drwxr-xr-x 112 jcoleman staff 3.5K Apr 26 13:07 ..
  6. -rw------- 1 jcoleman staff 2.9M Dec 31 1969 allocs.pb.gz
  7. -rw------- 1 jcoleman staff 30K Dec 31 1969 block.pb.gz
  8. -rw------- 1 jcoleman staff 67K Dec 31 1969 cpu.pb.gz
  9. -rw------- 1 jcoleman staff 12K Dec 31 1969 goroutine.pb.gz
  10. -rw------- 1 jcoleman staff 2.9M Dec 31 1969 heap.pb.gz
  11. -rw------- 1 jcoleman staff 40K Dec 31 1969 mutex.pb.gz
  12. -rw------- 1 jcoleman staff 351B Dec 31 1969 threadcreate.pb.gz
  13.  
  14. ~/influx-profile/profiles
  15. $ pprof -top goroutine.pb.gz
  16. File: influxd
  17. Type: goroutine
  18. Time: Apr 25, 2023 at 7:55pm (CDT)
  19. Showing nodes accounting for 10171, 100% of 10175 total
  20. Dropped 172 nodes (cum <= 50)
  21. flat flat% sum% cum cum%
  22. 10171 100% 100% 10171 100% runtime.gopark
  23. 0 0% 100% 97 0.95% github.com/NYTimes/gziphandler.GzipHandlerWithOpts.func1.1
  24. 0 0% 100% 100 0.98% github.com/go-chi/chi.(*Mux).Mount.func1
  25. 0 0% 100% 94 0.92% github.com/go-chi/chi.(*Mux).ServeHTTP
  26. 0 0% 100% 100 0.98% github.com/go-chi/chi.(*Mux).routeHTTP
  27. 0 0% 100% 60 0.59% github.com/go-chi/chi/middleware.StripSlashes.func1
  28. 0 0% 100% 54 0.53% github.com/influxdata/flux.(*DelimitedMultiResultEncoder).Encode
  29. 0 0% 100% 54 0.53% github.com/influxdata/flux/csv.(*ResultEncoder).Encode
  30. 0 0% 100% 60 0.59% github.com/influxdata/flux/execute.(*executionState).do.func2
  31. 0 0% 100% 54 0.53% github.com/influxdata/flux/execute.(*executionState).do.func3
  32. 0 0% 100% 60 0.59% github.com/influxdata/flux/execute.(*executionState).do.func4
  33. 0 0% 100% 54 0.53% github.com/influxdata/flux/execute.(*poolDispatcher).Start.func1
  34. 0 0% 100% 54 0.53% github.com/influxdata/flux/execute.(*poolDispatcher).run
  35. 0 0% 100% 54 0.53% github.com/influxdata/flux/execute.(*result).Do
  36. 0 0% 100% 60 0.59% github.com/influxdata/flux/lang.(*Program).readStatistics
  37. 0 0% 100% 66 0.65% github.com/influxdata/httprouter.(*Router).Handler.func1
  38. 0 0% 100% 66 0.65% github.com/influxdata/httprouter.(*Router).ServeHTTP
  39. 0 0% 100% 54 0.53% github.com/influxdata/influxdb/v2/http.(*AuthenticationHandler).ServeHTTP
  40. 0 0% 100% 60 0.59% github.com/influxdata/influxdb/v2/http.(*FluxHandler).handleQuery
  41. 0 0% 100% 60 0.59% github.com/influxdata/influxdb/v2/http.(*proxyHandler).ServeHTTP
  42. 0 0% 100% 60 0.59% github.com/influxdata/influxdb/v2/http.panicMW.func1.1
  43. 0 0% 100% 54 0.53% github.com/influxdata/influxdb/v2/kit/feature.(*Handler).ServeHTTP
  44. 0 0% 100% 60 0.59% github.com/influxdata/influxdb/v2/kit/transport/http.SetCORS.func1
  45. 0 0% 100% 60 0.59% github.com/influxdata/influxdb/v2/kit/transport/http.SkipOptions.func1
  46. 0 0% 100% 60 0.59% github.com/influxdata/influxdb/v2/query.ProxyQueryServiceAsyncBridge.Query
  47. 0 0% 100% 60 0.59% github.com/influxdata/influxdb/v2/query/control.(*Controller).executeQuery
  48. 0 0% 100% 1024 10.06% github.com/influxdata/influxdb/v2/query/control.(*Controller).processQueryQueue
  49. 0 0% 100% 60 0.59% github.com/influxdata/influxdb/v2/query/control.(*Controller).waitForQuery
  50. 0 0% 100% 54 0.53% github.com/influxdata/influxdb/v2/query/control.(*errorCollectingTableIterator).Do
  51. 0 0% 100% 1024 10.06% github.com/influxdata/influxdb/v2/query/control.New.func1
  52. 0 0% 100% 60 0.59% github.com/influxdata/influxdb/v2/query/stdlib/influxdata/influxdb.(*Source).Run
  53. 0 0% 100% 60 0.59% github.com/influxdata/influxdb/v2/query/stdlib/influxdata/influxdb.(*Source).processTables
  54. 0 0% 100% 60 0.59% github.com/influxdata/influxdb/v2/query/stdlib/influxdata/influxdb.(*readFilterSource).run
  55. 0 0% 100% 60 0.59% github.com/influxdata/influxdb/v2/storage/flux.(*filterIterator).Do
  56. 0 0% 100% 128 1.26% github.com/influxdata/influxdb/v2/task/backend/scheduler.(*TreeScheduler).work
  57. 0 0% 100% 60 0.59% github.com/influxdata/influxdb/v2/tsdb.(*Shard).MeasurementNamesByPredicate
  58. 0 0% 100% 1814 17.83% github.com/influxdata/influxdb/v2/tsdb.(*Shard).WritePoints
  59. 0 0% 100% 485 4.77% github.com/influxdata/influxdb/v2/tsdb.(*Shard).openNoLock.func1.1
  60. 0 0% 100% 1814 17.83% github.com/influxdata/influxdb/v2/tsdb.(*Shard).validateSeriesAndFields
  61. 0 0% 100% 1814 17.83% github.com/influxdata/influxdb/v2/tsdb.(*Store).WriteToShard
  62. 0 0% 100% 485 4.77% github.com/influxdata/influxdb/v2/tsdb.(*measurementFieldSetChangeMgr).SaveWriter
  63. 0 0% 100% 60 0.59% github.com/influxdata/influxdb/v2/tsdb.IndexSet.MeasurementNamesByPredicate
  64. 0 0% 100% 60 0.59% github.com/influxdata/influxdb/v2/tsdb.IndexSet.measurementIterator
  65. 0 0% 100% 60 0.59% github.com/influxdata/influxdb/v2/tsdb.IndexSet.measurementNamesByPredicate
  66. 0 0% 100% 60 0.59% github.com/influxdata/influxdb/v2/tsdb.IndexSet.measurementNamesByTagPredicate
  67. 0 0% 100% 60 0.59% github.com/influxdata/influxdb/v2/tsdb.Shards.FieldKeysByPredicate
  68. 0 0% 100% 60 0.59% github.com/influxdata/influxdb/v2/tsdb.Shards.MeasurementNamesByPredicate
  69. 0 0% 100% 1814 17.83% github.com/influxdata/influxdb/v2/tsdb/engine/tsm1.(*Engine).CreateSeriesListIfNotExists
  70. 0 0% 100% 60 0.59% github.com/influxdata/influxdb/v2/tsdb/index/tsi1.(*FileSet).MeasurementIterator
  71. 0 0% 100% 1814 17.83% github.com/influxdata/influxdb/v2/tsdb/index/tsi1.(*Index).CreateSeriesListIfNotExists
  72. 0 0% 100% 1814 17.83% github.com/influxdata/influxdb/v2/tsdb/index/tsi1.(*Index).CreateSeriesListIfNotExists.func1
  73. 0 0% 100% 60 0.59% github.com/influxdata/influxdb/v2/tsdb/index/tsi1.(*Index).MeasurementIterator
  74. 0 0% 100% 1761 17.31% github.com/influxdata/influxdb/v2/tsdb/index/tsi1.(*LogFile).AddSeriesList
  75. 0 0% 100% 60 0.59% github.com/influxdata/influxdb/v2/tsdb/index/tsi1.(*LogFile).MeasurementIterator
  76. 0 0% 100% 53 0.52% github.com/influxdata/influxdb/v2/tsdb/index/tsi1.(*LogFile).Size
  77. 0 0% 100% 53 0.52% github.com/influxdata/influxdb/v2/tsdb/index/tsi1.(*Partition).CheckLogFile
  78. 0 0% 100% 53 0.52% github.com/influxdata/influxdb/v2/tsdb/index/tsi1.(*Partition).CheckLogFile.func1
  79. 0 0% 100% 60 0.59% github.com/influxdata/influxdb/v2/tsdb/index/tsi1.(*Partition).MeasurementIterator
  80. 0 0% 100% 1814 17.83% github.com/influxdata/influxdb/v2/tsdb/index/tsi1.(*Partition).createSeriesListIfNotExists
  81. 0 0% 100% 53 0.52% github.com/influxdata/influxdb/v2/tsdb/index/tsi1.(*Partition).needsLogCompaction
  82. 0 0% 100% 3880 38.13% github.com/influxdata/influxdb/v2/tsdb/index/tsi1.(*Partition).runPeriodicCompaction
  83. 0 0% 100% 1814 17.83% github.com/influxdata/influxdb/v2/v1/coordinator.(*PointsWriter).WritePointsPrivileged.func1
  84. 0 0% 100% 1814 17.83% github.com/influxdata/influxdb/v2/v1/coordinator.(*PointsWriter).writeToShard
  85. 0 0% 100% 60 0.59% github.com/influxdata/influxdb/v2/v1/services/storage.(*Store).ReadFilter
  86. 0 0% 100% 60 0.59% github.com/influxdata/influxdb/v2/v1/services/storage.newIndexSeriesCursor
  87. 0 0% 100% 60 0.59% github.com/influxdata/influxdb/v2/v1/services/storage.newIndexSeriesCursorInfluxQLPred
  88. 0 0% 100% 100 0.98% net/http.HandlerFunc.ServeHTTP
  89. 0 0% 100% 2540 24.96% runtime.chanrecv
  90. 0 0% 100% 1835 18.03% runtime.chanrecv1
  91. 0 0% 100% 705 6.93% runtime.chanrecv2
  92. 0 0% 100% 1976 19.42% runtime.goparkunlock (inline)
  93. 0 0% 100% 5607 55.11% runtime.selectgo
  94. 0 0% 100% 1976 19.42% runtime.semacquire1
  95. 0 0% 100% 1760 17.30% sync.(*Mutex).Lock (inline)
  96. 0 0% 100% 1760 17.30% sync.(*Mutex).lockSlow
  97. 0 0% 100% 1761 17.31% sync.(*RWMutex).Lock
  98. 0 0% 100% 146 1.43% sync.(*RWMutex).RLock (inline)
  99. 0 0% 100% 69 0.68% sync.(*WaitGroup).Wait
  100. 0 0% 100% 69 0.68% sync.runtime_Semacquire
  101. 0 0% 100% 1907 18.74% sync.runtime_SemacquireMutex
  102.  
  103. ~/influx-profile/profiles
  104. $ pprof -top mutex.pb.gz
  105. File: influxd
  106. Type: delay
  107. Time: Apr 25, 2023 at 7:55pm (CDT)
  108. Showing nodes accounting for 16.24hrs, 100% of 16.24hrs total
  109. Dropped 683 nodes (cum <= 0.08hrs)
  110. flat flat% sum% cum cum%
  111. 8.51hrs 52.39% 52.39% 8.51hrs 52.39% sync.(*Mutex).Unlock (inline)
  112. 7.38hrs 45.47% 97.85% 15.51hrs 95.50% sync.(*RWMutex).Unlock
  113. 0.35hrs 2.15% 100% 0.35hrs 2.15% sync.(*RWMutex).RUnlock (partial-inline)
  114. 0 0% 100% 0.38hrs 2.34% github.com/influxdata/influxdb/v2/pkg/rhh.(*HashMap).Get
  115. 0 0% 100% 0.63hrs 3.86% github.com/influxdata/influxdb/v2/tsdb.(*SeriesFile).CreateSeriesListIfNotExists.func1
  116. 0 0% 100% 0.38hrs 2.34% github.com/influxdata/influxdb/v2/tsdb.(*SeriesIndex).FindIDBySeriesKey
  117. 0 0% 100% 0.63hrs 3.86% github.com/influxdata/influxdb/v2/tsdb.(*SeriesPartition).CreateSeriesListIfNotExists
  118. 0 0% 100% 1.74hrs 10.74% github.com/influxdata/influxdb/v2/tsdb.(*Shard).WritePoints
  119. 0 0% 100% 1.74hrs 10.74% github.com/influxdata/influxdb/v2/tsdb.(*Store).WriteToShard
  120. 0 0% 100% 0.93hrs 5.72% github.com/influxdata/influxdb/v2/tsdb/engine/tsm1.(*Cache).WriteMulti
  121. 0 0% 100% 1.74hrs 10.71% github.com/influxdata/influxdb/v2/tsdb/engine/tsm1.(*Engine).WritePoints
  122. 0 0% 100% 0.08hrs 0.52% github.com/influxdata/influxdb/v2/tsdb/engine/tsm1.(*Engine).WriteSnapshot
  123. 0 0% 100% 0.08hrs 0.52% github.com/influxdata/influxdb/v2/tsdb/engine/tsm1.(*Engine).compactCache
  124. 0 0% 100% 0.19hrs 1.17% github.com/influxdata/influxdb/v2/tsdb/engine/tsm1.(*Engine).compactLevel.func1
  125. 0 0% 100% 0.08hrs 0.52% github.com/influxdata/influxdb/v2/tsdb/engine/tsm1.(*Engine).enableSnapshotCompactions.func1
  126. 0 0% 100% 0.23hrs 1.40% github.com/influxdata/influxdb/v2/tsdb/engine/tsm1.(*FileStore).ReplaceWithCallback (inline)
  127. 0 0% 100% 0.24hrs 1.47% github.com/influxdata/influxdb/v2/tsdb/engine/tsm1.(*FileStore).replace
  128. 0 0% 100% 0.70hrs 4.31% github.com/influxdata/influxdb/v2/tsdb/engine/tsm1.(*WAL).WriteMulti
  129. 0 0% 100% 12.50hrs 76.98% github.com/influxdata/influxdb/v2/tsdb/engine/tsm1.(*WAL).scheduleSync.func1
  130. 0 0% 100% 0.70hrs 4.31% github.com/influxdata/influxdb/v2/tsdb/engine/tsm1.(*WAL).writeToLog
  131. 0 0% 100% 0.70hrs 4.31% github.com/influxdata/influxdb/v2/tsdb/engine/tsm1.(*WAL).writeToLog.func2
  132. 0 0% 100% 0.23hrs 1.40% github.com/influxdata/influxdb/v2/tsdb/engine/tsm1.(*compactionStrategy).Apply
  133. 0 0% 100% 0.23hrs 1.40% github.com/influxdata/influxdb/v2/tsdb/engine/tsm1.(*compactionStrategy).compactGroup
  134. 0 0% 100% 0.93hrs 5.71% github.com/influxdata/influxdb/v2/tsdb/engine/tsm1.(*partition).write
  135. 0 0% 100% 0.93hrs 5.71% github.com/influxdata/influxdb/v2/tsdb/engine/tsm1.(*ring).write
  136. 0 0% 100% 1.01hrs 6.21% github.com/influxdata/influxdb/v2/tsdb/index/tsi1.(*Index).CreateSeriesListIfNotExists.func1
  137. 0 0% 100% 1hrs 6.17% github.com/influxdata/influxdb/v2/tsdb/index/tsi1.(*LogFile).AddSeriesList
  138. 0 0% 100% 1.01hrs 6.21% github.com/influxdata/influxdb/v2/tsdb/index/tsi1.(*Partition).createSeriesListIfNotExists
  139. 0 0% 100% 1.75hrs 10.75% github.com/influxdata/influxdb/v2/v1/coordinator.(*PointsWriter).WritePointsPrivileged.func1
  140. 0 0% 100% 1.75hrs 10.75% github.com/influxdata/influxdb/v2/v1/coordinator.(*PointsWriter).writeToShard
  141. 0 0% 100% 0.63hrs 3.86% golang.org/x/sync/errgroup.(*Group).Go.func1
  142. 0 0% 100% 0.38hrs 2.34% math/rand.(*Rand).Float64 (inline)
  143. 0 0% 100% 0.38hrs 2.34% math/rand.(*Rand).Int63 (inline)
  144. 0 0% 100% 0.38hrs 2.34% math/rand.(*lockedSource).Int63
  145. 0 0% 100% 0.38hrs 2.34% math/rand.Float64
  146.  
  147. ~/influx-profile/profiles
  148. $ pprof -top threadcreate.pb.gz
  149. File: influxd
  150. Type: threadcreate
  151. Time: Apr 25, 2023 at 7:55pm (CDT)
  152. Showing nodes accounting for 1, 0.49% of 204 total
  153. flat flat% sum% cum cum%
  154. 1 0.49% 0.49% 1 0.49% runtime.allocm
  155. 0 0% 0.49% 1 0.49% runtime.main
  156. 0 0% 0.49% 1 0.49% runtime.newm
  157. 0 0% 0.49% 1 0.49% runtime.startTemplateThread
  158.  
  159. ~/influx-profile/profiles
  160. $ pprof -top cpu.pb.gz
  161. File: influxd
  162. Type: cpu
  163. Time: Apr 25, 2023 at 7:55pm (CDT)
  164. Duration: 30.20s, Total samples = 121.78s (403.29%)
  165. Showing nodes accounting for 110.02s, 90.34% of 121.78s total
  166. Dropped 780 nodes (cum <= 0.61s)
  167. flat flat% sum% cum cum%
  168. 51.52s 42.31% 42.31% 73.25s 60.15% runtime.scanobject
  169. 12.47s 10.24% 52.55% 12.50s 10.26% golang.org/x/crypto/blowfish.encryptBlock
  170. 6.51s 5.35% 57.89% 85.94s 70.57% runtime.gcDrain
  171. 5.87s 4.82% 62.71% 7.32s 6.01% runtime.findObject
  172. 4.03s 3.31% 66.02% 4.06s 3.33% runtime.pageIndexOf (inline)
  173. 3.68s 3.02% 69.04% 3.68s 3.02% runtime.heapBits.bits (inline)
  174. 3.58s 2.94% 71.98% 3.58s 2.94% runtime.memclrNoHeapPointers
  175. 2.86s 2.35% 74.33% 2.86s 2.35% runtime.markBits.isMarked (inline)
  176. 2.69s 2.21% 76.54% 2.73s 2.24% github.com/RoaringBitmap/roaring.(*bitmapContainer).lazyIORArray (inline)
  177. 2.10s 1.72% 78.26% 2.39s 1.96% runtime.markrootSpans
  178. 1.81s 1.49% 79.75% 9.61s 7.89% runtime.greyobject
  179. 1.48s 1.22% 80.97% 1.50s 1.23% runtime.(*lfstack).pop (inline)
  180. 1.18s 0.97% 81.93% 1.27s 1.04% github.com/RoaringBitmap/roaring.(*bitmapContainer).fillArray (inline)
  181. 1.16s 0.95% 82.89% 1.16s 0.95% runtime.futex
  182. 0.95s 0.78% 83.67% 0.95s 0.78% runtime.memmove
  183. 0.87s 0.71% 84.38% 0.87s 0.71% runtime.epollwait
  184. 0.75s 0.62% 85.00% 0.83s 0.68% runtime.heapBits.next
  185. 0.73s 0.6% 85.60% 0.73s 0.6% github.com/RoaringBitmap/roaring.(*bitmapContainer).lazyIORBitmap (inline)
  186. 0.71s 0.58% 86.18% 0.71s 0.58% runtime.(*mspan).divideByElemSize
  187. 0.70s 0.57% 86.75% 1.14s 0.94% runtime.(*sweepLocked).sweep
  188. 0.67s 0.55% 87.30% 1.35s 1.11% runtime.pcvalue
  189. 0.64s 0.53% 87.83% 0.65s 0.53% github.com/RoaringBitmap/roaring.(*bitmapContainer).loadData (inline)
  190. 0.57s 0.47% 88.30% 1.74s 1.43% runtime.lock2
  191. 0.41s 0.34% 88.64% 3.05s 2.50% runtime.gentraceback
  192. 0.31s 0.25% 88.89% 1.69s 1.39% runtime.sweepone
  193. 0.31s 0.25% 89.14% 0.80s 0.66% runtime.unlock2
  194. 0.29s 0.24% 89.38% 12.75s 10.47% golang.org/x/crypto/blowfish.ExpandKey
  195. 0.17s 0.14% 89.52% 8.36s 6.86% runtime.mallocgc
  196. 0.15s 0.12% 89.65% 0.63s 0.52% runtime.stealWork
  197. 0.13s 0.11% 89.75% 0.62s 0.51% runtime.(*mheap).allocSpan
  198. 0.11s 0.09% 89.84% 1.37s 1.12% runtime.getempty
  199. 0.08s 0.066% 89.91% 0.79s 0.65% runtime.(*mspan).objIndex
  200. 0.05s 0.041% 89.95% 8.24s 6.77% github.com/RoaringBitmap/roaring.(*Bitmap).lazyOR
  201. 0.05s 0.041% 89.99% 0.91s 0.75% runtime.(*mcentral).cacheSpan
  202. 0.04s 0.033% 90.02% 4.02s 3.30% github.com/RoaringBitmap/roaring.newBitmapContainer (inline)
  203. 0.04s 0.033% 90.06% 3.77s 3.10% runtime.markroot
  204. 0.04s 0.033% 90.09% 1.18s 0.97% runtime.schedule
  205. 0.03s 0.025% 90.11% 90.06s 73.95% runtime.systemstack
  206. 0.02s 0.016% 90.13% 1.66s 1.36% github.com/influxdata/influxdb/v2/tsdb.(*SeriesPartition).CreateSeriesListIfNotExists
  207. 0.02s 0.016% 90.15% 1.10s 0.9% runtime.(*mcache).refill
  208. 0.02s 0.016% 90.16% 0.93s 0.76% runtime.findrunnable
  209. 0.02s 0.016% 90.18% 86.03s 70.64% runtime.gcBgMarkWorker
  210. 0.02s 0.016% 90.20% 3.42s 2.81% runtime.mProf_Malloc
  211. 0.01s 0.0082% 90.20% 2.04s 1.68% github.com/NYTimes/gziphandler.GzipHandlerWithOpts.func1.1
  212. 0.01s 0.0082% 90.21% 1.41s 1.16% github.com/RoaringBitmap/roaring.(*arrayContainer).clone
  213. 0.01s 0.0082% 90.22% 3.47s 2.85% github.com/RoaringBitmap/roaring.(*bitmapContainer).lazyIOR
  214. 0.01s 0.0082% 90.23% 2.03s 1.67% github.com/influxdata/influxdb/v2/http/legacy.(*WriteHandler).handleWrite
  215. 0.01s 0.0082% 90.24% 0.77s 0.63% github.com/influxdata/influxdb/v2/models.parsePoint
  216. 0.01s 0.0082% 90.24% 1.63s 1.34% github.com/influxdata/influxdb/v2/tsdb.(*SeriesIndex).FindIDBySeriesKey
  217. 0.01s 0.0082% 90.25% 3.84s 3.15% github.com/influxdata/influxdb/v2/tsdb.(*Shard).openNoLock.func1.1
  218. 0.01s 0.0082% 90.26% 12.86s 10.56% github.com/influxdata/influxdb/v2/tsdb/index/tsi1.(*Index).SeriesIDSet
  219. 0.01s 0.0082% 90.27% 1s 0.82% math/rand.(*lockedSource).Int63
  220. 0.01s 0.0082% 90.28% 15.36s 12.61% net/http.(*conn).serve
  221. 0.01s 0.0082% 90.29% 1.11s 0.91% runtime.(*mcache).nextFree
  222. 0.01s 0.0082% 90.29% 1.76s 1.45% runtime.callers.func1
  223. 0.01s 0.0082% 90.30% 0.63s 0.52% runtime.funcspdelta
  224. 0.01s 0.0082% 90.31% 0.62s 0.51% runtime.futexsleep
  225. 0.01s 0.0082% 90.32% 0.88s 0.72% runtime.netpoll
  226. 0.01s 0.0082% 90.33% 0.91s 0.75% runtime.park_m
  227. 0.01s 0.0082% 90.34% 0.83s 0.68% runtime.pollWork
  228. 0.01s 0.0082% 90.34% 0.81s 0.67% runtime.unlockWithRank (inline)
  229. 0 0% 90.34% 2.38s 1.95% github.com/RoaringBitmap/roaring.(*Bitmap).repairAfterLazy
  230. 0 0% 90.34% 2.22s 1.82% github.com/RoaringBitmap/roaring.(*arrayContainer).loadData
  231. 0 0% 90.34% 4.67s 3.83% github.com/RoaringBitmap/roaring.(*arrayContainer).toBitmapContainer
  232. 0 0% 90.34% 0.87s 0.71% github.com/RoaringBitmap/roaring.(*bitmapContainer).clone
  233. 0 0% 90.34% 2.23s 1.83% github.com/RoaringBitmap/roaring.(*bitmapContainer).toArrayContainer (inline)
  234. 0 0% 90.34% 2.39s 1.96% github.com/RoaringBitmap/roaring.(*roaringArray).appendCopy
  235. 0 0% 90.34% 2.39s 1.96% github.com/RoaringBitmap/roaring.(*roaringArray).appendCopyMany (inline)
  236. 0 0% 90.34% 13s 10.67% github.com/RoaringBitmap/roaring.FastOr
  237. 0 0% 90.34% 2.38s 1.95% github.com/RoaringBitmap/roaring.lazyOR
  238. 0 0% 90.34% 15.19s 12.47% github.com/go-chi/chi.(*ChainHandler).ServeHTTP
  239. 0 0% 90.34% 15.10s 12.40% github.com/go-chi/chi.(*Mux).Mount.func1
  240. 0 0% 90.34% 15.19s 12.47% github.com/go-chi/chi.(*Mux).ServeHTTP
  241. 0 0% 90.34% 15.19s 12.47% github.com/go-chi/chi.(*Mux).routeHTTP
  242. 0 0% 90.34% 2.03s 1.67% github.com/influxdata/httprouter.(*Router).Handler.func1
  243. 0 0% 90.34% 2.03s 1.67% github.com/influxdata/httprouter.(*Router).ServeHTTP
  244. 0 0% 90.34% 15.19s 12.47% github.com/influxdata/influxdb/v2/http.(*AddHeader).Middleware.func1
  245. 0 0% 90.34% 15.19s 12.47% github.com/influxdata/influxdb/v2/http.(*Handler).ServeHTTP
  246. 0 0% 90.34% 15.03s 12.34% github.com/influxdata/influxdb/v2/http.(*PlatformHandler).ServeHTTP
  247. 0 0% 90.34% 15.24s 12.51% github.com/influxdata/influxdb/v2/http.LoggingMW.func1.1
  248. 0 0% 90.34% 2.03s 1.67% github.com/influxdata/influxdb/v2/http/legacy.(*Handler).ServeHTTP
  249. 0 0% 90.34% 15.03s 12.34% github.com/influxdata/influxdb/v2/http/legacy.(*Influx1xAuthenticationHandler).ServeHTTP
  250. 0 0% 90.34% 2.03s 1.67% github.com/influxdata/influxdb/v2/http/legacy.(*WriteHandler).ServeHTTP (inline)
  251. 0 0% 90.34% 1.50s 1.23% github.com/influxdata/influxdb/v2/http/points.(*Parser).Parse
  252. 0 0% 90.34% 1.50s 1.23% github.com/influxdata/influxdb/v2/http/points.(*Parser).parsePoints
  253. 0 0% 90.34% 15.13s 12.42% github.com/influxdata/influxdb/v2/kit/transport/http.Metrics.func1.1
  254. 0 0% 90.34% 15.12s 12.42% github.com/influxdata/influxdb/v2/kit/transport/http.Trace.func1.1
  255. 0 0% 90.34% 0.90s 0.74% github.com/influxdata/influxdb/v2/models.ParsePointsWithPrecision
  256. 0 0% 90.34% 1.23s 1.01% github.com/influxdata/influxdb/v2/pkg/rhh.(*HashMap).Get
  257. 0 0% 90.34% 1.66s 1.36% github.com/influxdata/influxdb/v2/tsdb.(*SeriesFile).CreateSeriesListIfNotExists.func1
  258. 0 0% 90.34% 13.02s 10.69% github.com/influxdata/influxdb/v2/tsdb.(*SeriesIDSet).Merge
  259. 0 0% 90.34% 1.25s 1.03% github.com/influxdata/influxdb/v2/tsdb.(*Shard).WritePoints
  260. 0 0% 90.34% 0.70s 0.57% github.com/influxdata/influxdb/v2/tsdb.(*Store).CollectBucketMetrics
  261. 0 0% 90.34% 0.70s 0.57% github.com/influxdata/influxdb/v2/tsdb.(*Store).Open.func2
  262. 0 0% 90.34% 9.04s 7.42% github.com/influxdata/influxdb/v2/tsdb.(*Store).SeriesCardinalityFromShards.func1
  263. 0 0% 90.34% 1.25s 1.03% github.com/influxdata/influxdb/v2/tsdb.(*Store).WriteToShard
  264. 0 0% 90.34% 0.70s 0.57% github.com/influxdata/influxdb/v2/tsdb.(*Store).collectMetrics
  265. 0 0% 90.34% 9.05s 7.43% github.com/influxdata/influxdb/v2/tsdb.(*Store).walkShards.func1
  266. 0 0% 90.34% 3.83s 3.15% github.com/influxdata/influxdb/v2/tsdb/engine/tsm1.(*Engine).SeriesN
  267. 0 0% 90.34% 0.76s 0.62% github.com/influxdata/influxdb/v2/tsdb/engine/tsm1.(*Engine).WritePoints
  268. 0 0% 90.34% 3.83s 3.15% github.com/influxdata/influxdb/v2/tsdb/index/tsi1.(*Index).SeriesN
  269. 0 0% 90.34% 12.98s 10.66% github.com/influxdata/influxdb/v2/v1/authorization.(*Authorizer).Authorize
  270. 0 0% 90.34% 12.93s 10.62% github.com/influxdata/influxdb/v2/v1/authorization.(*Authorizer).tryV1Authorization
  271. 0 0% 90.34% 12.84s 10.54% github.com/influxdata/influxdb/v2/v1/authorization.(*CachingPasswordsService).ComparePassword
  272. 0 0% 90.34% 12.82s 10.53% github.com/influxdata/influxdb/v2/v1/authorization.(*Service).ComparePassword
  273. 0 0% 90.34% 1.25s 1.03% github.com/influxdata/influxdb/v2/v1/coordinator.(*PointsWriter).WritePointsPrivileged.func1
  274. 0 0% 90.34% 1.25s 1.03% github.com/influxdata/influxdb/v2/v1/coordinator.(*PointsWriter).writeToShard
  275. 0 0% 90.34% 12.80s 10.51% golang.org/x/crypto/bcrypt.CompareHashAndPassword
  276. 0 0% 90.34% 12.80s 10.51% golang.org/x/crypto/bcrypt.bcrypt
  277. 0 0% 90.34% 12.79s 10.50% golang.org/x/crypto/bcrypt.expensiveBlowfishSetup
  278. 0 0% 90.34% 1.70s 1.40% golang.org/x/sync/errgroup.(*Group).Go.func1
  279. 0 0% 90.34% 1s 0.82% math/rand.(*Rand).Float64 (inline)
  280. 0 0% 90.34% 1s 0.82% math/rand.(*Rand).Int63 (inline)
  281. 0 0% 90.34% 1.05s 0.86% math/rand.Float64
  282. 0 0% 90.34% 15.24s 12.51% net/http.HandlerFunc.ServeHTTP
  283. 0 0% 90.34% 15.24s 12.51% net/http.serverHandler.ServeHTTP
  284. 0 0% 90.34% 0.72s 0.59% runtime.(*mcentral).grow
  285. 0 0% 90.34% 0.61s 0.5% runtime.(*mheap).alloc
  286. 0 0% 90.34% 0.61s 0.5% runtime.(*mheap).alloc.func1
  287. 0 0% 90.34% 1.69s 1.39% runtime.bgsweep
  288. 0 0% 90.34% 1.76s 1.45% runtime.callers
  289. 0 0% 90.34% 85.94s 70.57% runtime.gcBgMarkWorker.func2
  290. 0 0% 90.34% 1.47s 1.21% runtime.lock (inline)
  291. 0 0% 90.34% 1.74s 1.43% runtime.lockWithRank (inline)
  292. 0 0% 90.34% 1.38s 1.13% runtime.mProf_Malloc.func1
  293. 0 0% 90.34% 7.41s 6.08% runtime.makeslice
  294. 0 0% 90.34% 1.32s 1.08% runtime.markroot.func1
  295. 0 0% 90.34% 1.34s 1.10% runtime.mcall
  296. 0 0% 90.34% 0.72s 0.59% runtime.pcdatavalue
  297. 0 0% 90.34% 3.43s 2.82% runtime.profilealloc
  298. 0 0% 90.34% 1.07s 0.88% runtime.scanframeworker
  299. 0 0% 90.34% 1.30s 1.07% runtime.scanstack
  300. 0 0% 90.34% 1.07s 0.88% runtime.scanstack.func1
  301. 0 0% 90.34% 1.38s 1.13% runtime.setprofilebucket
  302. 0 0% 90.34% 0.81s 0.67% runtime.unlock (inline)
  303.  
  304. ~/influx-profile/profiles
  305. $ pprof -top block.pb.gz
  306. File: influxd
  307. Type: delay
  308. Time: Apr 25, 2023 at 7:55pm (CDT)
  309. Showing nodes accounting for 85235.78hrs, 99.78% of 85424.07hrs total
  310. Dropped 554 nodes (cum <= 427.12hrs)
  311. flat flat% sum% cum cum%
  312. 85235.78hrs 99.78% 99.78% 85235.78hrs 99.78% runtime.selectgo
  313. 0 0% 99.78% 600.89hrs 0.7% github.com/influxdata/influxdb/v2/influxql/query.(*floatParallelIterator).monitor
  314. 0 0% 99.78% 13949.60hrs 16.33% github.com/influxdata/influxdb/v2/query/control.(*Controller).processQueryQueue
  315. 0 0% 99.78% 13949.60hrs 16.33% github.com/influxdata/influxdb/v2/query/control.New.func1
  316. 0 0% 99.78% 8176.86hrs 9.57% github.com/influxdata/influxdb/v2/tsdb.(*Shard).openNoLock.func1.1
  317. 0 0% 99.78% 61960.42hrs 72.53% github.com/influxdata/influxdb/v2/tsdb/index/tsi1.(*Partition).runPeriodicCompaction
Add Comment
Please, Sign In to add comment