加载中
perf工作原理简析

perf是系统工程师必须掌握的一个性能分析工具。有关perf如何使用的资料网上一大把,但是很少有文章介绍perf是怎样工作的。本文想通过简单分析两个最基本的perf命令,即perf list和perf stat...

2018/06/04 12:21
3.8W
块层介绍 第二篇: request层

本文翻译自Neil Brown发表在LWN上的两篇介绍块层的文章。Neil是前MD RAID的maintainer,他通过这两篇文章,提纲契领地描绘了块层的主脉络。

2018/01/29 22:37
2K
块层介绍 第一篇: bio层

本文翻译自Neil Brown发表在LWN上的两篇介绍块层的文章。Neil是前MD RAID的maintainer,他通过这两篇文章,提纲契领地描绘了块层的主脉络。

2018/01/29 21:35
2.9K
解决go包管理相关问题

下载被墙的包 export GO111MODULE=on export GOPROXY=https://goproxy.io 轻松解决类似下面的问题: go get golang.org/x/sys: unrecognized import path "golang.org/x/sys" (https fetch:...

fio测试和分析

fio测试脚本 #!/bin/bash set -e ioengine="libaio" iodepth=128 direct=1 fsync=1 runtime=600 size="10G" mntdir="/mnt/fio-data/" mkdir -p /mnt/fio-data mount /dev/vdb /mnt/fio-data...

plantUML: intelli idea plantUML viewer plugin + plantUML doc

# IDE PlantUML integration: https://plugins.jetbrains.com/plugin/7017-plantuml-integration # doc https://plantuml.com/zh/sequence-diagram......

虚拟化资料目录

文章 virtio virtio 虚拟化系列之一:从 virtio 论文开始 设备直通 IOMMU introduction [coIOMMU: A Virtual IOMMU with Cooperative DMA Buffer Tracking for Efficient Memory Management ...

c函数返回指针地址截断

在改libvirt代码时,遇到一个奇怪的问题: 函数返回值是个指针,但是函数返回后,指针被截断了: 返回前:0x7f2c40056b20,返回后:0x40056b20。 原因是这个函数的原型申明时,把名字写错了,...

04/17 11:21
174
libxml2的简单使用

libxml2是处理xml的C库。网上很多加载,解析xml的参考,但是却没有这样的参考:从解析,修改某个node,再保存的完整过程。 代码 #include <stdio.h> #include <stdlib.h> #include <libxml/...

04/15 15:45
77
理解虚拟网络(资料收集)

概念 Linux 上的基础网络设备详解

01/21 10:20
336
umount all mountpoints under a directory

while read -r mountpoint; do umount $mountpoint done < <(awk '$2 ~ "^/mnt/" { print $2 }' /proc/mounts)......

2019/09/21 15:08
28
容器非常好的基础材料

container image Container Image Internals, Part 1: docker pull Container Image Internals, Part 2: docker build and push 镜像构建工具比较 runtime Container Runtimes Part 1: An In...

修复librpm on centos

Navigate to the Centos Mirror. Select your architecture (i386 for 32bit, x86_64 for 64bit) Click the Packages link Download the rpm-libs-4.8.0-55.el6.[arch].rpm package. cd to t...

2019/07/16 20:11
328
Install Edraw for macbook 10.14.1

sudo /usr/sbin/spctl --master-disable https://www.jianshu.com/p/d16060951236 https://xclient.info/a/74559ea2-7870-b992-ed53-52a9d988e382.html......

2019/07/14 15:39
201
How vt-x, qemu and kvm interact with each other?

A good artical about that: https://binarydebt.wordpress.com/2018/10/14/intel-virtualisation-how-vt-x-kvm-and-qemu-work-together/......

2019/06/25 20:25
104
qemu连接虚拟机的几种方法

ssh tcp端口转发 qemu命令行: -net user,hostfwd=tcp::5555-:22 连接vm: ssh -p 5555 root@localhost 通过串口 qemu命令行: -serial unix:/tmp/test.sock,server,nowait 链接vm: sudo nc -...

2019/06/11 16:36
1.3K
how to resize qcow2 image and its inside filesystem?

install sudo yum install libguestfs-tools qemu-img resize qcow2 $qemu-img resize linux.qcow2 50G $qemu-img info linux.qcow2 image: linux.qcow2 file format: qcow2 virtual size: 5...

What exactly do shadow page tables (for VMMs) do?

Shadow page tables are used by the hypervisor to keep track of the state in which the guest "thinks" its page tables should be. The guest can't be allowed access to the hardware...

How to list/dump dm thin pool metadata device?

See: How to create metadata-snap for thin tools using? I don't think LVM provides any support for metadata snapshots so you will need to drive this process through dmsetup. The ...

2019/04/04 16:44
155
How to enable coredump on centos 7.6

Don't know why coredump is disabled by default on centos7.6 as below: #cat /proc/sys/kernel/core_pattern core Enable as follows: #echo 'kernel.core_pattern=|/usr/lib/systemd/sys...

2019/04/03 20:54
552

没有更多内容

加载失败,请刷新页面

返回顶部
顶部