2

i've got macbook pro and wonder if i should use 64 or 32 bits ubuntu server?

and then i've got a vps not hosted by med. how do i know what version to choose?

how do you check how many bits your cpu i working with?

can i use 64 on 32 and vice versa?

3
  • This should be on superuser, as it's not a programming question, but your MBP probably has a Intel Core 2 Duo processor, which is 64 bits. You can install either the 64 or 32 bit version.
    – Justin
    Apr 7, 2010 at 17:15
  • are all new cpus 64 from Apple? how do i check? cause i want to be sure. and have to be sure for this VPS too.
    – ajsie
    Apr 7, 2010 at 17:17
  • my mistake. i've voted for this to close:)
    – ajsie
    Apr 7, 2010 at 17:22

5 Answers 5

3

If you have a new macbook or any other that has "Intel Core 2 Duo" processor, your macbook has 64 bits processor.(See "System Profiler" > Hardware > Processor Name)

You can install any 32 bits OS(also Ubuntu 64) on any 64 bits Macbook's processor(not shore about others).

You CAN'T install any 64 bits OS on any 32 bits processor.

1

If your mac is core2 Duo Based, you have a 64 bit processor. (to find out Apple Menu->About this mac-> Processor info) So, you could use a 64 bit Ubuntu.

You can't use a 64 bit OS on a 32 bit architecture. But the reverse would work. 32 Bit OS on a 64 bit architecture.

1
  • but how can u check this on a remote vps using just ssh? its running ubuntu but i have to know if its 64 or 32 bits cpu.
    – ajsie
    Apr 7, 2010 at 17:21
1

If you need to know the version of the macbook, type in command line, in Ubuntu: less /proc/cpuinfo

see more details here

1
  • ubuntu gave me: clflush size : 64 cache_alignment : 64 address sizes : 40 bits physical, 48 bits virtual. so is this 64 bits?
    – ajsie
    Apr 7, 2010 at 17:36
1

I understand that on a VPS, you're likely better off with a 32 bit OS as 64 bits have memory implications. Commonly, one will get a VPS with less memory to save money and hence you want a smaller memory foot print.

The problem is that this particular architecture (x86_64) uses more memory than plain old x86. Significantly more.

The other answers about your MacBook Pro and 64 bits are right. I have nothing to contribute to them.

The additional question I have is are you trying to replace Mac OS X or are you wanting to Run Ubuntu in a virtual environment? If this is the case, you needn't worry so much about 32 vs. 64 bits unless you are trying to do something specific.

If you need to pick one, I'd likely pick the 64 bit for a virtual environment but for such usages, I doubt it'd ultimately matter to me.

1

A good threshold for 32/64 is 2GB. Not because of any "memory visibility" issues, but because of the larger pointer size.

You can tell if a CPU supports X86-64/AMD64 by looking for the lm (Long Mode) flag in /proc/cpuinfo under Linux.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .