Linus Torvalds บอกว่า Linux 3.0 จะเร็วขึ้นแบบรู้สึกได้
Friday 24 June 2011 Leave a comment
เมื่อวาน Linus Torvalds ได้เขียนข้อความใน mailing list ว่า “Linux 3.0 จะเร็วขึ้นกว่า 2.6.39 (ซึ่งเป็นรุ่นก่อนหน้าหนึ่งรุ่น) อย่างที่สามารถสังเกตได้” อันเป็นผลมาจากการเปลี่ยนแปลงในหลายจุดและแก้ไขข้อบกพร่องที่เกี่ยวข้องกับประสิทธิภาพไปแล้ว
แต่ Linus ก็ยังบอกว่า ผล benchmark บางอันบนบางเครื่องอาจจะแสดงประสิทธิภาพไม่ได้เต็มที่
“On Wed, Jun 22, 2011 at 1:08 PM, Andi Kleen <> wrote:
> Linus Torvalds writes:
>and the conversion from spinlocks to mutexes for the anon_vma locking ended up causing a scalability issue that required fixing.
>
> FWIW it’s still ~16% slower. Does that count as fixed?“Well, so far I haven’t really seen any suggestions on how to improve it much further.
“3.0 will still be noticeably faster than 2.6.39 due to the other changes made (ie the read-ahead), so yes, the regression itself is fixed.
“But performance on that particular benchmark with that particular machine is clearly not optimal, in that there are known setups that would be faster still.
“Of course, the reason for the mutex conversion was _other_ loads, where the spinlocks had bad behavior. So it’s a balancing act. And I suspect we’ve reached a reasonable point in that balancing, yes.
Linus
ที่มา www.linuxtoday.com/news_story.php3?ltsn=2011-06-24-005-41-OS-LF-KN





ใครมาพูดอะไรไว้บ้าง?