Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ~/influx-profile/profiles
- $ ls -lah
- total 12384
- drwxr-xr-x 9 jcoleman staff 288B Apr 26 13:09 .
- drwxr-xr-x 112 jcoleman staff 3.5K Apr 26 13:07 ..
- -rw------- 1 jcoleman staff 2.9M Dec 31 1969 allocs.pb.gz
- -rw------- 1 jcoleman staff 30K Dec 31 1969 block.pb.gz
- -rw------- 1 jcoleman staff 67K Dec 31 1969 cpu.pb.gz
- -rw------- 1 jcoleman staff 12K Dec 31 1969 goroutine.pb.gz
- -rw------- 1 jcoleman staff 2.9M Dec 31 1969 heap.pb.gz
- -rw------- 1 jcoleman staff 40K Dec 31 1969 mutex.pb.gz
- -rw------- 1 jcoleman staff 351B Dec 31 1969 threadcreate.pb.gz
- ~/influx-profile/profiles
- $ pprof -top goroutine.pb.gz
- File: influxd
- Type: goroutine
- Time: Apr 25, 2023 at 7:55pm (CDT)
- Showing nodes accounting for 10171, 100% of 10175 total
- Dropped 172 nodes (cum <= 50)
- flat flat% sum% cum cum%
- 10171 100% 100% 10171 100% runtime.gopark
- 0 0% 100% 97 0.95% github.com/NYTimes/gziphandler.GzipHandlerWithOpts.func1.1
- 0 0% 100% 100 0.98% github.com/go-chi/chi.(*Mux).Mount.func1
- 0 0% 100% 94 0.92% github.com/go-chi/chi.(*Mux).ServeHTTP
- 0 0% 100% 100 0.98% github.com/go-chi/chi.(*Mux).routeHTTP
- 0 0% 100% 60 0.59% github.com/go-chi/chi/middleware.StripSlashes.func1
- 0 0% 100% 54 0.53% github.com/influxdata/flux.(*DelimitedMultiResultEncoder).Encode
- 0 0% 100% 54 0.53% github.com/influxdata/flux/csv.(*ResultEncoder).Encode
- 0 0% 100% 60 0.59% github.com/influxdata/flux/execute.(*executionState).do.func2
- 0 0% 100% 54 0.53% github.com/influxdata/flux/execute.(*executionState).do.func3
- 0 0% 100% 60 0.59% github.com/influxdata/flux/execute.(*executionState).do.func4
- 0 0% 100% 54 0.53% github.com/influxdata/flux/execute.(*poolDispatcher).Start.func1
- 0 0% 100% 54 0.53% github.com/influxdata/flux/execute.(*poolDispatcher).run
- 0 0% 100% 54 0.53% github.com/influxdata/flux/execute.(*result).Do
- 0 0% 100% 60 0.59% github.com/influxdata/flux/lang.(*Program).readStatistics
- 0 0% 100% 66 0.65% github.com/influxdata/httprouter.(*Router).Handler.func1
- 0 0% 100% 66 0.65% github.com/influxdata/httprouter.(*Router).ServeHTTP
- 0 0% 100% 54 0.53% github.com/influxdata/influxdb/v2/http.(*AuthenticationHandler).ServeHTTP
- 0 0% 100% 60 0.59% github.com/influxdata/influxdb/v2/http.(*FluxHandler).handleQuery
- 0 0% 100% 60 0.59% github.com/influxdata/influxdb/v2/http.(*proxyHandler).ServeHTTP
- 0 0% 100% 60 0.59% github.com/influxdata/influxdb/v2/http.panicMW.func1.1
- 0 0% 100% 54 0.53% github.com/influxdata/influxdb/v2/kit/feature.(*Handler).ServeHTTP
- 0 0% 100% 60 0.59% github.com/influxdata/influxdb/v2/kit/transport/http.SetCORS.func1
- 0 0% 100% 60 0.59% github.com/influxdata/influxdb/v2/kit/transport/http.SkipOptions.func1
- 0 0% 100% 60 0.59% github.com/influxdata/influxdb/v2/query.ProxyQueryServiceAsyncBridge.Query
- 0 0% 100% 60 0.59% github.com/influxdata/influxdb/v2/query/control.(*Controller).executeQuery
- 0 0% 100% 1024 10.06% github.com/influxdata/influxdb/v2/query/control.(*Controller).processQueryQueue
- 0 0% 100% 60 0.59% github.com/influxdata/influxdb/v2/query/control.(*Controller).waitForQuery
- 0 0% 100% 54 0.53% github.com/influxdata/influxdb/v2/query/control.(*errorCollectingTableIterator).Do
- 0 0% 100% 1024 10.06% github.com/influxdata/influxdb/v2/query/control.New.func1
- 0 0% 100% 60 0.59% github.com/influxdata/influxdb/v2/query/stdlib/influxdata/influxdb.(*Source).Run
- 0 0% 100% 60 0.59% github.com/influxdata/influxdb/v2/query/stdlib/influxdata/influxdb.(*Source).processTables
- 0 0% 100% 60 0.59% github.com/influxdata/influxdb/v2/query/stdlib/influxdata/influxdb.(*readFilterSource).run
- 0 0% 100% 60 0.59% github.com/influxdata/influxdb/v2/storage/flux.(*filterIterator).Do
- 0 0% 100% 128 1.26% github.com/influxdata/influxdb/v2/task/backend/scheduler.(*TreeScheduler).work
- 0 0% 100% 60 0.59% github.com/influxdata/influxdb/v2/tsdb.(*Shard).MeasurementNamesByPredicate
- 0 0% 100% 1814 17.83% github.com/influxdata/influxdb/v2/tsdb.(*Shard).WritePoints
- 0 0% 100% 485 4.77% github.com/influxdata/influxdb/v2/tsdb.(*Shard).openNoLock.func1.1
- 0 0% 100% 1814 17.83% github.com/influxdata/influxdb/v2/tsdb.(*Shard).validateSeriesAndFields
- 0 0% 100% 1814 17.83% github.com/influxdata/influxdb/v2/tsdb.(*Store).WriteToShard
- 0 0% 100% 485 4.77% github.com/influxdata/influxdb/v2/tsdb.(*measurementFieldSetChangeMgr).SaveWriter
- 0 0% 100% 60 0.59% github.com/influxdata/influxdb/v2/tsdb.IndexSet.MeasurementNamesByPredicate
- 0 0% 100% 60 0.59% github.com/influxdata/influxdb/v2/tsdb.IndexSet.measurementIterator
- 0 0% 100% 60 0.59% github.com/influxdata/influxdb/v2/tsdb.IndexSet.measurementNamesByPredicate
- 0 0% 100% 60 0.59% github.com/influxdata/influxdb/v2/tsdb.IndexSet.measurementNamesByTagPredicate
- 0 0% 100% 60 0.59% github.com/influxdata/influxdb/v2/tsdb.Shards.FieldKeysByPredicate
- 0 0% 100% 60 0.59% github.com/influxdata/influxdb/v2/tsdb.Shards.MeasurementNamesByPredicate
- 0 0% 100% 1814 17.83% github.com/influxdata/influxdb/v2/tsdb/engine/tsm1.(*Engine).CreateSeriesListIfNotExists
- 0 0% 100% 60 0.59% github.com/influxdata/influxdb/v2/tsdb/index/tsi1.(*FileSet).MeasurementIterator
- 0 0% 100% 1814 17.83% github.com/influxdata/influxdb/v2/tsdb/index/tsi1.(*Index).CreateSeriesListIfNotExists
- 0 0% 100% 1814 17.83% github.com/influxdata/influxdb/v2/tsdb/index/tsi1.(*Index).CreateSeriesListIfNotExists.func1
- 0 0% 100% 60 0.59% github.com/influxdata/influxdb/v2/tsdb/index/tsi1.(*Index).MeasurementIterator
- 0 0% 100% 1761 17.31% github.com/influxdata/influxdb/v2/tsdb/index/tsi1.(*LogFile).AddSeriesList
- 0 0% 100% 60 0.59% github.com/influxdata/influxdb/v2/tsdb/index/tsi1.(*LogFile).MeasurementIterator
- 0 0% 100% 53 0.52% github.com/influxdata/influxdb/v2/tsdb/index/tsi1.(*LogFile).Size
- 0 0% 100% 53 0.52% github.com/influxdata/influxdb/v2/tsdb/index/tsi1.(*Partition).CheckLogFile
- 0 0% 100% 53 0.52% github.com/influxdata/influxdb/v2/tsdb/index/tsi1.(*Partition).CheckLogFile.func1
- 0 0% 100% 60 0.59% github.com/influxdata/influxdb/v2/tsdb/index/tsi1.(*Partition).MeasurementIterator
- 0 0% 100% 1814 17.83% github.com/influxdata/influxdb/v2/tsdb/index/tsi1.(*Partition).createSeriesListIfNotExists
- 0 0% 100% 53 0.52% github.com/influxdata/influxdb/v2/tsdb/index/tsi1.(*Partition).needsLogCompaction
- 0 0% 100% 3880 38.13% github.com/influxdata/influxdb/v2/tsdb/index/tsi1.(*Partition).runPeriodicCompaction
- 0 0% 100% 1814 17.83% github.com/influxdata/influxdb/v2/v1/coordinator.(*PointsWriter).WritePointsPrivileged.func1
- 0 0% 100% 1814 17.83% github.com/influxdata/influxdb/v2/v1/coordinator.(*PointsWriter).writeToShard
- 0 0% 100% 60 0.59% github.com/influxdata/influxdb/v2/v1/services/storage.(*Store).ReadFilter
- 0 0% 100% 60 0.59% github.com/influxdata/influxdb/v2/v1/services/storage.newIndexSeriesCursor
- 0 0% 100% 60 0.59% github.com/influxdata/influxdb/v2/v1/services/storage.newIndexSeriesCursorInfluxQLPred
- 0 0% 100% 100 0.98% net/http.HandlerFunc.ServeHTTP
- 0 0% 100% 2540 24.96% runtime.chanrecv
- 0 0% 100% 1835 18.03% runtime.chanrecv1
- 0 0% 100% 705 6.93% runtime.chanrecv2
- 0 0% 100% 1976 19.42% runtime.goparkunlock (inline)
- 0 0% 100% 5607 55.11% runtime.selectgo
- 0 0% 100% 1976 19.42% runtime.semacquire1
- 0 0% 100% 1760 17.30% sync.(*Mutex).Lock (inline)
- 0 0% 100% 1760 17.30% sync.(*Mutex).lockSlow
- 0 0% 100% 1761 17.31% sync.(*RWMutex).Lock
- 0 0% 100% 146 1.43% sync.(*RWMutex).RLock (inline)
- 0 0% 100% 69 0.68% sync.(*WaitGroup).Wait
- 0 0% 100% 69 0.68% sync.runtime_Semacquire
- 0 0% 100% 1907 18.74% sync.runtime_SemacquireMutex
- ~/influx-profile/profiles
- $ pprof -top mutex.pb.gz
- File: influxd
- Type: delay
- Time: Apr 25, 2023 at 7:55pm (CDT)
- Showing nodes accounting for 16.24hrs, 100% of 16.24hrs total
- Dropped 683 nodes (cum <= 0.08hrs)
- flat flat% sum% cum cum%
- 8.51hrs 52.39% 52.39% 8.51hrs 52.39% sync.(*Mutex).Unlock (inline)
- 7.38hrs 45.47% 97.85% 15.51hrs 95.50% sync.(*RWMutex).Unlock
- 0.35hrs 2.15% 100% 0.35hrs 2.15% sync.(*RWMutex).RUnlock (partial-inline)
- 0 0% 100% 0.38hrs 2.34% github.com/influxdata/influxdb/v2/pkg/rhh.(*HashMap).Get
- 0 0% 100% 0.63hrs 3.86% github.com/influxdata/influxdb/v2/tsdb.(*SeriesFile).CreateSeriesListIfNotExists.func1
- 0 0% 100% 0.38hrs 2.34% github.com/influxdata/influxdb/v2/tsdb.(*SeriesIndex).FindIDBySeriesKey
- 0 0% 100% 0.63hrs 3.86% github.com/influxdata/influxdb/v2/tsdb.(*SeriesPartition).CreateSeriesListIfNotExists
- 0 0% 100% 1.74hrs 10.74% github.com/influxdata/influxdb/v2/tsdb.(*Shard).WritePoints
- 0 0% 100% 1.74hrs 10.74% github.com/influxdata/influxdb/v2/tsdb.(*Store).WriteToShard
- 0 0% 100% 0.93hrs 5.72% github.com/influxdata/influxdb/v2/tsdb/engine/tsm1.(*Cache).WriteMulti
- 0 0% 100% 1.74hrs 10.71% github.com/influxdata/influxdb/v2/tsdb/engine/tsm1.(*Engine).WritePoints
- 0 0% 100% 0.08hrs 0.52% github.com/influxdata/influxdb/v2/tsdb/engine/tsm1.(*Engine).WriteSnapshot
- 0 0% 100% 0.08hrs 0.52% github.com/influxdata/influxdb/v2/tsdb/engine/tsm1.(*Engine).compactCache
- 0 0% 100% 0.19hrs 1.17% github.com/influxdata/influxdb/v2/tsdb/engine/tsm1.(*Engine).compactLevel.func1
- 0 0% 100% 0.08hrs 0.52% github.com/influxdata/influxdb/v2/tsdb/engine/tsm1.(*Engine).enableSnapshotCompactions.func1
- 0 0% 100% 0.23hrs 1.40% github.com/influxdata/influxdb/v2/tsdb/engine/tsm1.(*FileStore).ReplaceWithCallback (inline)
- 0 0% 100% 0.24hrs 1.47% github.com/influxdata/influxdb/v2/tsdb/engine/tsm1.(*FileStore).replace
- 0 0% 100% 0.70hrs 4.31% github.com/influxdata/influxdb/v2/tsdb/engine/tsm1.(*WAL).WriteMulti
- 0 0% 100% 12.50hrs 76.98% github.com/influxdata/influxdb/v2/tsdb/engine/tsm1.(*WAL).scheduleSync.func1
- 0 0% 100% 0.70hrs 4.31% github.com/influxdata/influxdb/v2/tsdb/engine/tsm1.(*WAL).writeToLog
- 0 0% 100% 0.70hrs 4.31% github.com/influxdata/influxdb/v2/tsdb/engine/tsm1.(*WAL).writeToLog.func2
- 0 0% 100% 0.23hrs 1.40% github.com/influxdata/influxdb/v2/tsdb/engine/tsm1.(*compactionStrategy).Apply
- 0 0% 100% 0.23hrs 1.40% github.com/influxdata/influxdb/v2/tsdb/engine/tsm1.(*compactionStrategy).compactGroup
- 0 0% 100% 0.93hrs 5.71% github.com/influxdata/influxdb/v2/tsdb/engine/tsm1.(*partition).write
- 0 0% 100% 0.93hrs 5.71% github.com/influxdata/influxdb/v2/tsdb/engine/tsm1.(*ring).write
- 0 0% 100% 1.01hrs 6.21% github.com/influxdata/influxdb/v2/tsdb/index/tsi1.(*Index).CreateSeriesListIfNotExists.func1
- 0 0% 100% 1hrs 6.17% github.com/influxdata/influxdb/v2/tsdb/index/tsi1.(*LogFile).AddSeriesList
- 0 0% 100% 1.01hrs 6.21% github.com/influxdata/influxdb/v2/tsdb/index/tsi1.(*Partition).createSeriesListIfNotExists
- 0 0% 100% 1.75hrs 10.75% github.com/influxdata/influxdb/v2/v1/coordinator.(*PointsWriter).WritePointsPrivileged.func1
- 0 0% 100% 1.75hrs 10.75% github.com/influxdata/influxdb/v2/v1/coordinator.(*PointsWriter).writeToShard
- 0 0% 100% 0.63hrs 3.86% golang.org/x/sync/errgroup.(*Group).Go.func1
- 0 0% 100% 0.38hrs 2.34% math/rand.(*Rand).Float64 (inline)
- 0 0% 100% 0.38hrs 2.34% math/rand.(*Rand).Int63 (inline)
- 0 0% 100% 0.38hrs 2.34% math/rand.(*lockedSource).Int63
- 0 0% 100% 0.38hrs 2.34% math/rand.Float64
- ~/influx-profile/profiles
- $ pprof -top threadcreate.pb.gz
- File: influxd
- Type: threadcreate
- Time: Apr 25, 2023 at 7:55pm (CDT)
- Showing nodes accounting for 1, 0.49% of 204 total
- flat flat% sum% cum cum%
- 1 0.49% 0.49% 1 0.49% runtime.allocm
- 0 0% 0.49% 1 0.49% runtime.main
- 0 0% 0.49% 1 0.49% runtime.newm
- 0 0% 0.49% 1 0.49% runtime.startTemplateThread
- ~/influx-profile/profiles
- $ pprof -top cpu.pb.gz
- File: influxd
- Type: cpu
- Time: Apr 25, 2023 at 7:55pm (CDT)
- Duration: 30.20s, Total samples = 121.78s (403.29%)
- Showing nodes accounting for 110.02s, 90.34% of 121.78s total
- Dropped 780 nodes (cum <= 0.61s)
- flat flat% sum% cum cum%
- 51.52s 42.31% 42.31% 73.25s 60.15% runtime.scanobject
- 12.47s 10.24% 52.55% 12.50s 10.26% golang.org/x/crypto/blowfish.encryptBlock
- 6.51s 5.35% 57.89% 85.94s 70.57% runtime.gcDrain
- 5.87s 4.82% 62.71% 7.32s 6.01% runtime.findObject
- 4.03s 3.31% 66.02% 4.06s 3.33% runtime.pageIndexOf (inline)
- 3.68s 3.02% 69.04% 3.68s 3.02% runtime.heapBits.bits (inline)
- 3.58s 2.94% 71.98% 3.58s 2.94% runtime.memclrNoHeapPointers
- 2.86s 2.35% 74.33% 2.86s 2.35% runtime.markBits.isMarked (inline)
- 2.69s 2.21% 76.54% 2.73s 2.24% github.com/RoaringBitmap/roaring.(*bitmapContainer).lazyIORArray (inline)
- 2.10s 1.72% 78.26% 2.39s 1.96% runtime.markrootSpans
- 1.81s 1.49% 79.75% 9.61s 7.89% runtime.greyobject
- 1.48s 1.22% 80.97% 1.50s 1.23% runtime.(*lfstack).pop (inline)
- 1.18s 0.97% 81.93% 1.27s 1.04% github.com/RoaringBitmap/roaring.(*bitmapContainer).fillArray (inline)
- 1.16s 0.95% 82.89% 1.16s 0.95% runtime.futex
- 0.95s 0.78% 83.67% 0.95s 0.78% runtime.memmove
- 0.87s 0.71% 84.38% 0.87s 0.71% runtime.epollwait
- 0.75s 0.62% 85.00% 0.83s 0.68% runtime.heapBits.next
- 0.73s 0.6% 85.60% 0.73s 0.6% github.com/RoaringBitmap/roaring.(*bitmapContainer).lazyIORBitmap (inline)
- 0.71s 0.58% 86.18% 0.71s 0.58% runtime.(*mspan).divideByElemSize
- 0.70s 0.57% 86.75% 1.14s 0.94% runtime.(*sweepLocked).sweep
- 0.67s 0.55% 87.30% 1.35s 1.11% runtime.pcvalue
- 0.64s 0.53% 87.83% 0.65s 0.53% github.com/RoaringBitmap/roaring.(*bitmapContainer).loadData (inline)
- 0.57s 0.47% 88.30% 1.74s 1.43% runtime.lock2
- 0.41s 0.34% 88.64% 3.05s 2.50% runtime.gentraceback
- 0.31s 0.25% 88.89% 1.69s 1.39% runtime.sweepone
- 0.31s 0.25% 89.14% 0.80s 0.66% runtime.unlock2
- 0.29s 0.24% 89.38% 12.75s 10.47% golang.org/x/crypto/blowfish.ExpandKey
- 0.17s 0.14% 89.52% 8.36s 6.86% runtime.mallocgc
- 0.15s 0.12% 89.65% 0.63s 0.52% runtime.stealWork
- 0.13s 0.11% 89.75% 0.62s 0.51% runtime.(*mheap).allocSpan
- 0.11s 0.09% 89.84% 1.37s 1.12% runtime.getempty
- 0.08s 0.066% 89.91% 0.79s 0.65% runtime.(*mspan).objIndex
- 0.05s 0.041% 89.95% 8.24s 6.77% github.com/RoaringBitmap/roaring.(*Bitmap).lazyOR
- 0.05s 0.041% 89.99% 0.91s 0.75% runtime.(*mcentral).cacheSpan
- 0.04s 0.033% 90.02% 4.02s 3.30% github.com/RoaringBitmap/roaring.newBitmapContainer (inline)
- 0.04s 0.033% 90.06% 3.77s 3.10% runtime.markroot
- 0.04s 0.033% 90.09% 1.18s 0.97% runtime.schedule
- 0.03s 0.025% 90.11% 90.06s 73.95% runtime.systemstack
- 0.02s 0.016% 90.13% 1.66s 1.36% github.com/influxdata/influxdb/v2/tsdb.(*SeriesPartition).CreateSeriesListIfNotExists
- 0.02s 0.016% 90.15% 1.10s 0.9% runtime.(*mcache).refill
- 0.02s 0.016% 90.16% 0.93s 0.76% runtime.findrunnable
- 0.02s 0.016% 90.18% 86.03s 70.64% runtime.gcBgMarkWorker
- 0.02s 0.016% 90.20% 3.42s 2.81% runtime.mProf_Malloc
- 0.01s 0.0082% 90.20% 2.04s 1.68% github.com/NYTimes/gziphandler.GzipHandlerWithOpts.func1.1
- 0.01s 0.0082% 90.21% 1.41s 1.16% github.com/RoaringBitmap/roaring.(*arrayContainer).clone
- 0.01s 0.0082% 90.22% 3.47s 2.85% github.com/RoaringBitmap/roaring.(*bitmapContainer).lazyIOR
- 0.01s 0.0082% 90.23% 2.03s 1.67% github.com/influxdata/influxdb/v2/http/legacy.(*WriteHandler).handleWrite
- 0.01s 0.0082% 90.24% 0.77s 0.63% github.com/influxdata/influxdb/v2/models.parsePoint
- 0.01s 0.0082% 90.24% 1.63s 1.34% github.com/influxdata/influxdb/v2/tsdb.(*SeriesIndex).FindIDBySeriesKey
- 0.01s 0.0082% 90.25% 3.84s 3.15% github.com/influxdata/influxdb/v2/tsdb.(*Shard).openNoLock.func1.1
- 0.01s 0.0082% 90.26% 12.86s 10.56% github.com/influxdata/influxdb/v2/tsdb/index/tsi1.(*Index).SeriesIDSet
- 0.01s 0.0082% 90.27% 1s 0.82% math/rand.(*lockedSource).Int63
- 0.01s 0.0082% 90.28% 15.36s 12.61% net/http.(*conn).serve
- 0.01s 0.0082% 90.29% 1.11s 0.91% runtime.(*mcache).nextFree
- 0.01s 0.0082% 90.29% 1.76s 1.45% runtime.callers.func1
- 0.01s 0.0082% 90.30% 0.63s 0.52% runtime.funcspdelta
- 0.01s 0.0082% 90.31% 0.62s 0.51% runtime.futexsleep
- 0.01s 0.0082% 90.32% 0.88s 0.72% runtime.netpoll
- 0.01s 0.0082% 90.33% 0.91s 0.75% runtime.park_m
- 0.01s 0.0082% 90.34% 0.83s 0.68% runtime.pollWork
- 0.01s 0.0082% 90.34% 0.81s 0.67% runtime.unlockWithRank (inline)
- 0 0% 90.34% 2.38s 1.95% github.com/RoaringBitmap/roaring.(*Bitmap).repairAfterLazy
- 0 0% 90.34% 2.22s 1.82% github.com/RoaringBitmap/roaring.(*arrayContainer).loadData
- 0 0% 90.34% 4.67s 3.83% github.com/RoaringBitmap/roaring.(*arrayContainer).toBitmapContainer
- 0 0% 90.34% 0.87s 0.71% github.com/RoaringBitmap/roaring.(*bitmapContainer).clone
- 0 0% 90.34% 2.23s 1.83% github.com/RoaringBitmap/roaring.(*bitmapContainer).toArrayContainer (inline)
- 0 0% 90.34% 2.39s 1.96% github.com/RoaringBitmap/roaring.(*roaringArray).appendCopy
- 0 0% 90.34% 2.39s 1.96% github.com/RoaringBitmap/roaring.(*roaringArray).appendCopyMany (inline)
- 0 0% 90.34% 13s 10.67% github.com/RoaringBitmap/roaring.FastOr
- 0 0% 90.34% 2.38s 1.95% github.com/RoaringBitmap/roaring.lazyOR
- 0 0% 90.34% 15.19s 12.47% github.com/go-chi/chi.(*ChainHandler).ServeHTTP
- 0 0% 90.34% 15.10s 12.40% github.com/go-chi/chi.(*Mux).Mount.func1
- 0 0% 90.34% 15.19s 12.47% github.com/go-chi/chi.(*Mux).ServeHTTP
- 0 0% 90.34% 15.19s 12.47% github.com/go-chi/chi.(*Mux).routeHTTP
- 0 0% 90.34% 2.03s 1.67% github.com/influxdata/httprouter.(*Router).Handler.func1
- 0 0% 90.34% 2.03s 1.67% github.com/influxdata/httprouter.(*Router).ServeHTTP
- 0 0% 90.34% 15.19s 12.47% github.com/influxdata/influxdb/v2/http.(*AddHeader).Middleware.func1
- 0 0% 90.34% 15.19s 12.47% github.com/influxdata/influxdb/v2/http.(*Handler).ServeHTTP
- 0 0% 90.34% 15.03s 12.34% github.com/influxdata/influxdb/v2/http.(*PlatformHandler).ServeHTTP
- 0 0% 90.34% 15.24s 12.51% github.com/influxdata/influxdb/v2/http.LoggingMW.func1.1
- 0 0% 90.34% 2.03s 1.67% github.com/influxdata/influxdb/v2/http/legacy.(*Handler).ServeHTTP
- 0 0% 90.34% 15.03s 12.34% github.com/influxdata/influxdb/v2/http/legacy.(*Influx1xAuthenticationHandler).ServeHTTP
- 0 0% 90.34% 2.03s 1.67% github.com/influxdata/influxdb/v2/http/legacy.(*WriteHandler).ServeHTTP (inline)
- 0 0% 90.34% 1.50s 1.23% github.com/influxdata/influxdb/v2/http/points.(*Parser).Parse
- 0 0% 90.34% 1.50s 1.23% github.com/influxdata/influxdb/v2/http/points.(*Parser).parsePoints
- 0 0% 90.34% 15.13s 12.42% github.com/influxdata/influxdb/v2/kit/transport/http.Metrics.func1.1
- 0 0% 90.34% 15.12s 12.42% github.com/influxdata/influxdb/v2/kit/transport/http.Trace.func1.1
- 0 0% 90.34% 0.90s 0.74% github.com/influxdata/influxdb/v2/models.ParsePointsWithPrecision
- 0 0% 90.34% 1.23s 1.01% github.com/influxdata/influxdb/v2/pkg/rhh.(*HashMap).Get
- 0 0% 90.34% 1.66s 1.36% github.com/influxdata/influxdb/v2/tsdb.(*SeriesFile).CreateSeriesListIfNotExists.func1
- 0 0% 90.34% 13.02s 10.69% github.com/influxdata/influxdb/v2/tsdb.(*SeriesIDSet).Merge
- 0 0% 90.34% 1.25s 1.03% github.com/influxdata/influxdb/v2/tsdb.(*Shard).WritePoints
- 0 0% 90.34% 0.70s 0.57% github.com/influxdata/influxdb/v2/tsdb.(*Store).CollectBucketMetrics
- 0 0% 90.34% 0.70s 0.57% github.com/influxdata/influxdb/v2/tsdb.(*Store).Open.func2
- 0 0% 90.34% 9.04s 7.42% github.com/influxdata/influxdb/v2/tsdb.(*Store).SeriesCardinalityFromShards.func1
- 0 0% 90.34% 1.25s 1.03% github.com/influxdata/influxdb/v2/tsdb.(*Store).WriteToShard
- 0 0% 90.34% 0.70s 0.57% github.com/influxdata/influxdb/v2/tsdb.(*Store).collectMetrics
- 0 0% 90.34% 9.05s 7.43% github.com/influxdata/influxdb/v2/tsdb.(*Store).walkShards.func1
- 0 0% 90.34% 3.83s 3.15% github.com/influxdata/influxdb/v2/tsdb/engine/tsm1.(*Engine).SeriesN
- 0 0% 90.34% 0.76s 0.62% github.com/influxdata/influxdb/v2/tsdb/engine/tsm1.(*Engine).WritePoints
- 0 0% 90.34% 3.83s 3.15% github.com/influxdata/influxdb/v2/tsdb/index/tsi1.(*Index).SeriesN
- 0 0% 90.34% 12.98s 10.66% github.com/influxdata/influxdb/v2/v1/authorization.(*Authorizer).Authorize
- 0 0% 90.34% 12.93s 10.62% github.com/influxdata/influxdb/v2/v1/authorization.(*Authorizer).tryV1Authorization
- 0 0% 90.34% 12.84s 10.54% github.com/influxdata/influxdb/v2/v1/authorization.(*CachingPasswordsService).ComparePassword
- 0 0% 90.34% 12.82s 10.53% github.com/influxdata/influxdb/v2/v1/authorization.(*Service).ComparePassword
- 0 0% 90.34% 1.25s 1.03% github.com/influxdata/influxdb/v2/v1/coordinator.(*PointsWriter).WritePointsPrivileged.func1
- 0 0% 90.34% 1.25s 1.03% github.com/influxdata/influxdb/v2/v1/coordinator.(*PointsWriter).writeToShard
- 0 0% 90.34% 12.80s 10.51% golang.org/x/crypto/bcrypt.CompareHashAndPassword
- 0 0% 90.34% 12.80s 10.51% golang.org/x/crypto/bcrypt.bcrypt
- 0 0% 90.34% 12.79s 10.50% golang.org/x/crypto/bcrypt.expensiveBlowfishSetup
- 0 0% 90.34% 1.70s 1.40% golang.org/x/sync/errgroup.(*Group).Go.func1
- 0 0% 90.34% 1s 0.82% math/rand.(*Rand).Float64 (inline)
- 0 0% 90.34% 1s 0.82% math/rand.(*Rand).Int63 (inline)
- 0 0% 90.34% 1.05s 0.86% math/rand.Float64
- 0 0% 90.34% 15.24s 12.51% net/http.HandlerFunc.ServeHTTP
- 0 0% 90.34% 15.24s 12.51% net/http.serverHandler.ServeHTTP
- 0 0% 90.34% 0.72s 0.59% runtime.(*mcentral).grow
- 0 0% 90.34% 0.61s 0.5% runtime.(*mheap).alloc
- 0 0% 90.34% 0.61s 0.5% runtime.(*mheap).alloc.func1
- 0 0% 90.34% 1.69s 1.39% runtime.bgsweep
- 0 0% 90.34% 1.76s 1.45% runtime.callers
- 0 0% 90.34% 85.94s 70.57% runtime.gcBgMarkWorker.func2
- 0 0% 90.34% 1.47s 1.21% runtime.lock (inline)
- 0 0% 90.34% 1.74s 1.43% runtime.lockWithRank (inline)
- 0 0% 90.34% 1.38s 1.13% runtime.mProf_Malloc.func1
- 0 0% 90.34% 7.41s 6.08% runtime.makeslice
- 0 0% 90.34% 1.32s 1.08% runtime.markroot.func1
- 0 0% 90.34% 1.34s 1.10% runtime.mcall
- 0 0% 90.34% 0.72s 0.59% runtime.pcdatavalue
- 0 0% 90.34% 3.43s 2.82% runtime.profilealloc
- 0 0% 90.34% 1.07s 0.88% runtime.scanframeworker
- 0 0% 90.34% 1.30s 1.07% runtime.scanstack
- 0 0% 90.34% 1.07s 0.88% runtime.scanstack.func1
- 0 0% 90.34% 1.38s 1.13% runtime.setprofilebucket
- 0 0% 90.34% 0.81s 0.67% runtime.unlock (inline)
- ~/influx-profile/profiles
- $ pprof -top block.pb.gz
- File: influxd
- Type: delay
- Time: Apr 25, 2023 at 7:55pm (CDT)
- Showing nodes accounting for 85235.78hrs, 99.78% of 85424.07hrs total
- Dropped 554 nodes (cum <= 427.12hrs)
- flat flat% sum% cum cum%
- 85235.78hrs 99.78% 99.78% 85235.78hrs 99.78% runtime.selectgo
- 0 0% 99.78% 600.89hrs 0.7% github.com/influxdata/influxdb/v2/influxql/query.(*floatParallelIterator).monitor
- 0 0% 99.78% 13949.60hrs 16.33% github.com/influxdata/influxdb/v2/query/control.(*Controller).processQueryQueue
- 0 0% 99.78% 13949.60hrs 16.33% github.com/influxdata/influxdb/v2/query/control.New.func1
- 0 0% 99.78% 8176.86hrs 9.57% github.com/influxdata/influxdb/v2/tsdb.(*Shard).openNoLock.func1.1
- 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