| Oracle FAQ | Your Portal to the Oracle Knowledge Grid | |
Home -> Community -> Usenet -> comp.databases.theory -> Re: Lock-free databases
vc wrote:
> Joe Seigh wrote:
>
>>VC wrote: >> >>Lock-free techniques similar to the ones covered by their patents have >>be used in operating system kernels for decades and those operating systems >>weren't going around proclaiming they were lock-free.
>
>>In fact use of lock-free >>techniques like RCU for significant performance benefits doesn't qualify >>Linux as lock-free since it still has plenty of locks left over.
I never said their claims are false. I just expressed doubt since I have experience with lock-free algorithms. The burden of proof is on them as far as I'm concerned. If you want to believe their claims that's ok with me.
>
>>> >>>>Unless >>>>their bottlenecks are IPC related, I don't see how their lock-free >>>>patented techniques would help performance. >>> >>> >>>There is some evidence ( >>>http://www.cs.chalmers.se/~phs/TechnicalReports/SunT02_Noble.pdf ) that >>>operations on lock-free data structures outperform similar lock-based >>>implementations (without dragging IPC into the picture). >> >>Under certain conditions. It helps if you have contention. In non-contention >>cases, regular locks are as fast or faster than lock-free based solutions.
>>Having stuff lock-free doesn't automatically make things run faster.
Well in that article cited earlier
http://www.it-director.com/article.php?articleid=12912
they claim to use a lot of techniques to get their performance, not just
lock-free. They use in-memory, thread pooling, etc... That's a
lot of variables and they haven't quantified how much benefit
is gotten from each technique. They just compared their database
against a conventional database, not another vendor's in-memory database.
That's apples and oranges as far as I'm concerned and doesn't reallly tell
me anything about how effective their lock-free techniques are. So
when I ask how much benefit can be gotten from using lock-free techniques,
saying ANTs claims to be lock-free doesn't provide me with any useful
information.
When I test lock-free techniques, I test them against known lock based solutions and against other lock-free techniques. This isn't always done. It's easy to pick a worst case technique to compare your technique against and make it look good.
-- Joe Seigh When you get lemons, you make lemonade. When you get hardware, you make software.Received on Wed Nov 09 2005 - 10:22:41 CST
![]() |
![]() |