LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 12-07-2005, 05:05 AM   #1
fig
LQ Newbie
 
Registered: Apr 2003
Location: Dublin, Ireland
Distribution: Redhat 9.0
Posts: 19

Rep: Reputation: 0
shared memory and servers


I'm making a case for running linux on one of our servers.

The selling point to the boss will be the shared memory. Windows 2003 has a 4GB limit, of which 1GB is used by the kernel, I understand. (with /3GB switch in boot.ini)

with linux, I'm hoping that I can set the shared memory to much much more - the full memory which is 6GB - which would allow us to run a java application and oracle on the one box - with the promise of more physical memory if this works ok.

so, the things I need to check out are:

1. The distribution I'm planning is debian. can that be set so the shared memory is the physical memory in the machine?

2. shared disk space. The plan to sell this to the boss is to dual boot the server, windows and linux. If I have a shared disk space, which is about 100GB, what formating should be used so that both O/S can access it? I plan to run the applications off this shared partition, with linux and windows on their own seperate partitions.

thoughts appreciated, pointers to further info appreciated.

Thanks,
 
Old 12-07-2005, 08:28 AM   #2
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 271Reputation: 271Reputation: 271
1. Shouldn't be a problem. And AFAIK, the Linux kernel isn't going to take up a GB of memory. Linux also utilizes RAM and Memory better than Windows, way better that is. It doesn't release memory just cause it doesn't use whatever application or service any longer, it will cache until its either needed again or another program can use it instead, etc.

2. For this, you should just look into using something like vmware. If this is a production type server or development, you shouldn't ever need to dual boot to have different environments, setup your Linux install and then run a Windows virtual OS with vmware, it's rather cheap and will save the company time, money and resources, never having to reboot just to get to another OS... have them both readily available at all times..
 
Old 12-07-2005, 11:04 AM   #3
fig
LQ Newbie
 
Registered: Apr 2003
Location: Dublin, Ireland
Distribution: Redhat 9.0
Posts: 19

Original Poster
Rep: Reputation: 0
thx, in fact, thats what one of the other engineers here suggested!
 
Old 12-07-2005, 12:46 PM   #4
foo_bar_foo
Senior Member
 
Registered: Jun 2004
Posts: 2,553

Rep: Reputation: 53
first i have no idea how windows works but the ideas you present about RAM can be somewhat misleading.

32-bit architectures can reference only 4 GB of physical memory.
each running process has access to this virtual 4 GB and it is generally divided up into 1 GB for kernel and 3 GB for user space.
(In Linux it is possible to alter this to 2/2 or whatever)

The kernel virtual area (3 - 4 GB address space) maps to the first 1
GB of physical RAM. The 3 GB addressable RAM available to each process
is mapped to the available physical RAM.

Linux and i would imagine windows as well use the Page Table Extensions available in the processor to map the physical RAM above 1 GB into this scenario. It's a hardware thing and nothing can be done about it.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
is shared memory expandable in memory size? Thinking Programming 4 08-16-2005 09:57 AM
c + shared memory dilberim82 Programming 3 03-07-2005 07:49 PM
shared memory blackzone Programming 1 10-14-2004 11:52 AM
About Shared Memory...? aegis_shiva Programming 1 08-25-2004 05:05 AM
shared memory socket9001 Programming 4 02-06-2004 02:08 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 03:10 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration