Re: What's max limit for MAXLOCKSPERFILE in registry?

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



1) just change the locks: if you run out of cache you will get an error,
if not, why worry?

2) look at help for DAO SetOption to find more on jet engine options

3) max cache is something like 13.5MB unless you set a specific
value, then it runs out at about 250 MB. If you have 1GB, that
still leaves 750 MB for locks, so I don't expect any locks you use will fill
up memory.

(david)



"PDIHAL" <PDIHAL@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:8CBC66C5-08F2-4283-B5C5-8C76E85B7269@xxxxxxxxxxxxxxxx
What's the Jet Cache memory limit on a PC with 1GB PC4000 memory? How does
one find this value on his/her machine?

"david@epsomdotcomdotau" wrote:

It is affected by RAM, I think it is a 32 bit integer value, on a modern
machine you will probably hit the Jet Cache memory limit before you hit
the
MAXLOCKSPERFILE memory limit.

(david)

"PDIHAL" <PDIHAL@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:27757BB7-3A0B-43A8-BC56-709EF071B840@xxxxxxxxxxxxxxxx
I keep getting error when trying to add a new autonumbered field to
files
with >50,000 records. Error messages suggests changing the
MAXLOCKSPERFILE
setting in registry. How much more than its default 9500 can I go? Is
it
affected by RAM?





.



Relevant Pages

  • Re: locking and cache coherence
    ... the problems that locks solve would occur even if there were no ... Even without a cache, both threads could do a read, then both threads ... out of order execution of instructions, ... Once one CPU reads ...
    (comp.programming.threads)
  • Re: spinaphore conceptual draft
    ... >>I suspect any attempt to use time stamps in locks is a bad ... >>CPU will always snoop cache accesses for all cache lines ... > The idea behind these locks is for bigger systems for ... and a lock such as this should be able to send several CPUs to ...
    (Linux-Kernel)
  • Re: fcntl(F GETLEASE) semantics??
    ... > can't place a read lease, but can place a write lease! ... that screws with the ability to cache data. ... and nobody else holds locks on the file. ...
    (Linux-Kernel)
  • Re: locking and cache coherence
    ... the problems that locks solve would occur even if there were no ... Even without a cache, both threads could do a read, then both threads ... could increment, then both threads could write the same value. ... Once one CPU reads ...
    (comp.programming.threads)
  • Re: Performance difference of various synchronization instructions?
    ... location must be brought into cache if it is cacheable. ... if the instruction has a LOCK prefix (or is an XCHG instruction), ... But the 99.9% case is that a LOCK prefix or XCHG instructions locks ... with anything going on on the bus. ...
    (comp.programming.threads)