discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Discuss-gnuradio] Running out of memory during BER simulations


From: Marcus Müller
Subject: Re: [Discuss-gnuradio] Running out of memory during BER simulations
Date: Tue, 25 Nov 2014 18:48:36 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Does increasing kernel.shmmni using sysctl to let's say 16k improve
the situation?

On 11/25/2014 06:37 PM, Marcus Müller wrote:
> Hi Felix,
> 
> 
> On 11/25/2014 06:15 PM, Felix W. wrote:
>> Between every run, I call tb.stop() followed by tb.wait(). 
>> Unfortunately, after a few runs (around 20), I get the following 
>> error message:
> 
>> gr::vmcircbuf_sysv_shm: shmget (2): No space left on device
> I have a suspicion. First of all, I know this sounds basic, but
> you're not using a 32bit GR on your 64 bit machine, are you? (that
> would explain running out of RAM faster, just because process
> memory is so very limited for 32bit processes)
> 
> then: vmcircbuf is one of the things I always was kind of hesitant
> to touch (or even try to understand in depth), just because it
> deals with a lot of POSIX/OS specifics that I'm not an expert in,
> but:
> 
> Maybe tb.stop()/wait doesn't actually successfully unmap the
> shared memory segments of the buffers; there's a global maximum of
> segments, and it 4096 by default (/proc/sys/kernel/shmmni).
> However, this shouldn't be the problem at hand: there's an error
> number for this condition. And it would be: ENOSPC. Great. The same
> thing as for "No space left on device"; Thank you, Posix.1...
> 
> Cheers, Marcus
> 
> _______________________________________________ Discuss-gnuradio
> mailing list address@hidden 
> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
> 
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQEcBAEBAgAGBQJUdMD0AAoJEAFxB7BbsDrL88sIAKE8Ic6WLuvIXcjVl9Rtiwrk
OMGx6iL07PpWDlZBJfU5Twy0O4T+VYSQiwp5DtyMAe60zUH1uBP3eUQ/e9fyFLsN
VV89J9MB4lGlhg8m73kjj8yV2RrM9TttccU9yXHyUiVTQGQ838GRE5QS/CULv3bv
A2hZXX+IVfZLPuxmbd1fuiVDHcX5fxrlPHgLcZRWtOGJkVuvkRYip7mwtHInaVFD
xO6bI8CuujYUAJPKvUbRe3QIyKkxzLi2SPe4Vzn52KqAagwVy1fb8BK109fQ97fU
EPDMedpv5sTbRcB9mhY8SSi3bXaY01C5bLQIT8mw61Tp4D2/AUVdXSJykEc/0HQ=
=o6F6
-----END PGP SIGNATURE-----



reply via email to

[Prev in Thread] Current Thread [Next in Thread]