Re: locking performance and scalability (eye candy gnuplots inside!)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



BTree benchmark gnuplot.

There is a balanced btree in the lock-free literature - but this btree is something I threw together off the top of my head a little while ago just to get something tree-like out there; it's add-only, and unbalanced.

http://www.liblfds.org/liblfds710_BTree.png

This is a *preliminary* result. I've literally just got the gnuplot output working, and the benchmark is only a few days old - my concern is that the locking benchmarks may be underplaying their performance - I may have them performing four locks per iteration when they should only be performing two - but I need to think more about how the benchmark works, whether or not what they're doing now is fair; it's not obviously clear.

Either way I think it won't matter - you can see in the final chart just how poorly locking scales compared to non-locking - even if locking doubled in performance, they'd all still be half the speed of lock-free.

This of course is not THE btree, the balanced lock-free normal add-and-delete btree, but it's hopefully gives a good indication of what general performance can be expected.

Having said all that, a lock-free hash, a real one, ought to scale pretty much linearly, so it'll put the btree in the shade =-)
--
389 users mailing list
389-users@%(host_name)s
http://lists.fedoraproject.org/admin/lists/389-users@xxxxxxxxxxxxxxxxxxxxxxx




[Index of Archives]     [Fedora User Discussion]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora News]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora QA]     [Fedora Triage]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Yosemite Photos]     [Linux Apps]     [Maemo Users]     [Gnome Users]     [KDE Users]     [Fedora Tools]     [Fedora Art]     [Fedora Docs]     [Maemo Users]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Fedora ARM]

  Powered by Linux