随笔分类 -  linux

摘要:C++使用typedef 给复合类型定义别名时,与const结合会产生看似“令人困惑”的类型推定,例如 ``` typedef char* pstring; const pstring cstr=0; const pstring *ps; ``` cstr到底是什么类型? 如果直接把pstring 阅读全文
posted @ 2023-08-13 20:01 goto2091 阅读(303) 评论(0) 推荐(2) 编辑
摘要:layout: post title: apply filter map reduce in python subtitle: python数据处理 gh-repo: daattali/beautiful-jekyll gh-badge: [star, fork, follow] tags: [Py 阅读全文
posted @ 2022-10-10 20:55 goto2091 阅读(284) 评论(0) 推荐(0) 编辑
摘要:layout: post title: PublicKey,private key and CA Certificate subtitle: openssl and https (1) tags: [linux, network] PublicKey,private key and CA Certi 阅读全文
posted @ 2022-06-19 00:26 goto2091 阅读(148) 评论(0) 推荐(0) 编辑
摘要:layout: post title: How to install in-tree qat driver subtitle: qat gh-repo: daattali/beautiful-jekyll gh-badge: [star, fork, follow] tags: [qat, linu 阅读全文
posted @ 2022-05-25 22:51 goto2091 阅读(546) 评论(0) 推荐(0) 编辑
摘要:Socket—— Network IPC(1st) When I study the source code of wrk, I found that I need to learn about Socket. Socket is a very very important concept I re 阅读全文
posted @ 2022-05-20 11:58 goto2091 阅读(143) 评论(0) 推荐(0) 编辑
摘要:layout: post title: kvm设置网络桥接模式 subtitle: kvm设置 gh-repo: daattali/beautiful-jekyll gh-badge: [star, fork, follow] tags: [kvm, vm] comments: true kvm设置 阅读全文
posted @ 2022-05-09 21:13 goto2091 阅读(2284) 评论(0) 推荐(0) 编辑
摘要:layout:post title: 优化C/C代码的建议 tags:[C, Linux, Performan] 优化C/C代码性能的27条建议——<Tips for Optimizing C/C Code>译注 本文来自people.cs.clemson.edu的计算机图形学课程,编号405。关于 阅读全文
posted @ 2022-05-01 22:45 goto2091 阅读(3752) 评论(0) 推荐(0) 编辑
摘要:layout: post title: Shell脚本编程——快速删除doker images subtitle: version 1.0 tags: [linux, shell, automation] comments: true Shell脚本编程——快速删除doker images(v1) 阅读全文
posted @ 2022-04-25 23:39 goto2091 阅读(367) 评论(0) 推荐(0) 编辑
摘要:layout:post title: Linux下不同压缩格式文件的解压方式 tags:[Linux, 自动化运维, automation] Linux下的压缩文件的后缀名有*.tar, *.tar.gz, *.tgz, *.gz, *.Z, *.bz2。这代表这些文件被不同的压缩技术所压缩,因此解 阅读全文
posted @ 2022-04-09 11:40 goto2091 阅读(277) 评论(0) 推荐(0) 编辑
摘要:layout: post title: Linux批量替换文本 subtitle: 脚本运维 tags: [Linux, Performance, automation, 自动化运维] Linux下快速批量替换文本 有一批配置文件,名字以4xxxvf开头,以dev0,dev1,dev2结尾,形式上例 阅读全文
posted @ 2022-04-02 22:36 goto2091 阅读(675) 评论(0) 推荐(0) 编辑
摘要:测试QAT VF时,遇到ADF_UIO_PROXY报错 如果在host上测试QAT的PF,必须关闭sriov, 需要在grub中去掉iommu相关的参数。 如果测试QAT的VF,必须开启sriov, 并且在编译QAT的driver的时候,必须要加入sriov相关的参数: ./configure -- 阅读全文
posted @ 2022-04-02 17:34 goto2091 阅读(961) 评论(0) 推荐(0) 编辑
摘要:文本将介绍DPDK与Pktgen的安装。 安装包下载 DPDK与DPDK-Pktgen下载: # git clone https://dpdk.org/git/dpdk # git clone http://dpdk.org/git/apps/pktgen-dpdk 安装DPDK 首先安装DPDK的 阅读全文
posted @ 2022-02-26 17:37 goto2091 阅读(3535) 评论(0) 推荐(0) 编辑
摘要:什么是idle进程? linux操作系统的启动过程: BIOS加电自检,从MBR中启动引导程序,再由引导程序启动linux内核,知道内核启动shell,用户可以操作该系统。操作系统的pid0进程在创建init进程后,pid=0的进程调用cpu_idle()变成了idle进程。原始进程是在创建pid= 阅读全文
posted @ 2021-05-17 19:21 goto2091 阅读(214) 评论(0) 推荐(0) 编辑
摘要:此篇文档介绍了IOMMU相关的信息: https://blog.chaosjohn.com/Check-VT-D-or-IOMMU-under-Linux.html iommu和vt-d都是io半虚拟化的一种技术,两者很接近,只不过iommu是AMD的,vt-d是Intel的。 IO半虚拟化对比IO 阅读全文
posted @ 2021-05-16 13:56 goto2091 阅读(5142) 评论(0) 推荐(0) 编辑
摘要:Linux内存基础信息检查 linux系统中,关于memory的常用基本信息,有Total Memory size,和memory capacity,memory speed,以及NUMA是否支持。NUMA支持可以通过lscpu查看numa node是否大于1进行判断。memory size是指当前 阅读全文
posted @ 2021-05-14 22:06 goto2091 阅读(170) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示