Category Archives: Hardware

ARM64 Linux Performance Tuning

This is personal notebook for ARM64 performance tuning.

Read more »

[Gentoo][ARM64] Compile qtwebengine fail

If CPU number is too much, compile qtwebengine will fail, seems ninja compile issues.

it better to reduce CPU number under 8, batter number is 4 or 6.

just put MAKEOPTS=”-j 4″ on your /etc/portage/make.conf

It can be roll back after compile qtwebengine.

modify package.env can support special MAKEOPTS command on some packages.
ex:

echo "dev-qt/qtwebengine lowcpu.conf" | sudo tee -a /etc/portage/package.env
mkdir -p /etc/portage/env
echo "MAKEOPTS=\"-j4\"" | sudo tee /etc/portage/env/lowcpu.conf

ref.
[SOLVED] emerging qtwebengine-5.7.1
Memory problems on QtWebEngine build

The NVM Checksum Is Not Valid

這個是我 Intel i350-T4 最近出現的錯誤訊息,是最近 Power 壞掉之後才發生的,錯誤訊息如下

[ 775.510780] igb: Intel(R) Gigabit Ethernet Network Driver – version 5.4.0-k
[ 775.510782] igb: Copyright (c) 2007-2014 Intel Corporation.
[ 775.526676] igb 0000:01:00.0: The NVM Checksum Is Not Valid
[ 775.602407] igb: probe of 0000:01:00.0 failed with error -5
[ 775.617632] igb 0000:01:00.1: The NVM Checksum Is Not Valid
[ 775.693405] igb: probe of 0000:01:00.1 failed with error -5
[ 775.708632] igb 0000:01:00.2: The NVM Checksum Is Not Valid
[ 775.784404] igb: probe of 0000:01:00.2 failed with error -5
[ 775.799632] igb 0000:01:00.3: The NVM Checksum Is Not Valid
[ 775.875410] igb: probe of 0000:01:00.3 failed with error -5
Read more »

ATX Auto Power On

PS_ON# 和 COM(GND) 接起來就好了,這次還 Google 到錯的文件,自己記錄一下

ref.
ATX Power Spec

Gentoo ARM64 UEFI Install Guide

This is not a detail guide to describe how to full install system, just figure out some important point. Even not for Gentoo newbie.

Most important handbook is Gentoo AMD64 installation guide.
There is some different between ARM64 and AMD64

2021/08/31 Updated : No more need Ubuntu ISO image, ARM64 EFI minimal ISO can be download from official website: https://www.gentoo.org/downloads/

Read more »

ARM64 Centos8 Ubuntu PXE Boot Install

This document will introduce how to setup a centos PXE boot environment on ubuntu 18.04 for install centos8 to your ARM64 machine.

In this document, it uses CentOS 8 version is 8.1.1911, it might also work on later version if you change file name accordingly . 

all command in this document we assume you already run with root permission. 

Read more »

ARM64 mfpu=neon-fp-armv8 and unrecognized command line option

又學到一個小知識

原因是因為 -mfpu=neon-fp-armv8 是 arm32 compiler option ARM64 使用 Linux ABI 那邊就規範要支援 Floatpoint 和 ASIMD(也就是 neon 的 64bit 版 )

不要用 -mfpu 指令就可以了

ref.
-mfpu=neon-fp-armv8 and unrecognized command line option

Kubernetes install nginx-ingress on ARM64

It’s easy. it needs to install helm first and just run following command

helm install \
    --name nginx-ingress stable/nginx-ingress \
    --namespace ingress-nginx \
    --set rbac.create=true \
    --set controller.image.repository="quay.io/kubernetes-ingress-controller/nginx-ingress-controller-arm64" \
    --set defaultBackend.image.repository="k8s.gcr.io/defaultbackend-arm64"

ref.
https://github.com/kubernetes/ingress-nginx/issues/4876
https://github.com/kubernetes/ingress-nginx/pull/3852

Linkerd2 for ARM64

There is no regular ARM64 support for Linkerd2 now.

So, I built one for test.
All necessary packages will be downloaded from my private docker.io account. not from regular linkerd2 repository.

Linkerd2 version is master version between v2.6.0 and next version
emojivoto version is v9 (master version)

Read more »

ARM64 Kubernetes Nginx Traefik Ingress Load Balance

My original target purpose is very simple, build deploy several webserver and assigned a external ip for internet to access it.

Most kubernetes newbie install guide won’t mention how to do that. actually that’s very simple, for external ip, it needs a load balance controller like metallb for create a external ip address to access web server. and an Ingress contoller like Traefik for http/https route to right pods .

Read more »