discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] Memory allocation issue


From: Marcus Müller
Subject: Re: [Discuss-gnuradio] Memory allocation issue
Date: Tue, 21 Oct 2014 19:38:55 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.7.0

Hi Ron,

Yes, that seems to be linux kernel default:

$>cd /usr/src/kernels/3.14.19*
$>grep -REo '^[[:space:]]*#define[[:space:]]+SHMMAX[[:space:]]+0x[0-9a-f]+'
include/uapi/linux/shm.h:#define SHMMAX 0x2000000
$>echo $((0x2000000))
33554432

Cheers,
Marcus

PS: help, I'm being helped captive in a bad-regex factory. They feed us
mail addresses!

On 21.10.2014 18:36, Ron Economos wrote:
> Marcus and Jeff,
>
>     Works great. Thanks guys. BTW, the default on my Ubuntu 13.10 system
> was 33,554,432 bytes.
>
> best regards,
> Ron
>
> On 10/21/2014 09:19 AM, Marcus Müller wrote:
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA1
>>
>> Hi Ron,
>> yep, that can be, within kernel-caused and total memory boundaries be
>> configured to your heart's delight:
>>
>> echo $(( 1024 * 1024 * 1024 )) > /proc/sys/kernel/shmmax
>>
>> to set the maximum size shared mem buffer to 1GB.
>>
>> Greetings,
>> Marcus
>>
>
> _______________________________________________
> Discuss-gnuradio mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio




reply via email to

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