LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
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 04-15-2003, 06:28 AM   #16
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: openSuSE 42.1_64+Tumbleweed-KDE, Mint 17.3
Posts: 3,949

Rep: Reputation: Disabled

Thanks, I'll try the commands (KDE might have a tool somewhere too).

What I meant is something like: is there a rule of thumb how much RAM a program needs, when it is idle / unused / in the background? Shouldn't the need be reduced to a torso of the program (plus data segment perhaps) due to dynamic linking?
 
Old 04-15-2003, 06:37 AM   #17
slakmagik
Senior Member
 
Registered: Feb 2003
Distribution: Slackware
Posts: 4,113

Rep: Reputation: Disabled
Yeah - KDE has ktop which is top and maybe some other stuff I don't recall.

I honestly don't know about your last question - I don't think that idle processes are really significant, so I'd guess you were right.
 
Old 04-15-2003, 07:11 AM   #18
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: openSuSE 42.1_64+Tumbleweed-KDE, Mint 17.3
Posts: 3,949

Rep: Reputation: Disabled
Quote:
Originally posted by digiot

The statement above is false.
The statement below is true.
Maybe.
 
Old 04-15-2003, 07:17 AM   #19
slakmagik
Senior Member
 
Registered: Feb 2003
Distribution: Slackware
Posts: 4,113

Rep: Reputation: Disabled
Wow - I just switched that when I went to change my email address. I figured there was no point in keeping the old sig any longer.

Always liked that - kind of the verbal equivalent of Escher's hands.
 
Old 04-15-2003, 07:35 AM   #20
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: openSuSE 42.1_64+Tumbleweed-KDE, Mint 17.3
Posts: 3,949

Rep: Reputation: Disabled
Look hard at my "quote".
Look then at my statement and think again.

Take a lesson from the truths of the written word.



P.S.: I meant the statements in the thread though, didn't catch your original meaning. That's one on me.

Last edited by JZL240I-U; 04-15-2003 at 07:37 AM.
 
Old 04-15-2003, 09:39 AM   #21
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
As for a "rule of thumb" there really isn't one easy number to go by in linux. If you've got 64MB you could easily have a 64MB swap and not really run into a lot of problems if you aren't running things such as KDE/GNOME or one of their apps. For people with little RAM/HD Space who are concerned with performance usually will look for "lighter" apps that don't bog down the system. It's all in personal preference of what you can tolerate as an allowable speed.

I personally run 640MB DDR Ram, no swap, 150GB HD, and I don't see any performance problems. I have an FTP server, P2P server, NeverWinter Nights, Browser, Apache Server, Gkrellm, IM Clients, Gimp, Mplayer/Mencoder all open at various times (the servers are always running) and have never had a problem.

Free/Top might report full usage of your RAM, however that's nothing to be concerned with. Watch the SWAP portion of those applications to determine the need. RAM will always be fully utilized by Linux in the best manner possible, it uses your RAM to speed up applications (just as an OS should).



HTH

Cool
 
Old 04-15-2003, 09:49 AM   #22
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: openSuSE 42.1_64+Tumbleweed-KDE, Mint 17.3
Posts: 3,949

Rep: Reputation: Disabled
Well, since I've got 640MB (SDRAM) too, but usually use far less applications than you do, I will simply test it with swap=off (? -> man swap for correct syntax ...).

With luck I just recycled 1 GB for better use. Thanks, guys
 
Old 04-15-2003, 10:08 AM   #23
whansard
Senior Member
 
Registered: Dec 2002
Location: Mosquitoville
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,185

Rep: Reputation: 52
the only thing i occasionally need swap for is
rebuilding my knoppix cdrom. For some reason
that thing compresses into ram, so i need a gig of
ram for that plus more for whatever apps i'm running.

i had 768 megs of ddr in this thing until last week, i
wanted to test how much fast ddr was in this machine
than sdram. this mb has 2 slots for either kind of ram.
i ran unixbench, and then changed out the 768 megs
of ddr for a gig of sdram. same score. great.

i'm currently using an 80 gig maxtor with an 8 gig cache.
i bought a 180 gig wd 2 weeks ago, but it makes a
a weird pulsing noise when it's writing that i can't stand.
it was also about 8%slower on unixbench, so i'm still
using the 80 gig. the 180 gig is right above 2 120 gig
drives i'm not using either. what a waste. using 1 drive
and the other 3 are backups.
 
Old 04-15-2003, 10:14 AM   #24
cuckoopint
Member
 
Registered: Feb 2003
Distribution: Debian
Posts: 797

Rep: Reputation: 30
Quote:
What I actually did, was increasing my swap to about 1 GB when I bought nice cheap RAM (640 MB), having only two 10 GB hard-disks. Therefore two questions:
In this case, you should have made smaller partitions, but on both drives. ie. 500 on one, 500 on the other. then if you correctly edit /etc/fstab they will work together - and will increase performace since they are using both HD's at once (esp. if they are on seperate channels).
 
Old 04-15-2003, 10:30 AM   #25
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: openSuSE 42.1_64+Tumbleweed-KDE, Mint 17.3
Posts: 3,949

Rep: Reputation: Disabled
Quote:
Originally posted by cuckoopint
In this case, you should have made smaller partitions, but on both drives. ie. 500 on one, 500 on the other. then if you correctly edit /etc/fstab they will work together - and will increase performace since they are using both HD's at once (esp. if they are on seperate channels).
Well, swap is on my non-system disk -- so as to separate between swap-data and programs / executables / data (and I do that the other way round with WinNT, too). But I am afraid, they are in a Master / Slave configuration. Well, when I've got the time, I'll change that -- CDROM and CDRecorder are on the same channel too -> no copying on the fly.

But I guess, I am not really using swap anymore, since I upgraded from 128 MB to 640 MB.

Anyhow, thanks for your help.
 
Old 04-15-2003, 02:18 PM   #26
Shinobi
Member
 
Registered: Mar 2003
Posts: 46

Rep: Reputation: 15
Angry

Quote:
Originally posted by digiot
I'm glad Mandrake went with no problems for you. Maybe you will need 512 and be happy you ignored us. And it certainly won't hurt unless you ever run out of disk space. But it makes me wonder what I posted for.
512 = Half a meg. GET OVER IT
 
Old 04-15-2003, 02:21 PM   #27
Shinobi
Member
 
Registered: Mar 2003
Posts: 46

Rep: Reputation: 15
Quote:
Originally posted by JZL240I-U
But I guess, I am not really using swap anymore, since I upgraded from 128 MB to 640 MB.

Anyhow, thanks for your help.

Some programs require a swap, no matter how much ram you have. Beats me if any newer programs are like that, though.


512 meg swap never hurt anybody. This is a stupid issue.
 
Old 04-15-2003, 04:31 PM   #28
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
Quote:
Originally posted by Shinobi
512 = Half a meg. GET OVER IT
Maybe, however I think they meant 512MB, so that's half a gig

As for apps requiring swap, nah. At least none I've ran across (I don't swap).

Cool
 
Old 04-16-2003, 07:31 AM   #29
slakmagik
Senior Member
 
Registered: Feb 2003
Distribution: Slackware
Posts: 4,113

Rep: Reputation: Disabled
Quote:
Originally posted by Shinobi
512 = Half a meg. GET OVER IT
Keep up - already done.

Utilizing RAM, swap, and storage space isn't a stupid issue, though, and we were having a civil discussion about that in general at that point.

And, yeah - gig.
 
Old 04-16-2003, 07:47 AM   #30
Artimus
Member
 
Registered: Feb 2003
Location: Wisconsin
Distribution: Slackware
Posts: 188

Rep: Reputation: 30
I rarely touch my 500MB swap partition...

(I have 192megs of ram)
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Linux swap / solaris not appearing as swap in Ubuntu? Erik_the_Red Linux - Newbie 1 07-30-2005 01:57 PM
Swap os2 Linux - General 1 03-18-2005 09:21 PM
How to unmount actual swap and mount a new(bigger) swap space? isaac Linux - Newbie 1 06-06-2004 02:23 AM
Difference between Swap Virtrual memory and Swap Parition Nappa Slackware 4 11-27-2003 08:58 PM
Swap punker22 Linux - Newbie 3 10-14-2003 01:27 AM


All times are GMT -5. The time now is 02:54 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration