Win a copy of Terraform in Action this week in the Cloud forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • Rob Spoor
  • Bear Bibeault
Saloon Keepers:
  • Jesse Silverman
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • Al Hobbs
  • salvin francis

why not increase RAM?

 
Ranch Hand
Posts: 31
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
got a silly question

Its said almost everywhere that if more RAM,the application runs faster.

I came to know why RAM is faster (as it uses electrical signals to write) rather than writing directly into hard disk(Magnetic recording)

I would just like to know why is RAM limited to say 2GB currently..why cant it be say 10,20,30 GB just like hard disk?

why is it costly?
why not have a desktop with 30GB RAM and 30GB hardisk?

seems to be strange question,but i did understand it..

i would also be happy if you could give me a link which explains this clearly.
 
Sheriff
Posts: 7023
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
beginner,

Please change your display name to comply with the JavaRanch Display Names Guidelines.

I'm moving this to the General Computer forum...
 
Rancher
Posts: 13459
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
"kumred",

Sorry to nag, but your display name still is not valid.

We require you display name to be two words: your first name, a space, then your last name. Fictitious names are not allowed.

Thanks for your patience,
Dave.
 
Ranch Hand
Posts: 5093
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
32 bit CPUs (which are at current most available models) can count to about 2 billion.
As the CPU uses a single number as an address to tell the memory controller chip where in RAM it wants to read or write something and the CPU doesn't know about numbers larger than about 2 billion it can work with only 2 billion bytes of RAM (which is 2GB).

If you have a computer that uses a 64 bit CPU it can count higher and thus address more RAM (you can for example easily fit 8GB in the top model Apple G5).

In the past other memory addressing schemes were used that used pages of memory to get past this problem but those have been largely abandoned because they were slow (a single memory operation would require double the CPU time roughly from using a linear model).
 
Ranch Hand
Posts: 884
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
RAM are fast, but cache are faster! Following your line of thoughts, it would definitely be better if we could have more cache then...

However, there're size limitations that we can go. There's just this much size on the motherboard that we can put things onto. Of course there'e also the cost factor.

One may argue that the cost of RAM had drop significantly & you're willing to have large motherboards to have more cache and/or RAM, but in the business sense, there must be a substainable market demand before this could ever happen.

Also, having more RAM and/or cache, we won't know if the heat generated can be handled or not...

Just my 2 cents...

Happy holidays!
 
You showed up just in time for the waffles! And this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic