Code Monkey home page Code Monkey logo

Comments (10)

hengfeiyang avatar hengfeiyang commented on May 13, 2024

Yes, by default we enabled some CPU features, like:

+aes,+avx,+avx2,+sse2,+sse3,+ssse3,+sse4.1,+sse4.2

Maybe this CPU doesn't support those features, Can you check which features this CPU support?

from openobserve.

mohshami avatar mohshami commented on May 13, 2024

Thank you so much for the quick reply.

It supports all except for AVX. Is there a way I can get it to run?

from openobserve.

hengfeiyang avatar hengfeiyang commented on May 13, 2024

If you want to try, you can manually build ZincObserve yourself, I can guide you. and we will discuss how to support this type of CPU. Thanks.

from openobserve.

mohshami avatar mohshami commented on May 13, 2024

I would love to, I understand having that feature enabled is better, but for a small installation like mine (I only want to collect queries going to my home DNS server) it should be find

from openobserve.

hengfeiyang avatar hengfeiyang commented on May 13, 2024

Sure, you can find me in Slack channel.

from openobserve.

hengfeiyang avatar hengfeiyang commented on May 13, 2024

Build steps:

  1. clone the project to you local.
  2. change the file https://github.com/zinclabs/zincobserve/blob/main/.cargo/config.toml, and delete the feature your machine not supported.
  3. install Rust curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
  4. install Special version of Rust
    rustup toolchain install nightly-2023-01-26
    rustup default nightly-2023-01-26
    
  5. install others depends: apt-get install -y protobuf-compiler cmake gcc
  6. build: cargo build --release

from openobserve.

mohshami avatar mohshami commented on May 13, 2024

I tried with the following config.toml

[target.x86_64-unknown-linux-gnu]
rustflags = ["-C", "target-feature=+aes,+sse4.2"]

Sadly I get the same result on NixOS, I will have to booth ubuntu on that server. Will test that later tonight

According to

https://www.cpu-world.com/CPUs/Celeron/Intel-Mobile%20Celeron%20N5105.html

The N5105 supports SSE4.2

Will let you know once I manage to boot ubuntu on this machine

from openobserve.

mohshami avatar mohshami commented on May 13, 2024

Ok so instead of booting ubuntu on the machine, I ran an ubuntu docker

docker run -v $PWD:/data -it ubuntu /bin/bash

Then

ZO_ROOT_USER_EMAIL=[email protected] ZO_ROOT_USER_PASSWORD=Complexpass#123 ./zincobserve

That worked, so the binary is good, it looks like NixOS is missing a file needed to run the binary, any idea how I can find that file?

from openobserve.

mohshami avatar mohshami commented on May 13, 2024

So that turned out to be a NixOS thing, so the issue can be closed. Thank you so much

from openobserve.

yibuma avatar yibuma commented on May 13, 2024

Based on my actual test, it normally after removing AVX and AVX2.

from openobserve.

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.