首页 | 资讯动态 | linux基础 | 系统管理 | 网络管理 | 编程开发 | linux数据库 | 服务器技术 | linux相关 | linux认证 | 嵌入式 | 下载中心 | 专题 | linux招聘 | 镜像站
OKLinux中文技术站
·设为首页
·加入收藏
·联系我们
系统管理: 中文环境 系统管理 桌面应用 内核技术 | Linux基础: 基础入门 安装配置 常用命令 经验技巧 软件应用 | Linux数据库: Mysql Postgre Oracle DB2 Sybase other
网络管理: 网络安全 网络应用 Linux服务器 环境配置 黑客安全 | 编程开发: PHP CC++ Python Perl Shell 嵌入式开发 java jsp | PHP技术: PHP基础 PHP技巧 PHP应用 PHP文摘
Linux资讯 Linux招聘 Linux专题 Apache | Linux相关: 硬件相关 Linux解决方案 Linux认证 企业应用 其它Unix | 相关下载: 资料下载 参考手册 开发工具 服务器类 软路由 其它
 技术搜索:
会员中心 注册会员 高级搜索  
  → 当前位置:首页>资讯动态>正文

FreeBSD 7.0 和其他BSD系统的性能比较

http://www.oklinux.cn  2008-03-18  来源:  Linux时代  会员收藏  游客收藏  【 】 

Filesystem I/OCurrently the major focus of the dragonfly project is the developmentof a new filesystem, so it's interesting to see how well the dragonflyfilesystem layer performs. I created a 500MB memory filesystem (MFS)and used sysbench to perform multi-threaded random write I/O. Itseems that MFS cannot create file systems larger than 500MB, which wasa limiting factor on dragonfly and 4.11.
Dragonfly 1.12 UP performance is about 30% lower than FreeBSD 4.11 UPperformance. Enabling SMP does not impose an overhead on this test,but there is no performance benefit seen from multiple threads, andinstead performance drops as low as FreeBSD 4.11 SMP performance athigh loads.
FreeBSD 7.0 does not support the MFS file system; the nearestalternative is the tmpfs filesystem which was used for this test.
The sysbench file I/O benchmark apparently has a race condition thatcause it to abort under high I/O load (enabling debugging shows thatsysbench is sometimes generating I/O requests that are out of range ofthe specified test parameters such as file size and number of files,so this appears to be a sysbench bug). This was only a factor on 7.0but the benchmarks were averaged over 5 trials to reduce error.
FreeBSD 7 scales to 3 simultaneous writers and peak SMP performance isa factor of 4 times higher than dragonfly peak performance and 2.6times higher than freebsd 4 performance. FreeBSD 7 peak performancemay be limited by memory bandwidth rather than kernel scalinglimitations, although those come into play at higher loads.
FreeBSD 7.0 has a 20% overhead from SMP on this test compared to UP,which may be because the lockmgr primitive has not yet been optimizedfor SMP mode (this work is in progress). However, SMP performanceexceeds UP with a second writer, and SMP remains 17% faster than UP athigh loads.
UP performance on FreeBSD 7 is 2.6 times higher than dragonfly UPperformance and 1.8 times higher than freebsd 4 UP performance. It isunknown how much of this difference is due to the different design ofthe tmpfs filesystem.
NetworkingNetworking is the major subsystem that has received SMP developmentwork in dragonfly, although it was never completed and still does notallow concurrency in network processing (FreeBSD has a parallelizednetwork stack, and further performance work is ongoing in FreeBSD8.0).
I did not directly test network performance as e.g. a DNS or webserver. I can do this if someone is interested.
NFS performance on this hardware was anomalously low in both 4.11 anddragonfly, averaging only about 300KB/sec on an intel gigabit ethernetNIC. This did not impact the other benchmarks because they were notperforming NFS I/O.
StabilityThe assertion is often made by dragonfly project supporters thatdragonfly has "much better" stability than FreeBSD. It is not clearby what metric this is being objectively evaluated (if at all). Adirect measurement of stability is desirable.
One measure of system stability is the ability to function correctlyunder extreme overload conditions. This tends to provoke raceconditions and other exceptions at a higher frequency than at thelight loads encountered on desktop systems.
To simulate system overload I ran the stress2 benchmark suite on the8-core xeon. This is a suite of test applications that impose massiveoverload on the system under various concurrent workloads. FreeBSD isable to run this test suite indefinitely without errors.
The first problem was encountered while trying to unpack the stress2archive to NFS:
# ls
stress2.tgz
# tar xvf stress2.tgz
tar: Error opening archive: Failed to open 'stress2.tgz': No such file or directory
# ls -l
ls: stress2.tgz: No such file or directory
total 0
This looks like it might be a bug with the dragonfly name cache.
After starting the stress suit, the system panicked in under 4minutes. Unfortunately I was unable to obtain details of the panicbecause the serial console was not working.
Obviously one panic does not demonstrate wide-ranging systeminstability, but it does point to a possible selection bias amongstthe project supporters, who may not be looking hard enough for thestability problems that exist.
SummaryAs with the dragonfly 1.8 kernel, the dragonfly 1.12 kernel does notscale to a second CPU on the benchmarks performed, and the limited SMPimplementation can cause a large performance loss at higher loads.There is sometimes a large performance overhead from enabling SMPcompared to UP, and performance was sometimes worse than that of 4.11.In all cases measured, FreeBSD 7.0 performs significantly better thanboth FreeBSD 4.11 and dragonfly 1.12 in both SMP and UPconfigurations.
共3页: 上一页 [1] 2 [3] 下一页

上一篇:开发版:Ulteo Applications System Beta 1发布   下一篇:SUSELinuxEnterprise11开发计划发布


收藏于收藏夹】 【评论】 【推荐】 【打印】 【关闭
相关文档
·开发版:Ulteo Applications System Beta 1发布
·SUSELinuxEnterprise11开发计划发布
·中科院李国杰:龙芯关系着上百条产业链
·在独立系统上开发UTM 开源竞争激烈
·Wine 1.0 发布时间最终确定
·Nokia明确要支持开源社区发展
·红旗2000探索中国开源企业商业化之路
·红帽宣布08年波士顿峰会中的关键演讲者
·Novell混源打造未来基础架构:代号Fossa
·AMD再推显卡编程文档促开源驱动发展
·华硕:2008年要卖200万台Linux PC
·发行版发布:MirOS BSD #10
·专访 Opera 公司联合创始人兼 CEO Jon S. von Tetzchn
·Novell起诉微软垄断市场获美最高法院支持
·红帽宣布支持开源ODF反对微软OOXML
·NorhTec将推低于300美元的Linux笔记本
发表评论
密码: 匿名评论
评论内容:

(不超过250字,需审核后才会公布,请自觉遵守互联网相关政策法规)
 
  最新文档
·Fedora 9中将继续移除非自由代码
·红帽宣布2008年波士顿红帽峰会的演讲者
·Ubuntu即将大举进入Linux服务器市场领
·RHEL推出新版本大幅提升虚拟化集群性能
·Linux:路在何方?
·胡伟武:龙芯5年内改变全球CPU格局 具
·Novell推出SUSE Linux Enterprise 11开
·企业市场:开源服务总线仍在继续发展
·BSD发行版:MirOS BSD #10发布
·Novell起诉微软垄断市场获美最高法院支
·专访 Opera 公司联合创始人兼 CEO Jon
·发行版发布:MirOS BSD #10
  阅读排行
·red hat的历史和当前开放源代码的发展
·Intel GMA 3000 Q965显卡的性能测试
·新桌面Linux标准问世 促进Linux普及
·Windows何处能敌?Linux桌面六大优势
· Sun设限ZFS Linux开发者犯难
·Debian GNU/Linux发行版介绍及中文应用
·绝不让Ubuntu独美!全新Fedora8多图秀
·Linux与Windows在十三方面进行大对决
·Linux与Windows系统在十三个方面的大对
·Linux市场一直没有超越Windows的五大原
·Fedora新闻周报(06.30)
·Linux工作数量猛增 招聘市场追赶Window
· 龙芯Ⅱ数字播放器的可行性
·红帽企业版Linux 5细致体验
·Linux操作系统的历史及其发展状况
网摘收藏: