Skip to contentSkip to conversation

Address space limits in IA32 linux

DISCUSSION Jesse Pollard 2 participants 2 messages May 15, 2002

lore
Share & tools
lore
#0 lore raw

"Ashok Raj" <[email protected]>:

Quoted 11 lines

Hello

what is the maximum addressible virtual address in a IA32 Linux system (4G?)

typically since Database requires a larger address space, does linux kernel has any config to limit this space for kernel, so that the user process has more address to play with?

thanks
ashok

Of course - use IA64, Sparc, or PPC.

IA32 is by definition limited to 4G. Just because the Kernel may, under extreem duress, access more by memory management shenanigans access more, user processes are ALWAYS limited to a 32 bit virtual address. Even this is more restricted, since shared libraries and other access limits it even more. Usually you can stretch it to 3G, but not over that.

search the archives - the details are available.

-------------------------------------------------------------------------
Jesse I Pollard, II
Email: [email protected]

Any opinions expressed are solely my own.

#1 lore raw
Quoted 5 lines · Jesse Pollard

IA32 is by definition limited to 4G. Just because the Kernel may, under extreem duress, access more by memory management shenanigans access more, user processes are ALWAYS limited to a 32 bit virtual address. Even this is more restricted, since shared libraries and other access limits it even more. Usually you can stretch it to 3G, but not over that.

Actually you can go to 3.5G now, using readily available patches. However, your unstated premise is correct, the limit using current kernel and gcc capabilities is <4G.

Quoted 2 lines

search the archives - the details are available.

Right, so is 3.5G, but I doubt that anyone with a problem not working in 3G is going to find solace in 3.5G.

Signature · 3 lines
bill davidsen <[email protected]>
  CTO, TMR Associates, Inc
Doing interesting things with little computers since 1979.