• Subject: Is there a formula for calculating max entries on a dataqueue ?
  • From: watern@xxxxxxxxxxxxxx
  • Date: Tue, 28 Nov 2000 07:59:04 +0000





Dear all,

Is there a formula that an be used to calculate the maximum no of messages that
can be placed on a dataqueue ?

I thought it may be something like:

     MaxEntries = MaxQueueSize divided by (x + y + z)

where
  x=max entry length,
  y=some constant, if sender-id is *yes  (36?)
  z=key-length

Also, until recently I thought that the max size for a dataqueue was 16Mb, but
when doing two tests for the above I got one queue which went to just under 20mb
before it reached max capacity, and the other went to over 22mb.

Is there another different formula for calculating what the max size (in bytes,
not messages) that a queue will reach before it is at capacity ?

I guess it will be a multiple of either 4k or 8k, but why did my tests produce
different values before the queue max-ed out ?

One test was for entry length 100, the second for entry len 300.
Both were non-keyed, sender-id(*no)

thanks
Nigel.



+---
| This is the Midrange System Mailing List!
| To submit a new message, send your mail to MIDRANGE-L@midrange.com.
| To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com.
| To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: david@midrange.com
+---

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2019 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available here. If you have questions about this, please contact [javascript protected email address].