Performance

共 105 篇文章。

ZERO_COPY_SOCKET discouraged for now

• Kernel

It seems that we still have some race conditions that can lead to strange issues and we may want to discourage this for 6.0-RELEASE.

Alan Cox has committed some fixes for the issue, hope these can be merged back.

参与评论

Winsock ConnectEx function

• Kernel

Today jianghong has pointed out that ConnectEx found in Windows Socket API has combined the connection and sending of the first block of data together within one system call. I think this is desirable for us too, as this can reduce unnecessary context switches.

FreeBSD has accept_filter(9) mechanism that does similiar thing for accept(2).

参与评论

超级计算机争霸战zz

• Shared Chaos

(转载自SciScape)

日本的研究团队决定建造世界最快速的超级计算机,夺回失去的世界第一宝座。

在2004年的秋天,IBM的BlueGene/L以每秒钟140*10^12次运算击败了位于日本横滨的Earth Simulator成为世界上最快的超级计算机。现在日本决定投入七亿美金,预计在2011年时建造出可达到每秒10*10^15次运算的超级计算机。

阅读全文… ( 本文约 426 字,阅读大致需要 1 分钟 )

www.delphij.net 改用 lighttpd

• Development

易帜了!易帜了!

经过测试发现,lighttpd的性能要比Apache好。虽然还不是很熟悉,但是这一步迟早要迈出去的。我觉得一个技术人员的生命终结的标志就是开始毫无理由地拒绝尝试新事物。

阅读全文… ( 本文约 153 字,阅读大致需要 1 分钟 )

ULE+SMP+PREEMPTION fixed, finally!

• Kernel

David Xu’s two recent commits against -HEAD has finally fixed ULE on SMP, PREEMPTION and FULL_PREEMPTION case. Both his and my stress tests has proven that ULE is now rock solid again.

Now we will focus on solving other issues. Please be sure to test our next 6-STABLE snapshot and provide feedback, so we can make a great 6.0-RELEASE!

参与评论

AMD64 string function optimizations

• Development

So time comes that we should consider whether some of our string operations is not optimial and needs some operation. NetBSD seems to have done a lot of good work to make their MD layer better, and we should take these improvements if they are proven.

David O’Brien has pointed out that we should be careful on this, however, since some micro optimizations may hinder performance in a large scenario. With this concern in mind, I will redo some more benchmarks and request for -arch@’s idea before considering commiting the patchset. Currently, the NetBSD implementation of swab(2) is proven to be slower than the GCC generated code by about 25%. I will look into the assembly code generated to see whether I can help to solve this.

阅读全文… ( 本文约 160 字,阅读大致需要 1 分钟 )

ULE+PREEMPTION fixed on 7-CURRENT

• Kernel

Finally we got ULE fixed! After some observation about stability this would definately be MFC’ed to RELENG_[56].

UPDATE: This is proven incomplete. We are still under investigation.

UPDATE: A subsequent commit of David Xu has finally got it fixed.

参与评论