Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
swap on x86 with 4GB RAM?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
wazow
Apprentice
Apprentice


Joined: 08 Jan 2004
Posts: 182
Location: Rødovre, Denmark

PostPosted: Thu Nov 04, 2004 11:09 am    Post subject: swap on x86 with 4GB RAM? Reply with quote

I am going to install Gentoo on an x86 machine with 4GB RAM. Will the swap partition be used in such setup? (Is there any addressing space left to use it?)
Back to top
View user's profile Send private message
nunne
Apprentice
Apprentice


Joined: 27 May 2004
Posts: 165
Location: Sweden

PostPosted: Thu Nov 04, 2004 11:28 am    Post subject: Reply with quote

I don't think you will need any swap space.. it feels like swap-space is a thing of the past ;) but then again.. it all depends on what your going to use it for.... like compiling or creating really big artworks/3d etc might put you in the need for swap.. but I have almost never used my swap partition, and I only have 512mb of ram.
_________________
>>touch /dev/null
Back to top
View user's profile Send private message
ewan.paton
Veteran
Veteran


Joined: 29 Jul 2003
Posts: 1219
Location: glasgow, scotland

PostPosted: Thu Nov 04, 2004 2:01 pm    Post subject: Reply with quote

very doubtful, i have a gig and dont use swap but i would learn how to create a swap file in a directory for emergences, i cant rember at the moment also remeber to enable highmemory in the kernel

it probably only matters if you have a very big database
_________________
Giay tay nam | Giay nam cao cap | Giay luoi
Back to top
View user's profile Send private message
wazow
Apprentice
Apprentice


Joined: 08 Jan 2004
Posts: 182
Location: Rødovre, Denmark

PostPosted: Thu Nov 04, 2004 2:03 pm    Post subject: kernel guru wanted Reply with quote

I am not really wondering if I will need swap. This is a question of relatively little importance.

I am searching for someone who knows the kernel implementation well enough to say, that kernel can handle memory beyond 4GB (provided that the remaining part is swapped out).

If it happens so that kernel cannot handle swaps with 4GB RAM installed, then the first question (wether swap is needed) does not have to be answered at all...


All this on 32bit x86 obiously.

[EDIT]Though this is not really the topic of this thread I though would admit that this server will run processes which *will* exhaust 4GB for sure [/EDIT]
Back to top
View user's profile Send private message
ewan.paton
Veteran
Veteran


Joined: 29 Jul 2003
Posts: 1219
Location: glasgow, scotland

PostPosted: Thu Nov 04, 2004 3:37 pm    Post subject: Reply with quote

the high memory options are 4 and 12 gigs but there are systems out there running linux on terabytes of ram, i think theres a problem wit the x86 32 bit arcutecture addressing more than 800 odd megs for a single lowlevel process but i never realy understood it and its a physical hardware limitation nothing to do with linux

out of interest what are you doing, high end simulations or database stuff
_________________
Giay tay nam | Giay nam cao cap | Giay luoi
Back to top
View user's profile Send private message
wazow
Apprentice
Apprentice


Joined: 08 Jan 2004
Posts: 182
Location: Rødovre, Denmark

PostPosted: Sat Nov 06, 2004 9:10 pm    Post subject: Reply with quote

This will be model-checking and SAT solving. I guess model-checking could be classified as high-end simulation.
Back to top
View user's profile Send private message
Carnildo
Guru
Guru


Joined: 17 Jun 2004
Posts: 595

PostPosted: Sat Nov 06, 2004 9:35 pm    Post subject: Reply with quote

On an IA-32 x86 system, the CPU can handle up to 32GB of RAM, with a limit: no one process can use more than 4GB. So if you've got a 28GB swapfile, Linux should be able to give you 32GB of usable memory.

If you need a single process to access more than 4GB, you'll need an Itanium, Opteron, or other 64-bit system.
Back to top
View user's profile Send private message
mattst88
Developer
Developer


Joined: 28 Oct 2004
Posts: 423

PostPosted: Sun Nov 07, 2004 1:51 am    Post subject: Reply with quote

Straight out, yes the kernel will support 4G of RAM.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum