首页 | 资讯动态 | 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时代  会员收藏  游客收藏  【 】 
In May 2007 I ran some benchmarks of Dragonfly 1.8 to evaluateprogress of its SMP implementation, which was the original focus ofthe project when it launched in 2003 and is still widely believed tobe an area in which they had made concrete progress. This was part ofa larger cross-OS multiprocessor performance evaluation comparingimprovements in FreeBSD to Linux, NetBSD and other operating systems.
The 2007 results showed essentially no performance increase frommultiple processors on dragonfly 1.8, in contrast to the performanceof FreeBSD 7.0 which scaled to 8 CPUs on the benchmark.
Recently Dragonfly 1.12 was released, and the question was raised on the dragonfly-users mailing list of how well the OS performs after afurther year of development. I performed several benchmarks to studythis question.
In this round of testing I compared Dragonfly 1.12, FreeBSD 4.11 andFreeBSD 7.0, running on the same 8-core Xeon hardware. On Dragonflythe GENERIC kernel configuration was used except for enabling SMP andAPIC_IO (for the SMP tests), and removing I486_CPU. Under FreeBSD theGENERIC kernel was used except for enabling the SCHED_ULE scheduler on7.0, removing I486_CPU and enabling SMP when appropriate. The testapplications were compiled from ports/pkgsrc and the sameversions and configuration options used for each OS.
MySQLThis is a good general test of kernel performance and parallelism, aswell as performance of the thread library. MySQL performance(together with PostgreSQL performance) has been a driving force inFreeBSD, Linux and NetBSD SMP development over the past year:MySQL configuration is the same as in my previous test and is alsodocumented here
Here are the results:
Dragonfly 1.12 achieves peak SMP performance of only 15% better thanUP performance, and drops to about 50% below UP performance at higherloads. Enabling SMP has a 20% performance overhead on this benchmark.
UP mode is faster than 4.11 when using the libthread_xu library. Withlibc_r (not graphed) performance is identical to 4.11 in both UP andSMP mode, so the UP performance increase is most likely due to thethread library.
Note: I am using mysql 5.0.51 in the current tests, which hasdifferent performance characteristics than the older 5.0.37 testedlast year, so the current data cannot directly be compared to theprevious dragonfly 1.8 graphs to evaluate whether a small amount ofprogress was made since 1.8. However, there does not appear to be anysignificant performance improvement from dragonfly 1.8 to 1.12.
FreeBSD 7.0 scales to 8 CPUs on this benchmark. Peak performance is6.5 times higher than peak dragonfly performance, and 9.0 times higherthan FreeBSD 4.11 performance. UP performance is consistent with SMPperformance with a single thread. 7.0 UP is 45% faster than 4.11 UPand 10% faster than dragonfly UP.
Note that while these benchmarks are on a test system with 8 CPUcores, the results also provide information about performance onsystems with fewer than 8 cores, such as dual core systems. If thesystem does not show appreciable performance gain when 2 threads areactive and most CPUs are idle, it is unlikely to perform much betterwhen the system only has 2 CPUs. I could not test this directlybecause I don't know how to disable CPUs at boot time/run time indragonfly.
For example, this graph shows FreeBSD 7.0 running postgresql on thesame system with 1, 2, 4 or 8 CPU cores active, as well as comparingthe UP and SMP kernel running with 1 CPU active
The performance seen with 8 CPUs also scales down to 1, 2 and 4 CPUs.This also shows that there is negligible overhead from running theFreeBSD 7.0 SMP kernel on a UP system on this workload.
共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操作系统的历史及其发展状况
网摘收藏: