amuck-landowner

32 or 64bit system? Which one to use?

RavenSauce

New Member
I am goign to reinstall my vps and was wondering if it mattered which one I use and if there is any difference between them? I have a cpanel vps with 40gb of storage an 1gb of ram if it matters.
 

KuJoe

Well-Known Member
Verified Provider
There's no reason to go with 32bit these days unless you use software or hardware that is not compatible with 64bit architecture. Sure, there is a minor amount of RAM savings if you go with 32bit (64bit processes use more RAM, but it's not enough to make it worth using 32bit just for the savings).

My main reason for going with 64bit? It's a PITA to migrate over to 64bit later down the road if/when you exceed 4GB of RAM which I've run into a lot with cPanel. I'd rather just install a 64bit OS and upgrade the RAM as I go rather than install a 32bit OS, upgrade the RAM to 4GB, build a new VPS with a 64bit OS, then migrate the users/data over to the new VPS, then upgrade the RAM over 4GB.

If you are 100% sure you will never use more than 4GB of RAM then 32bit might be an option but just because you are 100% sure now doesn't mean you won't ever do it (I learned the hard way).
 
Last edited by a moderator:

HalfEatenPie

The Irrational One
Retired Staff
Anything above 1 GB RAM VPS I'd say you should go with 64-bit.  Below the 1GB RAM Threshold I'd say go with the 32-bit.  

However, as the future basically says it's going to be 64-bit no matter what, I'd recommend the 64-bit system.  

Like what @KuJoe said, if you're planning on growing and expanding the VPS or any other services, in the future migrating from 32-bit to 64-bit will be another factor you will have to consider.  If you just start with the 64-bit service then you'll be fine.
 

Shoaib_A

Member
You are currently using < 1 GB RAM so you should be fine with 32 bit versions of operating systems until you your requirements hit 4 GB+ but to be on safe side I will recommend you to go with 64 bit as it will make it easier for you to switch one your usage exceeds 4 GB+
 

DomainBop

Dormant VPSB Pathogen
Below the 1GB RAM Threshold I'd say go with the 32-bit.
256MB (and below if I had anything smaller) are the only VPS's that I still use 32-bit for... (I do have a couple of 10-yr old IBM Pentium 4 workstations with 1GB RAM and 1.5GB RAM that use 32-bit because they don't support 64-bit)

My main reason for going with 64bit? It's a PITA to migrate over to 64bit later down the road if/when you exceed 4GB of RAM
The other reason to go with 64-bit is some Linux distros (like Chakra Linux) and developers have already announced they will only be putting out 64-bit versions.  PC-BSD also dropped its 32-bit version. The number of projects going 64-bit only will only increase going forward.
 

SentinelTower

New Member
I know that a 64bit system can address more memory but does a system on 64bit run faster than one on 32bit? Does it depends on the type of software?

If we think about it, the system has to write/read twice the amount of data for each memory operation, isn't it slower ?
 
Last edited by a moderator:

KuJoe

Well-Known Member
Verified Provider
I know that a 64bit system can address more memory but does a system on 64bit run faster than one on 32bit? Does it depends on the type of software?

If we think about it, the system has to write/read twice the amount of data for each memory operation, isn't it slower ?
In benchmarks, 64bit has always been faster although we're talking about such a small margin it's doubtful anybody would notice except on a large scale in which case you're running 64bit anyways because of RAM usage.
 

lbft

Active Member
I know that a 64bit system can address more memory but does a system on 64bit run faster than one on 32bit? Does it depends on the type of software?

If we think about it, the system has to write/read twice the amount of data for each memory operation, isn't it slower ?
The answer is that it depends on the characteristics of the particular workload, but generally 64 bit will be slightly faster at the cost of higher memory consumption.

32 bit has the advantage of slightly lower memory consumption (e.g. smaller pointers) and potentially fewer cache misses because of that, while 64 bit has the advantage of more registers and being able to work with some bigger numbers more efficiently.

If you don't care enough to actually benchmark your application on both, then it isn't worth worrying about - use whatever makes your life easier.
 

TurnkeyInternet

Active Member
Verified Provider
64bit - if your app you want to run  doesn't work or run on 64bit, you probably shouldn't be running it for security reasons (it must be wildly out of date!)
 

icy

New Member
Simple first choice - 64bit architecture on any Linux OS. However, if you have a small virtual server (less than 768MB RAM) then I would select 32bit. You may actually save some MB's of RAM this way.

If you do exceed the 3GB usable RAM limit in a 32bit OS, you can install a PAE kernel which will allow you to use more than 4GB.
 

trueman1

New Member
Verified Provider
OpenVZ stop making 32 bit Templates,

i think it's because nobody need it anymore.
 

KuJoe

Well-Known Member
Verified Provider
OpenVZ stop making 32 bit Templates,


i think it's because nobody need it anymore.
No they didn't. Their 32 bit templates were just updated a few weeks ago.
 
Last edited by a moderator:

Husky

Verified Dog
Verified Provider
I just use x64 out of habit now. Stopped caring about the guidance on when to use x86 vs x64. It's kinda pointless.
 

lbft

Active Member
I just use x64 out of habit now. Stopped caring about the guidance on when to use x86 vs x64. It's kinda pointless.
Even though I wrote one of the posts talking about when whichever is appropriate, I have to agree. 64-bit is the standard - all the x86 family hardware that you could possibly even consider running today has support for x86-64, sensible modern 64-bit distros have the ability to run 32-bit binaries if you're stuck without source, and RHEL7 doesn't even come in a 32-bit flavour any more - so unless you have a very good reason (in which case you wouldn't have to ask), you should get used to using it.
 
Top
amuck-landowner