From: Matthew W. <wi...@de...> - 2001-11-17 02:32:42
|
On Sat, Nov 17, 2001 at 10:32:41AM +1100, Anton Blanchard wrote: > Since samba has to run on many platforms by default it has to sacrifice > some performance. For SMP locking tdb uses fcntl locks which work on > most OS's but stress the locking subsystem quite heavily. > > The real solution to your problem is not to rearchitect the locking > system but to compile samba with the --spinlocks which replace the > fcntl locks with userspace spinlocks. And I believe (please correct me if I'm wrong) that this would not benefit from a per-inode spinlock rather than a global spinlock, since all the locking is on a single file. -- Revolutions do not require corporate support. |