LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 02-01-2005, 04:29 AM   #16
whansard
Senior Member
 
Registered: Dec 2002
Location: Mosquitoville
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,304

Rep: Reputation: 65

long-swap-vs-noswap-threads++
 
Old 02-01-2005, 12:51 PM   #17
KimVette
Senior Member
 
Registered: Dec 2004
Location: Lee, NH
Distribution: OpenSUSE, CentOS, RHEL
Posts: 1,794

Rep: Reputation: 46
Quote:
Originally posted by wapcaplet
Editing very large graphics might be an exception, but anyone needing such large graphics is likely to have their workstations equipped accordingly. Even then, you'd need to be dealing with in excess of 6,000x5,000-pixel truecolor images to even break 100MB.
not true. If you're running The Gimp or another raster image editor, don't expect a 1:1 ratio for ram to bytes of an uncompressed image. You're not taking layers and undo buffers into account, nor are you taking masks, adjustment layers, and filter processing into account either.

Additionally, word processors can eat a lot of RAM - an amount seemingly disproportionate to file size. Try opening a 50-page document (e.g., software documentation with screenshots) and export that to PDF - you will be hitting swap.

Large amounts of RAM is not required only for typesetting and 3D rendering. For casual web browsing you'll be fine with 512MB and no swap, but for heavy multitasking, compiling software (KDE, OOo, the kernel), debugging software, running a db or web server, and other tasks (not related to graphics or 3D btw) you'll want swap, even if you think at first you won"t be hitting it.
 
Old 02-01-2005, 02:19 PM   #18
wapcaplet
LQ Guru
 
Registered: Feb 2003
Location: Colorado Springs, CO
Distribution: Gentoo
Posts: 2,018

Rep: Reputation: 48
Yes, I was oversimplifying the graphic example. My point was that anyone needing extremely large or complex (multi-layer/with masks) images is likely to be aware of the memory requirements, and have enough RAM and swap.

Note that I did recommend using swap, just because there's no good reason not to, at least in terms of "wasted" hard drive space.

But I also know that I do all of the things you mentioned on a daily basis. The most I've ever done at once is probably something like: 4-5 terminals, compiling/installing software, GIMP with a few images, browser with several tabs, and GVim. Not a major RAM requirement for some of those, but I also regularly do 3D modelling with moderately complex scenes, and often have GIMP with high-res images at the same time (and sometimes a browser window so I can surf while something renders). I have 512MB RAM and 512MB swap. I've almost never had more than marginal (a dozen MB) swap usage, and it rarely even happens that my RAM fills up (I monitor it).

The only time in recent memory (no pun intended) that I have thrashed and filled out the swap file was when I tried to use GIMP's font-rendering plugin to render an image with samples of all 600+ fonts I have installed. This, in retrospect, was a really dumb idea in the first place
 
Old 02-02-2005, 07:39 AM   #19
NomadABC
Member
 
Registered: Dec 2004
Posts: 189

Rep: Reputation: 33
I think this is still "on-thread".

I built a Linux box with Fedora3 and only 160Meg of memory. Really, just to see if I could live with it. Cutting a (very) long story short, I have. Anyway, I let the F3 install select the size of the swap file (seem to recall it being about RamX2). Anyway, I have since upped the memory to 352Meg. So, is it possible to increase the size of the swap file without doing a re-install? My Fedora bible gives no indication.
 
Old 02-02-2005, 01:21 PM   #20
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
You could try it using a live-Linux-distro that has parted,
or you can just add more swap via the swapFILE method
shown above - Linux can have several swap-devices/
files, not just one.


Cheers,
Tink
 
  


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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Can I install linux without a swap partition? jbeedham Linux - General 26 11-16-2010 02:58 AM
How to pick the SWAP partition after install of FC4 Peanutman Fedora 9 10-27-2005 07:25 AM
Is it okay to alter swap partition with fdisk after FC4 install? Dimension User Fedora 6 09-19-2005 06:21 PM
Activating swap partition early in install Septus Linux - Newbie 3 09-10-2003 10:54 PM
RH 7.2 install and swap partition hedstrom Linux - Software 2 12-31-2001 10:20 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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