Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Is it necessary to have two servers one for Database with 64 bit OS and another for apps with 32 bit OS ?
No. 64-bit RHEL or Centos can run 32 bit applications just fine (generally better than a 32 bit Linux can run 32 bit applications).
If you were severely short of ram or disk space, you wouldn't want to have both 32 and 64 bit versions of all the .so files in use at once. But if you were even moderately short on ram or disk space, I don't think you would want a 64 bit database.
Quote:
Originally Posted by vinaytp
for our Oracle applicatons to run we need RHEL 32 bit OS.
What is the basis for that statement?
In Debian based Linux, there seem to be rare cases where you need to go all the way to a fake root to get 32 bit software working in a 64 bit system. But you can get it working even in Debian. RHEL and Centos have less issues with 32 bit applications in a 64 bit OS.
No. 64-bit RHEL or Centos can run 32 bit applications just fine (generally better than a 32 bit Linux can run 32 bit applications).
Thanks johnsfine,
But the problem is Oracle Applications prerequisites document specifies, it can run only on 32 bit OS if the machine architecture is 64 bit..
Below is the Note specified in Prerequisite document...
Quote:
Note:
You can only install Oracle Applications on an x86-64 architecture server if the operating system is 32-bit Linux or Windows. If your operating system is 64-bit, contact your operating system vendor to obtain a 32-bit operating system before installing Oracle Applications.
In that case you either run 32 bit Oracle DB, or get another system..
It's pretty strange though. On RHEL/Centos (5.x), both sets of libs (32 & 64 bit) are installed on a 64 bit version, and usually everything (32 & 64 bit) apps run fine.
To John Fine: I'm curious, why do you say this?: " generally better than a 32 bit Linux can run 32 bit applications" - wouldn't the mode switch to 32-bit mode made every time there was a task switch to that program slow down the system?
To John Fine: I'm curious, why do you say this?: " generally better than a 32 bit Linux can run 32 bit applications" - wouldn't the mode switch to 32-bit mode made every time there was a task switch to that program slow down the system?
I have tested some 32 bit applications on both 32 bit and 64 bit Linux on the same hardware. There is a slight advantage to 64 bit Linux. I don't know enough internal details to know why. I don't know how the switch to kernel mode with/without the switch of address size compares. I don't know whether that is a tiny disadvantage to a 64 bit OS (as you might expect) that is balanced by some factor I know even less about. Subtle differences can be hard to understand or quantify.
I have tested some 32 bit applications on both 32 bit and 64 bit Windows XP. The difference is more significant. On systems with 2 GB to 3.X GB of ram, XP 32 gets very stupid about the way file caching works because of bad design combined with limited kernel virtual address space. XP 64 has the same "bad" design, but that design does no harm as long as kernel virtual address space is a significant multiple larger than physical memory. 32 bit applications that depend on the kernel to do file caching well run much better on XP64 than on XP32. (Obviously on systems with over 3.X GB of ram, XP 32 is license limited to not use the extra ram, so its file caching gets a LOT worse).
I don't know whether 32 bit Linux does a good job with file caching on systems with large ram. Doing so would be harder due to limited kernel virtual address space. But I don't know Linux internals well enough to know whether 32 bit Linux does large ram file caching well despite the difficulties, or whether file caching is better in Linux64 than in Linux32.
Also, 32 bit Linux with up to 896MB of ram keeps all physical ram mapped into the kernel, so it can directly work on I/O operations in support of processes other than the one whose virtual address space is currently mapped. But 32 bit Linux with over 896MB of ram must do extra mapping every time it needs to access buffers for any process that might not by currently mapped.
I'm pretty sure 64 bit Linux has simplified back to the design that 32 bit Linux could only use with under 896MB of ram. That simpler design would be practical in 64 bit Linux all the way up to around 100000GB of physical ram. So it may save a bunch of remapping operations and related TLB misses.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.