LinuxQuestions.org
Visit Jeremy's Blog.
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 01-16-2010, 08:35 AM   #16
damgar
Senior Member
 
Registered: Sep 2009
Location: dallas, tx
Distribution: Slackware - current multilib/gsb Arch
Posts: 1,949
Blog Entries: 8

Rep: Reputation: 203Reputation: 203Reputation: 203

There is one point made above that I think is worth repeating: Disks have gotten large and cheap, any machine with 8GB of memory is likely to have at minimum 500GB of disk space. In that light, a 1-8GB partition for swap is more than manageable just to keep things safe. It's entirely plausible that aside form suspend, there will come a day when SOMETHING will want that much memory.
 
Old 01-16-2010, 04:10 PM   #17
Quakeboy02
Senior Member
 
Registered: Nov 2006
Distribution: Debian Linux 11 (Bullseye)
Posts: 3,407

Rep: Reputation: 141Reputation: 141
Quote:
Originally Posted by damgar View Post
It's entirely plausible that aside form suspend, there will come a day when SOMETHING will want that much memory.
And it'll probably be a memory leak.
 
Old 01-17-2010, 07:42 AM   #18
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
Applications have always responded to increased memory and disk storage. Remember when most screens were 1024x768 and videos a fraction of that size? Applications were installed from floppies. Remember the quote "640K ought to be enought for everybody"?
 
Old 01-17-2010, 07:43 AM   #19
lupusarcanus
Senior Member
 
Registered: Mar 2009
Location: USA
Distribution: Arch
Posts: 1,022
Blog Entries: 19

Rep: Reputation: 146Reputation: 146
Quote:
Originally Posted by jschiwal View Post
Applications have always responded to increased memory and disk storage. Remember when most screens were 1024x768 and videos a fraction of that size? Applications were installed from floppies. Remember the quote "640K ought to be enought for everybody"?
Yup. Although, 8 GB RAM will suffice for at least the forseeable future.
 
Old 01-17-2010, 10:04 AM   #20
Smartpatrol
Member
 
Registered: Sep 2009
Posts: 196

Rep: Reputation: 38
...

Last edited by Smartpatrol; 03-11-2010 at 10:01 PM.
 
Old 01-17-2010, 11:01 AM   #21
Quakeboy02
Senior Member
 
Registered: Nov 2006
Distribution: Debian Linux 11 (Bullseye)
Posts: 3,407

Rep: Reputation: 141Reputation: 141
Quote:
Originally Posted by Smartpatrol View Post
like jschiwal says there are plenty of sources on the internet to explain why swap is a good thing. Just don't want you to get into an IT shop thinking you can build systems without page space.
OK, if you won't tell us what they are, will you point to one of these many sources?
 
Old 01-17-2010, 11:11 AM   #22
Quakeboy02
Senior Member
 
Registered: Nov 2006
Distribution: Debian Linux 11 (Bullseye)
Posts: 3,407

Rep: Reputation: 141Reputation: 141
Quote:
Originally Posted by jschiwal View Post
Applications have always responded to increased memory and disk storage. Remember when most screens were 1024x768 and videos a fraction of that size? Applications were installed from floppies. Remember the quote "640K ought to be enought for everybody"?
I don't disagree with this at all. What I disagree with is that presumption that just because you have more memory, you need more swap space.

RAM has become so cheap that manufacturers are throwing 8GB at personal machines. It will be a rare user who sees even a large fraction of that 8GB in use, no matter how sloppy the programming gets. There just aren't that many tasks that need that kind of memory footprint. The ones that are are essentially batch mode processes that spend a long time computing a large data set. How many home users are there that have such a task to do?

I do appreciate the comments from those who are more geared toward a commercial/server environment. However it was my understanding that the OP is a home user.
 
Old 01-18-2010, 07:22 PM   #23
Smartpatrol
Member
 
Registered: Sep 2009
Posts: 196

Rep: Reputation: 38
...

Last edited by Smartpatrol; 03-11-2010 at 10:01 PM.
 
0 members found this post helpful.
Old 01-18-2010, 07:36 PM   #24
Quakeboy02
Senior Member
 
Registered: Nov 2006
Distribution: Debian Linux 11 (Bullseye)
Posts: 3,407

Rep: Reputation: 141Reputation: 141
Apparently not.
 
Old 01-19-2010, 07:18 AM   #25
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
This article is pretty good. http://www.linux.com/news/software/a...nux-swap-space

I already mentioned this but they put it better:

Second, a significant number of the pages used by an application during its startup phase may only be used for initialization and then never used again. The system can swap out those pages and free the memory for other applications or even for the disk cache.

I think that it can be argued that a workstation with more memory will have run more applications, many of which you won't go back to for a long time. Letting the memory for those applications swap out will leave more real memory for the apps you are currently using.

My rule of thumb today is to have a bit more swap than physical memory to allow suspending to work.
 
Old 01-19-2010, 07:23 AM   #26
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301
Quote:
Originally Posted by Smartpatrol View Post
ok, now don't be silly. We know what swap is, but I also know that it is NOT mandatory. It is usually a good idea to have some swap, but by no means is it mandatory, in fact if you have lots of RAM and don't really do much with it, swap is a waste of space.
 
  


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
Divide a big file into small pieces, each has same number of lines Kunsheng Linux - Software 1 10-16-2009 04:08 PM
cannot tar a big size file shipon_97 Linux - Newbie 3 11-18-2007 10:26 PM
SWAP file size ashley75 Linux - General 9 06-01-2006 05:28 PM
How big to make swap file? Mandrake92 Linux - Newbie 11 05-26-2004 03:19 PM
Labels aim big guns at small file swappers Genesee General 21 06-29-2003 12:09 AM

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

All times are GMT -5. The time now is 10:14 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