Wednesday, February 23, 2011

用Apache ab模拟用户登录后投注测试

[cc lang="text"] ab -c 50 -n 3000 -C PHPSESSID=we21f3a362ea79f82076c9c79b8109 -p tmp.txt -T application/x-www-form-urlencoded http://localhost/jczq/projectgg/index[/cc]
tmp.txt格式
[cc lang="text"]codes=146|3/147|3/141|3/148|3/145|3/143|3&totalmoney=2&zhushu=1&beishu=1&playid=spf&pass_type=6_1[/cc]

Thursday, February 17, 2011

编译guile-2.0.0遇到问题的解决

Error:
[cc lang="text"]checking for BDW_GC... configure: error: Package requirements (bdw-gc) were
not met:

No package 'bdw-gc' found
[/cc]

Resovle:
[cc lang="text"]BDW_GC_CFLAGS=-L/usr/lib BDW_GC_LIBS=-lgc ./configure --prefix=/opt/packages/languages/guile[/cc]

Wednesday, February 9, 2011

升级Debian到6.0

重新编译了2.6.32.28内核,感觉udev和acpi改进了不少。对Thinkpad R400的支持还不错,只是自己手动配置了许多。