LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
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?

Notices

Reply
 
Search this Thread
Old 02-24-2005, 04:36 AM   #1
blackzone
Member
 
Registered: Jun 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, 05: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, 05:52 AM   #3
perfect_circle
Senior Member
 
Registered: Oct 2004
Location: Athens, Greece
Distribution: Slackware, arch
Posts: 1,783

Rep: Reputation: 52
Quote:
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 05:56 AM.
 
  


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
getting realtime info on memory usage-cpu and harddrive usage steering Linux - Newbie 5 03-03-2005 08:43 PM
CPU and memory usage suguname Linux - Newbie 3 02-01-2005 01:45 PM
memory/cpu usage concern afrodocter Linux - Hardware 4 11-09-2004 08: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 04:45 AM
Controlling CPU usage & memory usage Saravana babu Linux - Software 0 02-18-2004 05:55 AM


All times are GMT -5. The time now is 06:21 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration