[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: lock scalability

From: John Peacock <jpeacock_at_rowman.com>
Date: 2005-03-14 21:27:31 CET

Ben Collins-Sussman wrote:
> cmpilato and I are guessing that on average, one of these will be 500
> bytes?

10k locks would be just shy of 5MB, so I think the memory overhead is
probably not the issue (unless they put some boilerplate in the *comment
slot for every lock). Then the other issue is CPU; are the lock-lists
just a simple array, or a hash, or a linked list or??? How badly is the
CPU usage going to scale?

I'm actually with Greg that if the system is slow for people who insist
on locking everything in sight, it's not such a bad thing ("operant
conditioning" is the phrase I'd use). I'm just trying to make sure we
can legitimately withstand the "Your software sucks" e-mails from people
who scale up locks to their entire repository.

John

-- 
John Peacock
Director of Information Research and Technology
Rowman & Littlefield Publishing Group
4501 Forbes Boulevard
Suite H
Lanham, MD  20706
301-459-3366 x.5010
fax 301-429-5748
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Mar 14 21:28:27 2005

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.