Largest memory segment size

For discussions about programming, programming questions/advice, and projects that don't really have anything to do with Puppy.
Post Reply
Message
Author
User avatar
8-bit
Posts: 3406
Joined: Wed 04 Apr 2007, 03:37
Location: Oregon

Largest memory segment size

#1 Post 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?

Post Reply