自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(14)
  • 资源 (6)
  • 收藏
  • 关注

转载 performance tuning for linux

http://www.cyberciti.biz/faq/linux-tcp-tuning/ http://bradhedlund.com/2008/12/19/how-to-calculate-tcp-throughput-for-long-distance-links/ http://tools.ietf.org/html/rfc1323   high performance extens

2011-11-29 17:37:16 894

转载 KVM Autotest 配置文件

https://github.com/autotest/autotest/wiki/CartesianConfig

2011-11-25 11:33:38 881

原创 在linux上创建 iso 镜像文件

从光盘中复制 dd if=/dev/cdrom of=file.iso 将硬盘上的文件拷贝到iso中 mkisofs -o cdrom.iso directory

2011-11-24 22:18:57 3936

原创 autotest server使用

1 安装 2. 添加host 进入admin interface 添加一个host, 可以使用ip地址或者url 记得将server机器autotest的ssh key 拷贝到host的root用户下。 3. 命令行上执行测试 ../server/autoserv -m 9.3.190.254 -r results/sleep -c ../client/tes

2011-11-21 11:12:14 4597

转载 使用spinlock需要注意的事项

Concurrency IV -- Spinlock, may be used in code that can't sleep Pinciples for using spinlock 1. CANNOT sleep when holding a spinlock 2. disable preemption before holding a apinlock    this is don

2011-11-19 22:52:08 1251

原创 python 的 lambda用法

#!/usr/bin/python def f(x):     return x*2 res = f(3) print res # lambda arg1, arg2...: g = lambda x: x*2 res = g(4) print res

2011-11-18 14:53:41 858

原创 autotest client的使用

1。 下载autotest git clone git://github.com/autotest/autotest.git 2. 运行简单的例子 cd autotes/client bin/autotest --verbose tests/sleeptest/control 格式是 autotest control_file 3. 查看结果 html格式的

2011-11-18 07:01:14 3515 1

原创 autotest中 具体是在哪里调用 test case中的python文件的。

diff --git a/client/common_lib/test.py b/client/common_lib/test.py index 02f5dfb..e9ab456 100644 --- a/client/common_lib/test.py +++ b/client/common_lib/test.py @@ -629,6 +629,7 @@ def runtest(job

2011-11-16 12:12:18 1890

转载 ubunt上配置nfs

http://os.51cto.com/art/201001/176511.htm 安装软件包 apt-get install nfs-kernel-server 配置 /etc/exports /     *(rw,no_root_squash) 整个盘都做了nfs. 重启nfs服务 service nfs-kernel-server res

2011-11-10 16:32:09 553

原创 redhat中装 apache

yum install httpd 配置文件在  /etc/httpd/ocnf/httpd.conf web目录在 /var/www/html

2011-11-07 13:06:24 544

原创 使KVM autotest支持qemu 模拟

在默认的情况下 kvm autotest必须要kvm的支持。 否则会报错。 现在做下面的改动,可以让在没有kvm支持的情况下,也可以使用kvm autotest。 diff --git a/client/virt/kvm_vm.py b/client/virt/kvm_vm.py index ffa55c1..2f20ce7 100644 --- a/client/virt

2011-11-07 11:15:07 1288

原创 KVM Autotest client的使用

1. 安装 下载源代码 git clone git://github.com/autotest/autotest.git 安装其他的依赖 https://github.com/autotest/autotest/wiki/KVMAutotest-InstallPrerequesitePackagesClient 2. 快速配置 client/test/kvm/ge

2011-11-02 17:15:41 1383

原创 一些reference

autotest 运行已有的一个客户的image http://autotest.kernel.org/wiki/KVMAutotest/RunTestsExistingGuest 配置文件的格式 http://autotest.kernel.org/wiki/CartesianConfig 介绍 什么是autotest,怎么写简单的test case htt

2011-11-02 14:28:48 763

转载 python中用pdb 来调试

http://www.vpsee.com/2009/09/debug-python-programwith-pdb/ 1. 启动 pdb script_to_debug parameters 或者 script_to_debug -m pdb parameters 2. 显示代码 list 3. 执行下一行 next 4. 添加断点 break

2011-11-01 15:38:32 609

intel ia32 programming guide

intel ia32 programming guide. for the reference for others.

2013-07-18

debug.hacks

debug.hacks 深入调试的技术和工具

2013-06-06

slide on dma

描述了硬件层面dma controller的位置。 以及dma与系统其他部件交互的详细过程。

2012-07-18

DOS6.0 image

This is the floppy boot disk of MSDOS6.0

2008-11-27

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除