- 博客(15)
- 收藏
- 关注
原创 RDMA read with verb call
1,Include the necessary header files:#include <infiniband/verbs.h>2,Initialize the InfiniBand resources:struct ibv_context* context;struct ibv_pd* pd;struct ibv_mr* mr;struct ibv_qp* qp;// Open the InfiniBand device and create a contextcontext = ibv_op
2023-05-12 16:36:35
137
原创 proxmox centos 虚拟机根目录扩容
1,宿主机扩容磁盘容量2,主机执行lsblk 查看磁盘空间3,fdisk新建磁盘分区fdisk /dev/sda4,查看系统pvs,vgs,lvs5,创建pv,扩容vg,lv6,扩容文件系统a, xfs文件系统 xfs_growfs /b, resize2fs ext2/ext3/ext4 file system resizer resize2fs...
2022-04-15 11:09:59
1185
原创 apache2 更改根目录
Apache2更改根目录,必须更改两个文件,才能生效:1,修改/etc/apache2/apache2.conf,把文件里面的/var/www改成你的目标地址;2,修改/etc/apache2/sites-enabled/000-default.conf,把文件里面的/var/www改成你的目标地址;重启服务:systemctl restart apache2...
2022-04-10 11:53:55
1656
原创 centos 更新国内yum源
centos 71, 备份原有repo文件2,使用阿里yum源wget -O /etc/yum.repos.d/CentOS7-Aliyun.repo http://mirrors.aliyun.com/repo/Centos-7.repowget -O /etc/yum.repos.d/epel-7-Aliyun.repo http://mirrors.aliyun.com/repo/epel-7.repo3, 更新缓存yum clean allyum makecache#..
2022-04-09 14:23:28
3803
原创 FIO 图像化界面 GFIO的安装
1, 下载FIO的源文件方法一:github上下载https://github.com/axboe/fio方法二:https://brick.kernel.dk/snaps/ 下载2,下载安装gtk库:sudo yum install gtk2-devel glib2-devel3,下载fio压缩包,解压fio压缩文件4,./configure --enable-gfio5,make fio6,make gfio7,make install8,进入server模式:...
2022-04-06 10:37:03
1398
原创 SR-IOV、DMA、IOMMU
1,SR-IOV (single root io virtualization)SR-IOV is a specification that allows a pcie device to appear to be multiple separate PCIe devices. SR-IOV works by introducing the idea of physical functions(PFs) and virtual functions(VFs).Physical functions (PFs
2022-03-30 11:51:42
3974
原创 centos 8.2安装视频播放软件
1,配置epel源,rpmfusion源配置epel源: dnf install epel-release配置rpmfusion 源: dnf install rpmfusion-free-release-8.noarch.rpm2,安装mplayerdnf install mplayer3,安装smplayerdnf install smplayer4,安装vlcdnf install vlc...
2022-03-01 20:23:23
505
原创 k8s dashboard 安装与配置
1,kubectl apply -f https://raw.githubusercontent.com/kubernetes/dashboard/v2.3.0/aio/deploy/recommended.yaml2,dashboard安装指南GitHub - kubernetes/dashboard: General-purpose web UI for Kubernetes clustersGeneral-purpose web UI for Kubernetes clusters. Cont
2022-01-29 17:03:18
1988
原创 nvme硬盘性能测试方法
1,查看nvme盘[root@42 ~]# nvme listNode SN Model Namespace Usage Format FW Rev --------------------- -------------------- --------------------------------...
2021-12-23 17:33:40
3243
原创 centos 8.2 系统修改预留内存
1,dmesg查看系统内存使用情况2,查看系统启动项[root@localhost ntb_gdma]# cat /proc/cmdlineBOOT_IMAGE=(hd1,gpt2)/vmlinuz-4.18.0-193.el8.x86_64 root=/dev/mapper/cl-root ro crashkernel=auto resume=/dev/mapper/cl-swap rd.lvm.lv=cl/root rd.lvm.lv=cl/swap rhgb quiet3,修改系..
2021-12-14 16:25:16
1665
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人