* [Xenomai-help] Increasing UVMs heap size
@ 2006-10-31 7:12 Thomas Necker
2006-10-31 8:32 ` Philippe Gerum
0 siblings, 1 reply; 2+ messages in thread
From: Thomas Necker @ 2006-10-31 7:12 UTC (permalink / raw)
To: xenomai
I tried to increase the heap size for UVM. I did so by using
--enable-uvm-heapsz=512 when compiling the user space parts
and also setting CONFIG_XENO_OPT_SYS_HEAPSZ=512 in the
kernel configuration. Somehow it seems to work, at least I now can
create a lot more pSOS skin queues than before. However, if I do
a "cat /proc/xenomai/heap" I still get "size=131072:used=16:pagesz=512".
So, why can't I see the increased heap size here? Thanks.
Thomas
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [Xenomai-help] Increasing UVMs heap size
2006-10-31 7:12 [Xenomai-help] Increasing UVMs heap size Thomas Necker
@ 2006-10-31 8:32 ` Philippe Gerum
0 siblings, 0 replies; 2+ messages in thread
From: Philippe Gerum @ 2006-10-31 8:32 UTC (permalink / raw)
To: Thomas Necker; +Cc: xenomai
On Tue, 2006-10-31 at 08:12 +0100, Thomas Necker wrote:
> I tried to increase the heap size for UVM. I did so by using
> --enable-uvm-heapsz=512 when compiling the user space parts
> and also setting CONFIG_XENO_OPT_SYS_HEAPSZ=512 in the
> kernel configuration. Somehow it seems to work, at least I now can
> create a lot more pSOS skin queues than before. However, if I do
> a "cat /proc/xenomai/heap" I still get "size=131072:used=16:pagesz=512".
> So, why can't I see the increased heap size here? Thanks.
>
Because passing --enable-uvm-heapsz changes the heap size for the
local/slave nucleus embodied (as a library) into your application
process (i.e. the UVM). /proc/xenomai/heap reports this size for the
"master" nucleus running in kernel space, each slave nucleus end up
using to emulate context switches and other low-level ops. UVM
strangeness.
> Thomas
>
> _______________________________________________
> Xenomai-help mailing list
> Xenomai-help@domain.hid
> https://mail.gna.org/listinfo/xenomai-help
--
Philippe.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2006-10-31 8:32 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-10-31 7:12 [Xenomai-help] Increasing UVMs heap size Thomas Necker
2006-10-31 8:32 ` Philippe Gerum
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.