Linux - SoftwareThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Distribution: openSuSE Tumbleweed-KDE, Mint 21, MX-21, Manjaro
Posts: 4,629
Rep:
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?
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).
Distribution: openSuSE Tumbleweed-KDE, Mint 21, MX-21, Manjaro
Posts: 4,629
Rep:
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
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,304
Rep:
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.
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).
Distribution: openSuSE Tumbleweed-KDE, Mint 21, MX-21, Manjaro
Posts: 4,629
Rep:
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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.