LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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 07-31-2011, 03:39 AM   #16
TigerLinux
Senior Member
 
Registered: Sep 2005
Location: Kuala Lumpur, Malaysia
Distribution: Ubuntu 11.04
Posts: 1,731

Rep: Reputation: 30

i already have ubuntu on my desktop.
i think i will try opensuse 64 bit
 
Old 07-31-2011, 04:22 AM   #17
cascade9
Senior Member
 
Registered: Mar 2011
Location: Brisneyland
Distribution: Debian, aptosid
Posts: 3,753

Rep: Reputation: 935Reputation: 935Reputation: 935Reputation: 935Reputation: 935Reputation: 935Reputation: 935Reputation: 935
Quote:
Originally Posted by TigerLinux View Post
so i do not need to bother about memory limitation.
32 bit ubuntu will handle it.
right?
It will handle it, but you will hit the limitation that johnsfine posted-

Quote:
Originally Posted by johnsfine View Post
any one process is still limited to 3GB virtual, but multiple processes plus the kernel can make good use of 6GB physical.
So yeah, 32bit can 'see' more than 4GB, but it cant really use it unles you are running multipule processes.
 
Old 07-31-2011, 09:01 AM   #18
johnsfine
LQ Guru
 
Registered: Dec 2007
Distribution: Centos
Posts: 5,286

Rep: Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197
Quote:
Originally Posted by cascade9 View Post
So yeah, 32bit can 'see' more than 4GB, but it cant really use it unles you are running multipule processes.
What application might you want to run that uses more than 3GB for one process?

For a typical home user, video editing is at most a "maybe" for making good use of more than 3GB in one process. Everything else you do likely uses much less than 3GB per process even in a 64 bit Linux.

There is no point worrying about the 3GB per process limit unless you actually want to run applications that make good use of more.

Running multiple fairly big processes is more common than running any super big processes. So over 4GB physical ram is often useful even when over 3GB per process is not useful.

Last edited by johnsfine; 07-31-2011 at 09:02 AM.
 
Old 07-31-2011, 09:16 AM   #19
TigerLinux
Senior Member
 
Registered: Sep 2005
Location: Kuala Lumpur, Malaysia
Distribution: Ubuntu 11.04
Posts: 1,731

Rep: Reputation: 30
I will try fedora 15 64 bit or opensuse 12.1 milstone 3
 
Old 07-31-2011, 09:24 AM   #20
cascade9
Senior Member
 
Registered: Mar 2011
Location: Brisneyland
Distribution: Debian, aptosid
Posts: 3,753

Rep: Reputation: 935Reputation: 935Reputation: 935Reputation: 935Reputation: 935Reputation: 935Reputation: 935Reputation: 935
Quote:
Originally Posted by johnsfine View Post
What application might you want to run that uses more than 3GB for one process?

For a typical home user, video editing is at most a "maybe" for making good use of more than 3GB in one process. Everything else you do likely uses much less than 3GB per process even in a 64 bit Linux.

There is no point worrying about the 3GB per process limit unless you actually want to run applications that make good use of more.

Running multiple fairly big processes is more common than running any super big processes. So over 4GB physical ram is often useful even when over 3GB per process is not useful.
Point. BTW, I've never used anything like 3GB+ perprocess, but I dont use linux for some of thing sI've seen very large amounts of RAM used with (things like 3DS max).

Aside from video editing, and nasties like #dS max, you really need to be using multipule big processes to make use of anything like 6GB. Unless I'm mistaken the OP is using a laptop, and I wouldnt suggest running mutlipule huge processes on a laptop. Besides the heat issue, laptops are quite a bit slower than desktops.

Might as well stop with 4GB unless you know you will be using huge processes, or running multipule big processes.
 
0 members found this post helpful.
Old 07-31-2011, 05:59 PM   #21
-demo-
LQ Newbie
 
Registered: Jul 2011
Location: $RANDOM
Posts: 4

Rep: Reputation: 0
Quote:
Originally Posted by jefro View Post
The question also asked the part about a swap file. I think the swap file is handled differently. One could address say 3.2G and then have a 4 gig or more swap file. That swap file would not count toward the ram limit. Even though it is being used as ram.

Pretty sure on that but could be wrong. Simple to test.
You realize that without the 1/3 split option in the kernel, the kernel itself will only use 2gb of swap space on a 32bit system right? If you make swap any bigger without using the 1/3 split option its just a waste, even if the kernel knows you have 500GB of swap it will only use 2gb out of it.
 
Old 08-01-2011, 01:28 AM   #22
TigerLinux
Senior Member
 
Registered: Sep 2005
Location: Kuala Lumpur, Malaysia
Distribution: Ubuntu 11.04
Posts: 1,731

Rep: Reputation: 30
my swap is always 2GB,
if my RAM is big enough, i think the OS will not use swap at all.
 
Old 08-01-2011, 06:04 PM   #23
paulsm4
LQ Guru
 
Registered: Mar 2004
Distribution: SusE 8.2
Posts: 5,863
Blog Entries: 1

Rep: Reputation: Disabled
Hi, TigerLinux:
Quote:
if my RAM is big enough, i think the OS will not use swap at all.
Short answer: absolutely correct

Longer answer: The system *may* use swap for *other* things (for example, hibernation).

But the short answer remains: if you have enough RAM, you won't use any swap.

Quote:
One could address say 3.2G and then have a 4 gig or more swap file. That swap file would not count toward the ram limit. Even though it is being used as ram.
Nonsense. Your "address space" (e.g. 4GB for a 32-bit CPU, or 64 GB if using PAE) is *independent* of either the amount of RAM and/or the amount of swap you've got available.

Quote:
I will try fedora 15 64 bit or opensuse 12.1 milstone 3
Good choice - I agree

'Hope that helps .. PSM

Last edited by paulsm4; 08-01-2011 at 06:07 PM.
 
1 members found this post helpful.
Old 08-01-2011, 07:17 PM   #24
TigerLinux
Senior Member
 
Registered: Sep 2005
Location: Kuala Lumpur, Malaysia
Distribution: Ubuntu 11.04
Posts: 1,731

Rep: Reputation: 30
I think I will choose Fedora 15,
i hope it supports my nvidia GT525M graphics card and the intel core i5 integrated HD graphics too.
 
Old 08-01-2011, 08:24 PM   #25
sundialsvcs
LQ Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 10,671
Blog Entries: 4

Rep: Reputation: 3945Reputation: 3945Reputation: 3945Reputation: 3945Reputation: 3945Reputation: 3945Reputation: 3945Reputation: 3945Reputation: 3945Reputation: 3945Reputation: 3945
"Back in the day," (yes, I remember it well... so there...) the IBM/360 (ahem...) had a 24-bit address bus. (Having "16 megabytes of memory" was inconceivable in the day when that "memory" was almost certainly magnetic core...) The entire CPU architecture was built around that (what would become a...) limitation.

Several generations of that processor architecture have followed, each one expanding upon its predecessors in a not-always-quite compatible way.

The Intel processor family has patiently followed the same course: from the 8008 to the 8080 to the 8086 to the 80286/i286 to ... the 64-bit architectures of the present day.

In every case, the single most important barricade that "got busted down" was memory capacity: how much RAM the processor could address, if it had it. Also in each case, the processor-architecture change was accompanied by a fundamentally new version of the operating system(s) in question: a version that was built for the new processor, and which required it.

Linux is simply following that same familiar course. If you have a 64-bit capable CPU, you should be running a 64-bit capable Linux version on it. Only then can you access the full range of memory that the chip is capable of addressing. And, only then are you using that chip in its "native mode."

Last edited by sundialsvcs; 08-02-2011 at 06:25 AM.
 
Old 08-02-2011, 02:27 AM   #26
cascade9
Senior Member
 
Registered: Mar 2011
Location: Brisneyland
Distribution: Debian, aptosid
Posts: 3,753

Rep: Reputation: 935Reputation: 935Reputation: 935Reputation: 935Reputation: 935Reputation: 935Reputation: 935Reputation: 935
Quote:
Originally Posted by sundialsvcs View Post
The Intel processor family has patiently followed the same course: from the 8008 to the 8080 to the 8086 to the 80286/i286 to ... the 64-bit architectures of the present day.
Intel got dragged kicking and sceaming into x86-64. If AMD hadnt released that pesky x86-64 architecture, intels plans for itanium might actually have worked.

Quote:
Originally Posted by sundialsvcs View Post
If you have a 64-bit capable CPU, you should be running a 64-bit capable Linux version on it. Only then can you access the full range of memory that the chip is capable of addressing. And, only then are you using that chip in its "native mode."
+1, and not only so you can address memory. 64bit can have quite a preformance edge over 32bit.

Quote:
Originally Posted by TigerLinux View Post
I think I will choose Fedora 15,
i hope it supports my nvidia GT525M graphics card and the intel core i5 integrated HD graphics too.
That souinds like an 'optimus' setup. If its optimus, fedora will not support it 'out of the box'. If you are lucky, you might be able to use the GT525M GPU, but in most cases the best you can do is totally disable the nVidia GPU.
 
Old 08-02-2011, 10:48 AM   #27
TigerLinux
Senior Member
 
Registered: Sep 2005
Location: Kuala Lumpur, Malaysia
Distribution: Ubuntu 11.04
Posts: 1,731

Rep: Reputation: 30
Question

Quote:
That souinds like an 'optimus' setup. If its optimus, fedora will not support it 'out of the box'. If you are lucky, you might be able to use the GT525M GPU, but in most cases the best you can do is totally disable the nVidia GPU.
Can I disable intel GPU?
I wanna only the nvidia GPU to work.
 
Old 08-02-2011, 07:07 PM   #28
PClOStinspace
Member
 
Registered: Jun 2008
Location: Bracknell, UK
Distribution: Ubuntu, mostly!
Posts: 161

Rep: Reputation: 20
Try http://www.omgubuntu.co.uk/2011/05/b...o-linux-users/ & post the results (please please please!). I have an optimus laptop on order and I am desperate to know if this works well enough to make my purchase worth while before it's too late to cancel!!
 
Old 08-02-2011, 08:35 PM   #29
zhangjiaxiao
LQ Newbie
 
Registered: Aug 2011
Posts: 1

Rep: Reputation: Disabled
In my view,the differences between memory and swap space are obvious.

the cpu use the bus addressing the memory directly,and 32bit can address 4G theoretically ,but the detail amounts actually depends on the cpu and the os.
to swap space ,we can simply treat it as a subsidiary memory,and regard it as a buffer of harddisk.
when we don't have adequate memory,we can move parts of it bits into swap space fastly and move it back fastly when we need the bits.the swap space is just parts of disk,and cpu address it bits through memory,so it isn't included in the cpu addressing space.
the swap space is just a os mechanism ,the memory addressing is a cpu mechanism in general.
 
Old 08-03-2011, 02:46 AM   #30
cascade9
Senior Member
 
Registered: Mar 2011
Location: Brisneyland
Distribution: Debian, aptosid
Posts: 3,753

Rep: Reputation: 935Reputation: 935Reputation: 935Reputation: 935Reputation: 935Reputation: 935Reputation: 935Reputation: 935
Quote:
Originally Posted by TigerLinux View Post
Can I disable intel GPU?
I wanna only the nvidia GPU to work.
Chances are no, you wont be able to use the nVidia GPU at all. It depends on the model laptop you have.
 
  


Reply



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
Best way to pack a folder >8-12 GB ? (you certainly know > limit of 4GB) frenchn00b Linux - General 3 12-29-2008 06:20 PM
64-bit Linux virtual memory limit? wmnwmn Linux - General 1 02-01-2008 10:43 AM
4GB on 32-bit Debian? sycamorex Debian 6 07-03-2007 11:52 AM
split utility in pipes: backup to FAT32 (4GB limit) Samsara Linux - Software 3 01-26-2007 11:25 PM
4GB RAM: 64-bit Opteron Problems deviance99 Linux - Hardware 6 06-22-2004 08:24 PM

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

All times are GMT -5. The time now is 05:16 PM.

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