|
Re: Forwarding large amounts of data
|
12/17/2009 9:01 PM
post44090
|
Re: Forwarding large amounts of data
Hi Oleh,
It definitely cannot be done with QNX 6.3.0. The memory manager used in the older kernel does not support memory pages
that are not backed by physical or device RAM.
With QNX 6.3.2 or newer, it might be technically possible; the back end used to mmap files might do the trick. You
could look in to writing a resource manager that supports mmap, then have a second process mmap MxN blocks from it.
Then, when that memory is operated on, the kernel will automagically call out to your resource manager to retrieve the
data.
Of course, whether all this effort actually saves you much remains to be seen - it's entirely possible that what will
happen is the kernel simply attempting to touch all of the memory before releasing anything to io-net. Plus you've got
the additional overhead of maintaining a resource manager and all its associated mechanics and the like; you may not end
up saving much memory at all.
-Will
|
|
|