Skip to content
Search openEuler

    Browse this documentation

    A-Tune verified — the full atuned deployment chain, 108 profiles, and the NIC-template-name trap everyone hits (verified on a VM)

    Evidence on this page comes from the machine track (E3) — VM 381 euler24-lab (openEuler 24.03 LTS SP4, offline DVD source, 2026-11-05): the full chain of install, troubleshooting, startup and profile inventory. Raw log: evidence/logs/openeuler-p6-atune-vm.log (including the complete journalctl of the failure and the fix).

    $ dnf -y install atune # main OS repo (repo home already proven on the DevStation page)
    atune-1.2.0-10.oe2403sp4.x86_64
    $ systemctl enable --now atuned
    → atuned.service: Main process exited, code=exited, status=1/FAILURE

    journalctl’s error points straight at the root cause: failed to load config file, error: please provide the valid network config in atuned.cnf. Open /etc/atuned/atuned.cnf and look at lines 88-91:

    disk = sda # disk template value (this machine happens to be sda — a lucky match)
    network = enp189s0f0 # factory NIC template value — almost no environment has this name

    One-line fix (this machine’s virtio NIC is ens18): sed -i 's|^network = enp189s0f0|network = ens18|' → systemctl restart atuned → active. How universal this trap is: A-Tune’s config template ships with a Kunpeng test machine’s NIC name, so cloud hosts/VM users will need the change 100% of the time; the error message lives in journalctl, not in the service status, and missing the log leads to a false diagnosis of a broken package.

    The 108 built-in profiles (counted in testing)

    Section titled “The 108 built-in profiles (counted in testing)”
    $ atune-adm list | grep -c '^\S'
    108

    The profile list covers benchmark baselines (fio/lmbench/netperf/stream/unixbench), databases, web, containers and more — activate with atune-adm profile <name> (activation is a workload-tuning operation and was not executed on this experiment machine — see the end). The division of labor between A-Tune and manual tuning: profiles are officially prefabricated parameter bundles (sysctl/scheduler/IO scheduler in one shot), suited to quick gear changes; fine-grained per-parameter tuning still goes through traditional tools.

    The boundary: atune-adm check needs REST certificates

    Section titled “The boundary: atune-adm check needs REST certificates”
    $ atune-adm check
    rpc error: service init failed: open /etc/atuned/rest_certs/ca.crt: no such file or directory

    check (the system health check) goes through the REST interface and needs the certificates initialized first (the deployment docs’ certificate-generation step) — local-socket commands like list/profile are unaffected. This is the real boundary between “install and it works” and “full functionality”, recorded as-is.

    The EL family’s tuned (static profile switching) also works on openEuler; A-Tune’s difference is online analysis (atune-adm analysis identifies the workload type and recommends a profile — analysis did not produce usable output on this machine because of the ordering with the pre-startup troubleshooting while the socket was down; the mechanics are covered in the official docs). The choice: for simple scenarios tuned is enough; for workload profiling and openEuler’s official profile system, bring in A-Tune (and remember to fix the NIC template value first).

    • Profile activation and its effect benchmark not tested (activation changes system parameters; benchmarking requires a controlled workload — listed as a load-test-environment item);
    • atune-adm analysis workload identification never run to completion (can be re-tested after REST certificate initialization);
    • No same-scenario comparison benchmark against tuned.