FedoraThis forum is for the discussion of the Fedora Project.
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.
While checking out all the possibilities of the Gnome panels I've put the system monitor on my panel and I'm very surprised to see that after login it indicates a memory use of 90%, 40% of which is cache. I've got 504Mb RAM (according to the resource monitor, 512 according to the specs) and another 500+ Swap. Am I really using all that memory???
It appears not, because if I open the resource manager and go to the Resource Monitor tab it indicates I'm using about 140Mb RAM and some 270 swap.
So what exactly does the 90% indicated on my panel mean?
The Resource Monitor also indicates the device usage, which includes a /dev/shm type: tmpfs, size 252Mb used: 0%
It doesn't appear to be a partition, but what exactly is it?
In the Process listing tab I can choose to display only active processes, but it never displays any as active. However, the system monitor is running on the panel, I'm listening to music so both the sound server and Xmms are active and I'm writing this message. What does it take for a process to be listed as active?
This gets asked about once a week. Linux uses memory different than windoze does. It will use as much memory as it can to cache things it uses a lot. That way it doesn't have to wait on the hard drive to get data. I have 1GB in mine and it fills up pretty regular. It does this to make the system more efficient.
Remember, Linux started out as a server OS. That is why it is more stable, secure and runs as efficient as possible. Windoze, just runs, well, most of the time anyway.
If you notice that you are using more than about 30MBs of swap then you may need more memory. Other than that, don't worry about the memory usage. You have plenty for most Linux apps.
A lot of that depends on what applications you are using. If you are using something that is large and uses a lot of memory then it will use a lot more swap. You may want to search for memory cache and then put my name in the box on the right for user name. I, and others, have discussed this issue at length.
It appears that what you have is normal. Linux is different. It makes hardware do as much work as possible which makes the software faster and makes the user happier.
There are others. There is one that I read a long time ago that links to a site that explains it better. I didn't respond so I have no clue which one it was. It's in there with the other several hundred thousand threads.
Type in free and see what it reports. Another good one is to type in top and then hit the "m" key to sort the list by memory usage. That will tell you what is actually used like this:
I made that as long as I can. Yes, the uptime is correct. I have been up 85 days, and counting. You may notice that X is using a lot and Mozilla. If you notice yours doing the same, you can logout then log back in to correct the one for the GUI.. I do that on occasion to free up some memory. I have a slideshow on my desktop. I only do that every couple weeks or if I update KDE or xorg. I have the cache turned up on Mozilla since I am on dial-up. It is pretty large, about 300MBs.
Post what you get to those. I'll look at it and see what I see.
I'm on a dial-up as well, and I have a cahce of 90000kb, and find it to be small. Is that the cache the system monitor refers to? I'm not worried about the memory usage. The system responds great, and as long as it keeps responding it's fine with me. I'm curious to know a little more about how it all works though and I'll take a hard look at the links you posted.
Her's my top:
Code:
top - 22:39:14 up 12:04, 2 users, load average: 0.03, 0.08, 0.03
Tasks: 107 total, 2 running, 105 sleeping, 0 stopped, 0 zombie
Cpu(s): 2.7% us, 0.5% sy, 0.0% ni, 96.8% id, 0.0% wa, 0.0% hi, 0.0% si
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
2987 root 16 0 105m 21m 91m R 1.6 4.3 2:19.95 X
4380 jetro 15 0 35940 11m 19m S 0.8 2.4 0:01.30 gnome-terminal
4587 jetro 15 0 95896 26m 29m S 0.3 5.3 0:04.20 firefox-bin
4605 jetro 17 0 3352 960 1664 R 0.3 0.2 0:00.34 top
1 root 16 0 3412 564 1408 S 0.0 0.1 0:00.83 init
2 root 34 19 0 0 0 S 0.0 0.0 0:00.03 ksoftirqd/0
3 root 5 -10 0 0 0 S 0.0 0.0 0:00.04 events/0
4 root 6 -10 0 0 0 S 0.0 0.0 0:00.00 khelper
5 root 15 -10 0 0 0 S 0.0 0.0 0:00.00 kacpid
27 root 5 -10 0 0 0 S 0.0 0.0 0:00.00 kblockd/0
37 root 20 0 0 0 0 S 0.0 0.0 0:00.00 pdflush
38 root 15 0 0 0 0 S 0.0 0.0 0:00.06 pdflush
40 root 10 -10 0 0 0 S 0.0 0.0 0:00.00 aio/0
28 root 16 0 0 0 0 S 0.0 0.0 0:00.00 khubd
39 root 15 0 0 0 0 S 0.0 0.0 0:00.77 kswapd0
113 root 25 0 0 0 0 S 0.0 0.0 0:00.00 kseriod
199 root 6 -10 0 0 0 S 0.0 0.0 0:00.00 ata/0
201 root 21 0 0 0 0 S 0.0 0.0 0:00.00 scsi_eh_0
202 root 22 0 0 0 0 S 0.0 0.0 0:00.00 scsi_eh_1
Pity I rebooted just before reading your message. I'd been up for a week - never got past a day without troubles in window.
Everything I see looks normal. You have over 300MBs just in cache and in buffers. That is where the speed increase comes from. That is fine and looks normal. You are actually only using about 170MBs for the system. That's about right. I must admit I have a lot of stuff running on mine. I have 90 processes running as I type.
It may also be noted that some things are run purely in memory. Most of the stuff in /sys are in memory but are very small. You can test this by booting from a CD and mounting the partition and looking at what all disappears. All the temp and fan stuff and other sensor data is gone.
512MBs is a sweet spot for Linux with a GUI running. I had 512 in mine for a long time and I use KDE. It is a little faster with 1GB but not a whole lot. If you where running a server or doing some mean things with GIMP, same as photoshop, or something more may be needed. Most likely for what you are doing, you will be fine for quite some time.
I have seen people running very well with 64MBs of memory. I had 128MBs in my old 400MHz system. It has since died. No more booting.
It all appears to be mormal. As for the uptime. There is a system I saw on TV that a ISP uses. It was used for one of their connection points. The system people like you and me connect to the net with. It had been running for over 5 years with no reboot. I seriously doubt windoze could do that. According to the guy that ran it, the only time they messed with it was to add users or delete users and the occasional security fix. If you have your system configured properly it can run for ages. I run Gentoo on a compiled kernel. I have a CyberPower 1250 UPS to help with power problems, other than that, I just run Linux.
It's supper time. I wonder which critter I will eat this time. I have already had Mr Piggy and Ms cow.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.