LowEndBox - Cheap VPS, Hosting and Dedicated Server Deals

32bit or 64bit for My Low End VPS, Take #2

Saw this discussion on WHT today when someone tries to confirm whether “32bit systems are better when it comes to memory management”, and when it comes to low end virtual servers, which of 32bit or 64bit operating system is preferred.

That’s something I have discussed over 2 years ago, but for all the new readers out there — go for 32bit OS for your next low end VPS. The “memory management” perspect is the same between 32bit and 64bit — it’s the same OS with the same virtual memory manager (well, not quite, as with 64bit there are a lot more tricks for OS to play with). But the main reason for going 32bit is, your applications are going to use far less memory due to a lot of data is only stored at 1/2 the space as 64bit. Modern scripting language VMs are full of pointers (I am talking about PHP, Python VMs etc) and when all those values are double in size, it can really add up.

I will only go 64bit for my low end VPS if

  • That’s the only OS image the providers offer. Let’s just call it a conspiracy to get you upgrade earlier.
  • 64bit testing. I have one small 64bit VPS around so I can do compilation + testing of some of my open sourced code under 64bit.
  • Application requirement. Probably not that relevant if you are just running an web app, but some other apps might require 64bit.

Or your MySQL database that needs more than 4GB for key buffers. But in those case you should not be reading LowEndBox anyway 🙂 These days I found 32bit is usually good enough for big boxes when you use PAE, as the performance penalty is really insignificant with today’s CPU/memory speed.

42 Comments

  1. Tejas Jadhav's avatar

    Helped a lot! Thanks!

    August 16, 2015 @ 1:00 am | Reply

Leave a Reply

Some notes on commenting on LowEndBox:

  • Do not use LowEndBox for support issues. Go to your hosting provider and issue a ticket there. Coming here saying "my VPS is down, what do I do?!" will only have your comments removed.
  • Akismet is used for spam detection. Some comments may be held temporarily for manual approval.
  • Use <pre>...</pre> to quote the output from your terminal/console, or consider using a pastebin service.

Your email address will not be published. Required fields are marked *