摘要: GlusterFS文件系统集群和配置情况,见:GlusterFS实践6个Server 一、单客户端测试测试1:复制大约2.0G的文件至Glusterfs中(都是小文件,平均1M) 测试结果: glusterfs: 1.8M/s,6台服务器的吞吐为:3.6M/s测试2:从GlusterFS读取测试1的文件 测试结果: glusterfs: 10.8M/s 本地硬盘: 25.6M/s测试3: 复制一个1G的文件至GlusterFS 测试结果: glusterfs: 2.334M/s,因备份,吞吐近... 阅读全文
posted @ 2011-07-19 11:53 残夜 阅读(3902) 评论(0) 推荐(0) 编辑
摘要: # -*- utf-8 -*- import urlparse import datetime import os from multiprocessing import Process,Queue,Array,RLock """ 多进程分块读取文件 """ WORKERS = 4 BLOCKSIZE = 100000000 FILE_SIZE = 0 ... 阅读全文
posted @ 2011-07-19 09:55 残夜 阅读(402) 评论(0) 推荐(0) 编辑