Coder Social home page Coder Social logo

Comments (5)

prudhvi avatar prudhvi commented on June 28, 2024

cc @aditya-stripe @antifuchs Does this CPU usage look normal/expected to you?

from veneur.

ChimeraCoder avatar ChimeraCoder commented on June 28, 2024

That's not expected. Could you share a CPU profile so we can see where that's getting clogged up?

from veneur.

prudhvi avatar prudhvi commented on June 28, 2024

Cool thanks, am curious how far are we off ? Should it be doing double this or 10x this?

profile_120sec.pdf
profile_300sec.pdf

We have flush interval of 30 seconds and run veneur as a sidecar to app in LXC containers. We have the following config for veneur. Also FYI we do run a fork of veneur where we do some metricname parsing and renaming before we flush to signalfx in the sink signalfx.go.

  num_readers: 20
  num_span_workers: 10
  num_workers: 96
  read_buffer_size_bytes: 2097152
  metric_max_length: 32768
  span_channel_capacity: 100
  metric_max_length: 32768
  trace_max_length_bytes: 16384
  ssf_listen_addresses:
    - unix:///data/app/tmp/veneur-ssf.sock
  statsd_listen_addresses:
    - unixgram:///data/app/tmp/veneur.sock

I am attaching the CPU profile for 120 seconds and 300 seconds.

from veneur.

prudhvi avatar prudhvi commented on June 28, 2024

@aditya-stripe , Sorry before spending more time into investigating bottleneck for CPU usage, am curious to know how much is expected throughput for 1 logical CPU in veneur for metrics consumption via statsd.

I noticed similar metric processed throughput per 1 logical CPU when using UDP too.
60k/sec is what the https://github.com/stripe/veneur#benchmarks says too but wanted to confirm , is that a old number that needs updating?

from veneur.

prudhvi avatar prudhvi commented on June 28, 2024

Also attaching the UDP profiles (when sending metrics via UDP instead of unix domain socket)
udp_profile_300sec.pdf
udp_profile_120sec.pdf

from veneur.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.