Page 1 of 1

Largest memory segment size

Posted: Thu 22 Sep 2011, 09:02
by 8-bit
Are the /proc/system/kernel/shmmax and shmall values hardwired into Puppy?
I think they are supposed to tell a program the largest memory segment available to them.

I changed the shmmax from 33554432 bytes to 128000000 bytes for use by avg for an antivirus update as per their instructions to get an update done.

But according to what I have read so far, I could change the value to half of my PCs memory.
In my case that would be 1561303040 bytes.
Would changing the values in shmmax and shmall cause any problems.
Before I made any changes, shmmax was 33554432 bytes.
I did not change shmall from it's value of 2097152 bytes.
EDIT:
After more reading, I know not to change shmall as it has to do with page size and availability.
So are there any knowledgeable puppy users that can tell me if changing those values is safe and how to calculate them?