Re: (rt_)printf and virtual memory

2021-09-13 Thread Mauro S. via Xenomai
Il 09/09/21 20:44, Jan Kiszka ha scritto: On 07.09.21 11:21, Mauro S. via Xenomai wrote: ..snip.. Starting from a number of tasks > 4, the VMEM got a jump and then increases very rapidly. Is it normal? Or I'm misusing the rt_printf? No, that's related to glibc's internal memory allocation

Re: (rt_)printf and virtual memory

2021-09-09 Thread Jan Kiszka via Xenomai
On 07.09.21 11:21, Mauro S. via Xenomai wrote: > Hi all, > > consider the simple code attached. > > I'm using Xenomai 3.1 on a x86_64 CPU, 2GB RAM. > > I compile and link the code using "xeno-config --skin=alchemy --cflags" > and "xeno-config --skin=alchemy --ldflags" > > * Scenario 1) >   #def

Re: (rt_)printf and virtual memory

2021-09-07 Thread Mauro S. via Xenomai
Il 07/09/21 11:21, Mauro S. via Xenomai ha scritto: Hi all, consider the simple code attached. I'm using Xenomai 3.1 on a x86_64 CPU, 2GB RAM. I compile and link the code using "xeno-config --skin=alchemy --cflags" and "xeno-config --skin=alchemy --ldflags" * Scenario 1)   #define printf r

(rt_)printf and virtual memory

2021-09-07 Thread Mauro S. via Xenomai
Hi all, consider the simple code attached. I'm using Xenomai 3.1 on a x86_64 CPU, 2GB RAM. I compile and link the code using "xeno-config --skin=alchemy --cflags" and "xeno-config --skin=alchemy --ldflags" * Scenario 1) #define printf rt_printf commented out (use printf for prints) Chan