On Thu, 10 Aug 2000, S.A. wrote:

> I  am using mbuff version 0.7.2 with RTL ver 2.2.
> I would like to know the effect to change the max allocate number
> (MBUFF_MAX_MMAPS).

Just uses more memory. This is the maximum number of places where you can
mmap single buffer. So, if you have more than 16 processes/threads where you
attach to the same mbuff, increase it.


> Is there an effect on real time behavior of the system ?
> By default, the define is 16. Changing  it to 1000 seems run well.

Uses (1000-16)*4 bytes more per buffer. Makes mmap/unmap operations slower.

> Why the limit of the count of allocation ?

Because I did not wat to implement the list - too much levels of indirection
is unhealthy.

BTW. It rather makes no sence to allocate many small mbuff's. Each takes at
least full page - 4096 B.

It makes sence to mmap given mbuff in many processes, but as many as 1000 ???

Best regards,
--
Tomek

-- [rtl] ---
To unsubscribe:
echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR
echo "unsubscribe rtl <Your_email>" | mail [EMAIL PROTECTED]
---
For more information on Real-Time Linux see:
http://www.rtlinux.org/rtlinux/

Reply via email to