Results 1 to 15 of 15

Thread: how does an OS manage RAM?

  1. #1
    Hello jackvdbuk's Avatar
    Join Date
    Apr 2006
    Location
    Stratford
    Posts
    2,513
    Thanks
    468
    Thanked
    112 times in 95 posts
    • jackvdbuk's system
      • Motherboard:
      • AbiT IP35-PRO
      • CPU:
      • Intel C2Q Q9550
      • Memory:
      • OCZ Nvidia SLi Edition 4GB (2x2gb) pc2-6400 DDR2
      • Storage:
      • lots of TB
      • Graphics card(s):
      • BFG 8800GTS 512MB
      • PSU:
      • Corsair HX620W
      • Case:
      • Corsair 800D
      • Operating System:
      • Windows 7 Premium x64
      • Monitor(s):
      • Dell 2407WFP
      • Internet:
      • Orange (about 6Mb)

    how does an OS manage RAM?

    its a question for my assignment (college level)

    im trying to get some info on this but its a bit confusing/no proper good research have i found.

    am i right in saying that an Operating system 'manages' the RAM by loading applications into the RAM and other WIndows Components aswell? but that dont really suit 'manage'

    any help would be great!

    EDIT: im havign a problem in word, when i highlight text, and press backspace, the text higlighted aint deleting..any ideas?? :S
    Last edited by jackvdbuk; 29-12-2006 at 06:54 PM.

  2. #2
    Treasure Hunter extraordinaire herulach's Avatar
    Join Date
    Apr 2005
    Location
    Bolton
    Posts
    5,618
    Thanks
    18
    Thanked
    172 times in 159 posts
    • herulach's system
      • Motherboard:
      • MSI Z97 MPower
      • CPU:
      • i7 4790K
      • Memory:
      • 8GB Vengeance LP
      • Storage:
      • 1TB WD Blue + 250GB 840 EVo
      • Graphics card(s):
      • 2* Palit GTX 970 Jetstream
      • PSU:
      • EVGA Supernova G2 850W
      • Case:
      • CM HAF Stacker 935, 2*360 Rad WC Loop w/EK blocks.
      • Operating System:
      • Windows 8.1
      • Monitor(s):
      • Crossover 290HD & LG L1980Q
      • Internet:
      • 120mb Virgin Media
    You cant have looked that hard. First link in google:
    http://www.memorymanagement.org/articles/begin.html

  3. #3
    Hello jackvdbuk's Avatar
    Join Date
    Apr 2006
    Location
    Stratford
    Posts
    2,513
    Thanks
    468
    Thanked
    112 times in 95 posts
    • jackvdbuk's system
      • Motherboard:
      • AbiT IP35-PRO
      • CPU:
      • Intel C2Q Q9550
      • Memory:
      • OCZ Nvidia SLi Edition 4GB (2x2gb) pc2-6400 DDR2
      • Storage:
      • lots of TB
      • Graphics card(s):
      • BFG 8800GTS 512MB
      • PSU:
      • Corsair HX620W
      • Case:
      • Corsair 800D
      • Operating System:
      • Windows 7 Premium x64
      • Monitor(s):
      • Dell 2407WFP
      • Internet:
      • Orange (about 6Mb)
    Quote Originally Posted by herulach View Post
    You cant have looked that hard. First link in google:
    http://www.memorymanagement.org/articles/begin.html
    lol cheeky, my searches was erm way off

    thx alot!


    what did you search for btw?

    • Diagnose software and hardware problems

    how on earth does an OS do that :S

    programs like MemTest diagnose memory faults but how does an OS?
    Last edited by jackvdbuk; 29-12-2006 at 07:23 PM.

  4. #4
    Agent of the System ikonia's Avatar
    Join Date
    May 2004
    Location
    South West UK (Bath)
    Posts
    3,736
    Thanks
    39
    Thanked
    75 times in 56 posts
    he never searches.....but always claims he does.
    It is Inevitable.....


  5. #5
    Hello jackvdbuk's Avatar
    Join Date
    Apr 2006
    Location
    Stratford
    Posts
    2,513
    Thanks
    468
    Thanked
    112 times in 95 posts
    • jackvdbuk's system
      • Motherboard:
      • AbiT IP35-PRO
      • CPU:
      • Intel C2Q Q9550
      • Memory:
      • OCZ Nvidia SLi Edition 4GB (2x2gb) pc2-6400 DDR2
      • Storage:
      • lots of TB
      • Graphics card(s):
      • BFG 8800GTS 512MB
      • PSU:
      • Corsair HX620W
      • Case:
      • Corsair 800D
      • Operating System:
      • Windows 7 Premium x64
      • Monitor(s):
      • Dell 2407WFP
      • Internet:
      • Orange (about 6Mb)
    no seriously i did, but just couldnt find anything proper!

    with the linux thing, i didnt... i kno im bad n all but soz

    nevermind, im going to do this by myself...
    Last edited by jackvdbuk; 29-12-2006 at 07:43 PM.

  6. #6
    Senior Member chrestomanci's Avatar
    Join Date
    Sep 2004
    Location
    Reading
    Posts
    1,614
    Thanks
    94
    Thanked
    96 times in 80 posts
    • chrestomanci's system
      • Motherboard:
      • Asus AMD AM4 Ryzen PRIME B350M
      • CPU:
      • AMD Ryzen 1600 @ stock clocks
      • Memory:
      • 16Gb DDR4 2666MHz
      • Storage:
      • 250Gb Samsung 960 Evo M.2 + 3Tb Western Digital Red
      • Graphics card(s):
      • Basic AMD GPU (OSS linux drivers)
      • PSU:
      • Novatech 500W
      • Case:
      • Silverstone Sugo SG02
      • Operating System:
      • Linux - Latest Xubuntu
      • Monitor(s):
      • BenQ 24" LCD (Thanks: DDY)
      • Internet:
      • Zen FTTC
    http://www.oreilly.com/catalog/linuxkernel/

    There should be a copy in your college libary.

  7. #7
    The late but legendary peterb - Onward and Upward peterb's Avatar
    Join Date
    Aug 2005
    Location
    Looking down & checking on swearing
    Posts
    19,378
    Thanks
    2,892
    Thanked
    3,403 times in 2,693 posts
    Thanks, Chrestomanci, for that link - I've been pondering that book for while - might pop down to Waterstones and have quick browse before adding it to MY library!
    (\__/)
    (='.'=)
    (")_(")

    Been helped or just 'Like' a post? Use the Thanks button!
    My broadband speed - 750 Meganibbles/minute

  8. #8
    Agent of the System ikonia's Avatar
    Join Date
    May 2004
    Location
    South West UK (Bath)
    Posts
    3,736
    Thanks
    39
    Thanked
    75 times in 56 posts
    Peter, its a good book, very solid. Some chapters are covered right through from basic to advanced discussion.

    Make sure you get the latest revision though as the older ones are quite out of date...to the point where they give wrong info.

    I know you run RH9 which = old, but still, get the later revisions.
    It is Inevitable.....


  9. #9
    The late but legendary peterb - Onward and Upward peterb's Avatar
    Join Date
    Aug 2005
    Location
    Looking down & checking on swearing
    Posts
    19,378
    Thanks
    2,892
    Thanked
    3,403 times in 2,693 posts
    Quote Originally Posted by ikonia View Post
    Peter, its a good book, very solid. Some chapters are covered right through from basic to advanced discussion.

    Make sure you get the latest revision though as the older ones are quite out of date...to the point where they give wrong info.

    I know you run RH9 which = old, but still, get the later revisions.
    TVM!
    (\__/)
    (='.'=)
    (")_(")

    Been helped or just 'Like' a post? Use the Thanks button!
    My broadband speed - 750 Meganibbles/minute

  10. #10
    HEXUS.social member Agent's Avatar
    Join Date
    Jul 2003
    Location
    Internet
    Posts
    19,185
    Thanks
    739
    Thanked
    1,614 times in 1,050 posts
    Quote Originally Posted by jackvdbuk View Post
    am i right in saying that an Operating system 'manages' the RAM by loading applications into the RAM and other WIndows Components aswell? but that dont really suit 'manage'
    Just a quick point here mate.
    If it asks an operating system, dont say any specific ones. They can cost you marks dearly. Dont say "This is how Microsoft / Linux / Mac / RISC-OS / ect. manages RAM" - never mention brand names.

    For example
    Microsoft Word = Text editor
    Excel = Spreadsheet
    Photoshop = Graphics editing package
    Outlook / Thunderbird = Email client
    IE / Firefox = Browser

    and so on....
    You can loose a lot of marks for making this mistake at A level.
    Last edited by Agent; 01-01-2007 at 02:17 AM.
    Quote Originally Posted by Saracen View Post
    And by trying to force me to like small pants, they've alienated me.

  11. #11
    Senior Member chrestomanci's Avatar
    Join Date
    Sep 2004
    Location
    Reading
    Posts
    1,614
    Thanks
    94
    Thanked
    96 times in 80 posts
    • chrestomanci's system
      • Motherboard:
      • Asus AMD AM4 Ryzen PRIME B350M
      • CPU:
      • AMD Ryzen 1600 @ stock clocks
      • Memory:
      • 16Gb DDR4 2666MHz
      • Storage:
      • 250Gb Samsung 960 Evo M.2 + 3Tb Western Digital Red
      • Graphics card(s):
      • Basic AMD GPU (OSS linux drivers)
      • PSU:
      • Novatech 500W
      • Case:
      • Silverstone Sugo SG02
      • Operating System:
      • Linux - Latest Xubuntu
      • Monitor(s):
      • BenQ 24" LCD (Thanks: DDY)
      • Internet:
      • Zen FTTC
    Quote Originally Posted by peterb View Post
    Thanks, Chrestomanci, for that link - I've been pondering that book for while - might pop down to Waterstones and have quick browse before adding it to MY library!
    It is a good book, I found a copy in the library at work, and read it over a period of a few weeks while I was waiting for compiles to complete and the like.

    Some of the stuff in there is quite clever, for example, when a new process starts, instead of loading the executable binary into memory, the OS tells the memory manager that the executable is now another (read only) section of swap file. as the program executes part of it will be swapped in, but if it is a huge executable and the user used it for something simple then most of it will never get loaded. Conversely if there are lots of instances running, or the program gets run very frequently, the memory manager will keep it in memory making program start up fast and only consuming one lot of memory for all the instaces running. All this cleverness means that bloat is less of a worry on Linux, but makes it very hard to add up memory consumption as some shared libraries can be shared between hundreds of processes, but only be loaded once.

    You might also look into the companion book Linux Device Drivers. That book has been released under the GNU free documentation licence, and you can download the entire text as PDF for free.

  12. #12
    Hello jackvdbuk's Avatar
    Join Date
    Apr 2006
    Location
    Stratford
    Posts
    2,513
    Thanks
    468
    Thanked
    112 times in 95 posts
    • jackvdbuk's system
      • Motherboard:
      • AbiT IP35-PRO
      • CPU:
      • Intel C2Q Q9550
      • Memory:
      • OCZ Nvidia SLi Edition 4GB (2x2gb) pc2-6400 DDR2
      • Storage:
      • lots of TB
      • Graphics card(s):
      • BFG 8800GTS 512MB
      • PSU:
      • Corsair HX620W
      • Case:
      • Corsair 800D
      • Operating System:
      • Windows 7 Premium x64
      • Monitor(s):
      • Dell 2407WFP
      • Internet:
      • Orange (about 6Mb)
    Quote Originally Posted by Agent View Post
    Just a quick point here mate.
    If it asks an opperating system, dont say any specific ones. They can cost you marks dearly. Dont say "This is how Microsoft / Linux / Mac / RISC-OS / ect. manages RAM" - never mention brand names.

    For example
    Microsoft Word = Text editor
    Excel = Spreadsheet
    Photoshop = Graphics editing package
    Outlook / Thunderbird = Email client
    IE / Firefox = Browser

    and so on....
    You can loose a lot of marks for making this mistake at A level.
    yes out of all the teachers only one says that, and its true, alot of my class mates say microsoft word instead of as you say Word Proccesor/text editor

  13. #13
    The late but legendary peterb - Onward and Upward peterb's Avatar
    Join Date
    Aug 2005
    Location
    Looking down & checking on swearing
    Posts
    19,378
    Thanks
    2,892
    Thanked
    3,403 times in 2,693 posts
    Quote Originally Posted by ikonia View Post

    ....
    I know you run RH9 which = old, but still, get the later revisions.
    Just seen that the the Fedora Legacy Project is closing down, so it looks as if a move to FC might be in the offing soon. Pity as I'm really comfortable with RH9! (Bit like an old pair of walking boots that although not quite as trendy as the latest designs, still keep the cold and water out and fits like a glove!)
    (\__/)
    (='.'=)
    (")_(")

    Been helped or just 'Like' a post? Use the Thanks button!
    My broadband speed - 750 Meganibbles/minute

  14. #14
    The late but legendary peterb - Onward and Upward peterb's Avatar
    Join Date
    Aug 2005
    Location
    Looking down & checking on swearing
    Posts
    19,378
    Thanks
    2,892
    Thanked
    3,403 times in 2,693 posts
    Quote Originally Posted by ikonia View Post

    ....
    I know you run RH9 which = old, ...
    Just seen that the the Fedora Legacy Project is closing down, so it looks as if a move to FC might be in the offing soon. Pity as I'm really comfortable with RH9! (Bit like an old pair of walking boots that although not quite as trendy as the latest designs, still keep the cold and water out and fits like a glove!)

    Chrestomanci - thanks - I'll look at that too - although I think it will be a while before I ever get round to writing device drivers! I'm still learning scripting - "Classic Shell Scripting" is another book on my shopping list!
    Last edited by peterb; 01-01-2007 at 03:38 PM.
    (\__/)
    (='.'=)
    (")_(")

    Been helped or just 'Like' a post? Use the Thanks button!
    My broadband speed - 750 Meganibbles/minute

  15. #15
    Senior Member chrestomanci's Avatar
    Join Date
    Sep 2004
    Location
    Reading
    Posts
    1,614
    Thanks
    94
    Thanked
    96 times in 80 posts
    • chrestomanci's system
      • Motherboard:
      • Asus AMD AM4 Ryzen PRIME B350M
      • CPU:
      • AMD Ryzen 1600 @ stock clocks
      • Memory:
      • 16Gb DDR4 2666MHz
      • Storage:
      • 250Gb Samsung 960 Evo M.2 + 3Tb Western Digital Red
      • Graphics card(s):
      • Basic AMD GPU (OSS linux drivers)
      • PSU:
      • Novatech 500W
      • Case:
      • Silverstone Sugo SG02
      • Operating System:
      • Linux - Latest Xubuntu
      • Monitor(s):
      • BenQ 24" LCD (Thanks: DDY)
      • Internet:
      • Zen FTTC
    Quote Originally Posted by peterb View Post
    Chrestomanci - thanks - I'll look at that too - although I think it will be a while before I ever get round to writing device drivers! I'm still learning scripting - "Classic Shell Scripting" is another book on my shopping list!
    Personaly I would skip shell scripting and move straight to a proper scripting language like perl or python, as they are much more powerfull and the code is easier to read and understand.

    Unix shell can do clever stuff, but only by using some horrible hacks, so unless you need to debug or maintain old shell scripts, I don't think there is much to be gained from learning.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. RAM Question
    By utdmleach in forum PC Hardware and Components
    Replies: 15
    Last Post: 18-07-2005, 07:53 PM
  2. Ram Upgrade
    By KrEaToR in forum PC Hardware and Components
    Replies: 4
    Last Post: 09-07-2005, 09:58 PM
  3. Need help with timings for PC4000 RAM!
    By 8bit in forum PC Hardware and Components
    Replies: 12
    Last Post: 19-11-2004, 04:40 PM
  4. Shuttle SN45G and TwinMOS DDR400 RAM
    By nb45 in forum PC Hardware and Components
    Replies: 0
    Last Post: 15-04-2004, 06:01 PM
  5. What should I do about my RAM?
    By spindle in forum PC Hardware and Components
    Replies: 2
    Last Post: 20-03-2004, 02:44 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •