top button
Flag Notify
    Connect to us
      Facebook Login
      Site Registration Why to Join

Facebook Login
Site Registration

Confused with 32/64 bit HW, OS and Binary, Listed few queries in description

+2 votes
71 views

I am confused with all 32/64 bit architecture for Hardware/OS/Binary, Can someone please help in clarifying this queries?

  1. Of'course 64 bit hardware is faster than 32 bit, still there are people who prefer 32 bit over 64 bit hardware, Why so?
  2. If I have 32 bit Hardware then On that can I run 64 bit OS? (and vice versa)
  3. If I have a 64 bit Hardware and 32 bit OS then what will be the speed of my OS, as per 32 bit or as per 64 bit? (and vice versa)
  4. If I have 32 bit OS then can I run binary of 64 bit on that? (and vice versa)
  5. Is it necessary to compile binary with 32/64 bit both or we can compile with any and use it in both?
  6. Is the speed of the process also depends on type of binary that I have? For example, If I have 64 bit hardware and 64 bit OS but I have a binary which is compiled with 32 bit compiler then what will be the speed difference?

P.S. I know its basic and silly queries but lets clear now before it gets too late. :)

posted Aug 3, 2018 by anonymous

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

1 Answer

0 votes

If you have a 32-bit computer, you have no choice but to install a 32-bit OS. On the opposite side you can run a 32bit OS on 64 bit machine and if you are running a 32bit os on a 64 bit machine, you are under utilizing your processor.

When running 32bit binaries on 64bit machines (assuming the OS is running in 64bit mode), you have the following limitations:
The binary cannot take advantage of 64bit arithmetic instructions. This might reduce performance.
The binary cannot address more than 4GB of virtual memory.
On the reverse of it i.e. running the 64bit binary on the 32bit OS (64 bit hardware) is a OS dependent as it does require a little more work inside the kernel, because it must manage 64-bit pointers to user space together with 32-bit pointers to kernel space. (I doubt anyone must be supporting it)

Ideal situation is to have a 64bit binary for the 64bit OS running on 64bit Hardware so that OS need to work less.

32but compiler can not address more than 4GB of virtual memory. So running a 32but binary on a 64bit OS may have an impact on the performance on case to case basis.

Coming to first question - really I dont know....

answer Aug 23, 2018 by Salil Agrawal
Similar Questions
+1 vote

Lets say, I have a system with only 1 core and with Windows OS. Using VMWare I am installing Linux on that. Can I share this core for VM and Base OS?

I mean if we have number of core 4 then in vmware we can assign 2 core. So, 2 Core for Linux and 2 core for windows. But what if I have number of core only 1, or if i have number of core 4 and in vmware I assign 4 core to Linux.

Will it share the core time wise?

+2 votes

I want to install Python on a PC with the 64 bit version of Windows 7. I want Python to be able to use as much as possible of the RAM.

When I install the 64 bit version of Python I find that sys.maxint == 2**31 - 1 Whereas the Pythpon installed on my 64 bit linux system returns sys.maxint == 2**63 - 1.

It looks to me as though 32 and 64 bit versions of Python on 64 bit Windows are both really 32 bit Python, differing only in how they interact with Windows. So I wouldnt expect 64 bit Python running on 64 bit Windows to allow the large data struictures I could have with 64 bit Python running on 64 bit linux.

Is that true?I have spent a couple of hours searching for a definitive description of the difference between the 32 and 64 bit versions of Python for Windows and haven't found anything.

+2 votes

Lets assume that i have 2 OS installed, (Linux and Windows).

Both have different file system and both have different mechanism to read/write files.

Then how both OS Shares file information?

+5 votes

I want to know my laptop have 32 bit or 64 bit CPU not the OS type which can be seen from computer -> properties. Can it be possible to install window 7 64 bit on a 32 bit machine ?

Contact Us
+91 9880187415
sales@queryhome.net
support@queryhome.net
#280, 3rd floor, 5th Main
6th Sector, HSR Layout
Bangalore-560102
Karnataka INDIA.
QUERY HOME
...