主页

irq suspension

irq suspension gro-flush-timeout defer-hard-irqs irq-suspend-timeout可以在napi上设置,也可以全局设置· from irq.sh $PERNAPI && { for ((q=0;q<$qcntcurr;q++)); do nid=${napimap[q]} sudo $NDCLI --do napi-set --json="{\"id\": $nid, \"gro-flush-timeout\": $2, \"defer-hard-irqs\": $3}" > /dev/null sudo $NDCLI --do napi-set --json="{\"i...

阅读更多

qe-pipeline

gitlab knowledge • Control inheritance of default keywords in jobs with inherit:default. • Global defaults are not passed to downstream pipelines, which run independently of the upstream pipeline that triggered the downstream pipeline. The include files are: • Merged with those in the .gitlab-ci.yml file. • Always evaluated first and then m...

阅读更多

image mode

covert image mode to qcow2 https://docs.redhat.com/en/documentation/red_hat_enterprise_linux/9/html/using_image_mode_for_rhel_to_build_deploy_and_manage_operating_systems/creating-bootc-compatible-base-disk-images-with-bootc-image-builder_using-image-mode-for-rhel-to-build-deploy-and-manage-operating-systems#creating-qcow2-images-by-using-bootc-...

阅读更多

daily work

download code dnf -y install vim wget tar git tcpdump beakerlib expect wget --no-check-certificate https://gitlab.cee.redhat.com/liali/kernel/-/archive/master/kernel-master.tar.gz tar -zxv -f kernel-master.tar.gz compile kernel CONFIG_DEBUG_INFO_BTF=n CONFIG_SYSTEM_TRUSTED_KEYS="" dnf install -y ncurses-devel openssl openssl-devel elfutils-lib...

阅读更多

restraint

Restraint https://restraint.readthedocs.io/en/latest/commands.html restraint: # cat /var/lib/restraint/rstrnt-commands-env-8081.sh HARNESS_PREFIX=RSTRNT_ RSTRNT_URL=http://localhost:8081 RSTRNT_RECIPE_URL=http://localhost:8081/recipes/16343105 RSTRNT_TASKID=179082209 # cat /usr/lib/systemd/system/restraintd.service [Unit] Description=The rest...

阅读更多

Interview

Python 1. Do you know python comprehensions? list comprehensions https://www.runoob.com/python3/python-comprehensions.html [表达式 for 变量 in 列表] [out_exp_res for out_exp in input_list] 2. Do you know python closure? https://github.com/Jwindler/Ice_story/blob/main/src/python/closure.md 闭包(closure)是一个函数对象,它与它的环境变量(包括自由变量)的引用组合而成的实体。 闭包可以保留函数定义时所在的...

阅读更多

EAP

soruce EAP This document defines the Extensible Authentication Protocol (EAP), an authentication framework which supports multiple authentication methods. EAP typically runs directly over data link layers such as Point-to-Point Protocol (PPP) or IEEE 802, without requiring IP. EAP (Extensible Authentication Protocol) provides its own supp...

阅读更多

tc

soruce tc Tc is used to configure Traffic Control in the Linux kernel. Traffic Control consists of the following: SHAPING When traffic is shaped, its rate of transmission is under control. Shaping may be more than lowering the available bandwidth - it is also used to smooth out bur...

阅读更多