Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Hardware
User Name
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?


  Search this Thread
Old 02-24-2005, 05:36 AM   #1
Registered: Jul 2004
Posts: 256

Rep: Reputation: 30
will CPU affect memory usage

If two machines are exactly identical with only CPU differences. Will that affect the memory usage.

That is on faster CPU machine will the machine use exactly same amount of memory when running exact same application?
Old 02-24-2005, 06:22 AM   #2
Wim Sturkenboom
Senior Member
Registered: Jan 2005
Location: Roodepoort, South Africa
Distribution: Slackware 10.1/10.2/12, Ubuntu 12.04, Crunchbang Statler
Posts: 3,786

Rep: Reputation: 282Reputation: 282Reputation: 282
Yep, if only the speed differs. If the processor has more cache as well, it might be different.
Old 02-24-2005, 06:52 AM   #3
Senior Member
Registered: Oct 2004
Location: Athens, Greece
Distribution: Slackware, arch
Posts: 1,783

Rep: Reputation: 52
Originally posted by Wim Sturkenboom
If the processor has more cache as well, it might be different.
I'm not so sure about this.
Cache is something that cannot be controled or seen by the Operating System. The operating System has controll only on the main memory and the CPU registers. When a page is wanted by an instruction, the hardware will check if its in first Level cache. If not then the hardware will check if its in second Level cache. If yes, then it will copy the page in second level chache, if not then it will take it from RAM and copy it in L2 and then L1. But the OS is responsible for loading pages in RAM, and then in registers. If you have more cache, the cpu will run faster,since the time it needs to wait to load something from cache is smaller but I cannot see how this will affect the memory usage. Every page that is loaded in the cache is present in RAM. Cache contains a subset of what RAM contains. Bigger cache means less RAM look-ups but not different amount of memory.

Last edited by perfect_circle; 02-24-2005 at 06:56 AM.


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
getting realtime info on memory usage-cpu and harddrive usage steering Linux - Newbie 5 03-03-2005 09:43 PM
CPU and memory usage suguname Linux - Newbie 3 02-01-2005 02:45 PM
memory/cpu usage concern afrodocter Linux - Hardware 4 11-09-2004 09:25 PM
how to determine cpu usage, memory usage, I/O usage by a particular user logged on li rags2k Programming 4 08-21-2004 05:45 AM
Controlling CPU usage & memory usage Saravana babu Linux - Software 0 02-18-2004 06:55 AM > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 09:51 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration