- 博客(12)
- 资源 (6)
- 收藏
- 关注
转载 使用 monitor command 监控 QEMU 运行状态
使用 monitor command 监控 QEMU 运行状态在虚拟化的研究领域,QEMU 有着举足轻重的地位。2007 年 2 月发布的 Linux 2.6.20 内核中,集成了 KVM 作为其虚拟化的具体实现。而 KVM 是基于 QEMU 并且利用 CPU 的辅助虚拟化特性而略加修改而成的。自此以后,QEMU 项目引起 Linux 开发人员的广泛关注。回页首进入 QEMU moni
2012-10-26 15:58:09 8480 1
转载 KVM GUEST PERFORMANCE TUNING GUIDE
KVM GUEST PERFORMANCE TUNING GUIDETable of Contents1 general tuning1.1 cpu1.2 memory1.3 I/O1.4 others1 general tuning 1.1 cpu disable ksm In the productio
2012-10-26 15:54:13 2557
原创 使用nat的默认网络,配置pxe服务
virsh # net-dumpxml default default de718aab-fd71-d359-08b8-ba846473bbb3 qemu-system-x86_64 -boot c -drive file=/var/lib/libvirt/im
2012-10-26 14:59:04 922
转载 QEMU Emulator User Documentation
QEMU Emulator User DocumentationTable of ContentsQEMU Emulator User Documentation1 Introduction1.1 Features2 Installation2.1 Linux2.2 Windows2.3 Mac OS X3 QEMU PC System emulator
2012-10-26 12:36:52 9205
转载 socat使用
socat是一個netcat(nc)的替代產品,可以稱得上nc++。socat的特點就是在兩個流之間建立一個雙向的 通道。socat的地址類型很 多,有ip, tcp, udp, ipv6, pipe,exec,system,open,proxy,openssl,等等。看一個例子:c:\>socat - tcp:192.168.1.18:80這個命令等同於 nc 192.168.1.18
2012-10-26 11:50:02 16438
转载 kvm trace performance events
This page describes how to count and trace performance events in the KVM kernel module.There are two tools, kvm_stat and kvm_trace, which were previously used for these tasks. Now this can be done u
2012-10-25 21:12:45 2199
原创 创建自己的rpm-md源
1. Go to the repository folder2. Generate the key (Inputs are shown in the red squares of the picture below)gpg -q –gen-key3. Try to open the a browser if it stops at (The blue square of t
2012-10-24 03:09:31 1775
转载 如何升级gcc版本
下面将整个过程更新的过程写下来,希望对有需要的人提供一些帮助。首先需要准备需要材料:gcc4.4.2版需要安装gmp4.2.0+和mpfr2.3.0+,到GMP的网站(http://gmplib.org/)上下载gmp-4.3.1.tar.gz 和mprf的网站(http://www.mpfr.org/)上下载mpfr-2.4.2.tar.gz分别解压缩tar zxvf gmp-4.3
2012-10-23 10:58:32 25594
转载 futex的使用
futex_t::wake 实际是一个计数器,防止在调用futex_wait函数前调用futex_wake而出现的死等现象,函数futex只在满足(*addr1 == val)时等待。futex_wait函数与futex_wake函数配合使用,前者等待后者唤醒。futex_lock函数与futex_unlock函数配合使用,前者加锁后者解锁。应该是对数据加锁,而不应该对代码
2012-10-22 08:32:09 14252
原创 关于ipv6的使用1
sles11sp2:~ # tracepath6 1080::8:800:200C:417A 1?: [LOCALHOST] pmtu 16436 1: 1080::8:800:200c:417a 0. 81ms reached Resume: pmtu 16436 hops 1 back
2012-10-10 11:32:23 5348
转载 dwarf调试信息格式入门
一个程序的完成过程一般是编码、编译、运行的过程,当然这是一个理想的过程,所有的开发几乎都不可能是一帆风顺的,总会有些意想不到的错误,这时便需要调试,良好的调试器应该每一个程序员的必备。那么调试器使用的调试信息是从哪里来的呢?答案简单的很,是从编译后的文件中来的(注意这里编译的时候要使用特定的编译选项,如VC使用debug模式,GCC使用”-g”)。在编译的时候,编译器会从源文件中收集大量的信息
2012-10-07 19:56:25 1512
转载 关于kprobe的几种使用
1:探测schedule()函数,在探测点执行前后分别输出当前正在运行的进程、所在的CPU以及preempt_count(),当卸载该模块时将输出该模块运行时间以及发生的调度次数/* kprobe-exam.c */#include #include #include #include #include #include static struct kp
2012-10-07 16:01:35 7463 2
ARM MMU详细图解.pdf
2009-07-03
elf文件格式分段详细分析
2009-03-18
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人