LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-30-2004, 05:46 PM   #1
true_atlantis
Member
 
Registered: Oct 2003
Distribution: fedora cor 5 x86_64
Posts: 639

Rep: Reputation: 30
memory question


how is memory allocated to a specific user? i was looking at the kde system guard, and it seemed that the user doesnt have as much to work with as the system... is there any way i can increase a users memory avalible to them? some process will be using like 90% of users memory, but will only be 1% of the systems... that doesnt make sence to me
 
Old 10-30-2004, 06:34 PM   #2
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,290

Rep: Reputation: 378Reputation: 378Reputation: 378Reputation: 378
Linux memory management is a lot different than that of other systems. Linux tries to grab as much free memory as it can for uses as internal buffers and cache. This memory can easily be reallocated to applications that need it. The only time you really have a problem is when there's not enough RAM and the OS has to swap pages to and from disk. A little swapping is OK, but heavy swapping causes a condition known as thrashing, which dramatically lowers performance.

Memory is allocated to a specific process based on how much memory the kernel thinks it will need, based on information in the executable file. Programs can also dynamically request more memory when they execute, in which case the kernel will try to honor the request, unless you have set the ulimit to limit memory usage. Note that the kernel can "overcommit" system resources and this will cause problems if every process tries to use all the resources it requests. If you're really interested in how this actually works, check the code in the mm directory of your kernel source.
 
Old 10-30-2004, 11:09 PM   #3
foo_bar_foo
Senior Member
 
Registered: Jun 2004
Posts: 2,553

Rep: Reputation: 53
when you look at kde system guard
user% and system%

refer to cpu usage not memory
user = userspace cpu usage system = kernel space cpu usage

so all you are saying is that the thing i am running is the thing using the cpu
duhhhhhhhh..........
 
  


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
memory question buttnutt Linux - Hardware 4 03-16-2005 02:05 PM
question about memory ? maxboost Linux - General 3 02-25-2005 03:58 PM
Memory question mmars Linux - General 3 09-04-2003 10:27 AM
Help!?! RH 8 Memory Mapping -High Memory-Virtural Memory issues.. Merlin53 Linux - Hardware 2 06-18-2003 04:48 PM
Memory question luser Linux - General 4 10-17-2002 08:18 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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