Giter Club home page Giter Club logo

Comments (7)

SlavaLatokhin avatar SlavaLatokhin commented on June 18, 2024 1

The build was done via docker, most likely the default version

from victoriametrics.

f41gh7 avatar f41gh7 commented on June 18, 2024

Can you please also share build environment details:
version of GO compiler.

from victoriametrics.

f41gh7 avatar f41gh7 commented on June 18, 2024

@SlavaLatokhin may I ask you to build victoria-metrics with param -race. It enables race detector and must help to identify source of the problem.

make victoria-metrics-race
# produces bin/victoria-metrics-race binary

Please note it has significantly lower performance compared to production builds.

from victoriametrics.

SlavaLatokhin avatar SlavaLatokhin commented on June 18, 2024

I can't compile, I can't find at all how to configure zstd for a local build under ppc64le. Please tell me how do you build VictoriaMetrics for ppc64le? There is no c library for ppc64le in gozstd or on the Internet

from victoriametrics.

SlavaLatokhin avatar SlavaLatokhin commented on June 18, 2024

@f41gh7, do you have zstd for ppc64le? Or maybe you can throw in an already compiled version or know the workarounds

from victoriametrics.

f41gh7 avatar f41gh7 commented on June 18, 2024

I can't compile, I can't find at all how to configure zstd for a local build under ppc64le. Please tell me how do you build VictoriaMetrics for ppc64le? There is no c library for ppc64le in gozstd or on the Internet

It's a problem, application cannot be compiled with -race if CGO is disabled for given arch.

I'll take a look at compilation issues. Most probably, we have to add ppc64le to gozstd. And it should unblock CGO compilation.

from victoriametrics.

f41gh7 avatar f41gh7 commented on June 18, 2024

It should be possible to build -race version of VictoriaMetrics for ppc64le with following changes (See example at draft PR)

  1. replace gozstd lib at go.mod: add the following line: replace github.com/valyala/gozstd => github.com/f41gh7/gozstd v1.12.1-0.20240514104918-c42dd7d06806
  2. execute command go get github.com/valyala/gozstd
  3. execute command go mod vendor.

Unfortunately, I dont have any power8 instances to properly test it. And local cross-compilation doesn't work for me.

example PR https://github.com/VictoriaMetrics/VictoriaMetrics/pull/6271/files

from victoriametrics.

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.