Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. Time to merge memory?

Time to merge memory?

Scheduled Pinned Locked Moved The Lounge
performancequestion
42 Posts 24 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • W wizardzz

    That's going to be one nasty garbage collector.

    Twits[^]

    K Offline
    K Offline
    Keith Barrow
    wrote on last edited by
    #12

    Like this?[^]

    “Education is not the piling on of learning, information, data, facts, skills, or abilities - that's training or instruction - but is rather making visible what is hidden as a seed”
    “One of the greatest problems of our time is that many are schooled but few are educated”

    Sir Thomas More (1478 – 1535)

    1 Reply Last reply
    0
    • R Rob Philpott

      Now that SSDs are becoming more common and with the rise of 64 bit architectures I've been wondering whether we might see the day soon where we don't distinguish between RAM and 'disc' storage, instead just mapping everything into a vast address space. I don't know how wide address buses are on 64 bit processors, but I doubt they are 64 bits but if they are (and they could be), and we gloss over problems to do with speed of access it seems possible. You'd need some sort of caching - a bit like on processors. So ingrained is the idea of RAM and disc storage its hard to imagine what it would be like without it. Persistence would disappear, as once you've instantiated an object there it would stay, indefinitely. I don't know what that would mean for the traditional idea of a file system. Interesting thought - well if you're me anyway.

      Regards, Rob Philpott.

      L Offline
      L Offline
      leppie
      wrote on last edited by
      #13

      Basic RAM runs at ~20GB/sec, 2 x SSD in RAID0 does 1GB/sec Still a lot slower, but sure a lot better for virtual memory. I cannot fathom the amount kittens killed daily by my laptop hard drive... :((

      IronScheme
      ((λ (x) `(,x ',x)) '(λ (x) `(,x ',x)))

      N 1 Reply Last reply
      0
      • M Marc Clifton

        Rob Philpott wrote:

        I don't know how wide address buses are on 64 bit processors,

        The I7 has a 192-bit memory bus width and the Phenom II x6 1100T has 128-bit memory bus width. From Tom's Hardware[^]

        Rob Philpott wrote:

        I've been wondering whether we might see the day soon where we don't distinguish between RAM and 'disc' storage, instead just mapping everything into a vast address space.

        That definitely does seem reasonable, except that SSD's have a lifetime of about 5 years (somewhere on ArsTechnica was an excellent article on how SSD's work and why they have limits to their life), about the same as a hard disk, and DRAM etc. has a much longer life expectancy. Also, it still has to be worked out how to designate some data as persistent and other data as not persistent, hence why we have a file system to begin with - the user decides that, not the computer. But regardless of the technical issues, I think you have a good point as to where things might be heading. Marc

        Testers Wanted!
        Latest Article: User Authentication on Ruby on Rails - the definitive how to
        My Blog

        R Offline
        R Offline
        Rob Philpott
        wrote on last edited by
        #14

        192 bit?? I'm presuming that's the width of data and address bus combined but even then I'd expect 128 bits as a maximum. I need to read up, clearly...

        Regards, Rob Philpott.

        D 1 Reply Last reply
        0
        • L leppie

          Basic RAM runs at ~20GB/sec, 2 x SSD in RAID0 does 1GB/sec Still a lot slower, but sure a lot better for virtual memory. I cannot fathom the amount kittens killed daily by my laptop hard drive... :((

          IronScheme
          ((λ (x) `(,x ',x)) '(λ (x) `(,x ',x)))

          N Offline
          N Offline
          Nagy Vilmos
          wrote on last edited by
          #15

          leppie wrote:

          I cannot fathom the amount kittens killed daily by my laptop hard drive

          Ask Ninja to count them in the morning and then count them again in the Evening; should be a fairly accurate measure. OT You know she tweeted about JB without warning? A guy could lose his lunch with that kind of disgusting imagery!

          Reality is an illusion caused by a lack of alcohol

          L 2 Replies Last reply
          0
          • N Nagy Vilmos

            leppie wrote:

            I cannot fathom the amount kittens killed daily by my laptop hard drive

            Ask Ninja to count them in the morning and then count them again in the Evening; should be a fairly accurate measure. OT You know she tweeted about JB without warning? A guy could lose his lunch with that kind of disgusting imagery!

            Reality is an illusion caused by a lack of alcohol

            L Offline
            L Offline
            leppie
            wrote on last edited by
            #16

            Nagy Vilmos wrote:

            You know she tweeted about JB without warning?

            Thank goodness I missed that one ;p

            IronScheme
            ((λ (x) `(,x ',x)) '(λ (x) `(,x ',x)))

            N 1 Reply Last reply
            0
            • L leppie

              Nagy Vilmos wrote:

              You know she tweeted about JB without warning?

              Thank goodness I missed that one ;p

              IronScheme
              ((λ (x) `(,x ',x)) '(λ (x) `(,x ',x)))

              N Offline
              N Offline
              Nagy Vilmos
              wrote on last edited by
              #17

              Sort it out will you! :laugh:

              Reality is an illusion caused by a lack of alcohol

              1 Reply Last reply
              0
              • N Nagy Vilmos

                leppie wrote:

                I cannot fathom the amount kittens killed daily by my laptop hard drive

                Ask Ninja to count them in the morning and then count them again in the Evening; should be a fairly accurate measure. OT You know she tweeted about JB without warning? A guy could lose his lunch with that kind of disgusting imagery!

                Reality is an illusion caused by a lack of alcohol

                L Offline
                L Offline
                leppie
                wrote on last edited by
                #18

                Nagy Vilmos wrote:

                Ask Ninja to count them in the morning and then count them again in the Evening; should be a fairly accurate measure.

                I only got her to recite primes up to 51 so far. Even with O(1) factorization, it might not be enough!

                IronScheme
                ((λ (x) `(,x ',x)) '(λ (x) `(,x ',x)))

                1 Reply Last reply
                0
                • R Rob Philpott

                  192 bit?? I'm presuming that's the width of data and address bus combined but even then I'd expect 128 bits as a maximum. I need to read up, clearly...

                  Regards, Rob Philpott.

                  D Offline
                  D Offline
                  dusty_dex
                  wrote on last edited by
                  #19

                  192 bits derived from 3 channels (modules) of 64-bits each. superseding dual-channel memory of ddr and ddr2 (eventually) already in use on higher end i7. The i3, i5 and low-end i7 still using dual-channel, ditto for all AMD chips.

                  1 Reply Last reply
                  0
                  • R Rob Philpott

                    Now that SSDs are becoming more common and with the rise of 64 bit architectures I've been wondering whether we might see the day soon where we don't distinguish between RAM and 'disc' storage, instead just mapping everything into a vast address space. I don't know how wide address buses are on 64 bit processors, but I doubt they are 64 bits but if they are (and they could be), and we gloss over problems to do with speed of access it seems possible. You'd need some sort of caching - a bit like on processors. So ingrained is the idea of RAM and disc storage its hard to imagine what it would be like without it. Persistence would disappear, as once you've instantiated an object there it would stay, indefinitely. I don't know what that would mean for the traditional idea of a file system. Interesting thought - well if you're me anyway.

                    Regards, Rob Philpott.

                    J Offline
                    J Offline
                    jschell
                    wrote on last edited by
                    #20

                    Rob Philpott wrote:

                    Persistence would disappear, as once you've instantiated an object there it would stay, indefinitely. I don't know what that would mean for the traditional idea of a file system.

                    Presuming that they do become equal in replacement that would still not happen. The bus is still serial. Ip is still serial. Application bottlenecks still exist. Geographic redundancy needs still exist, etc.

                    1 Reply Last reply
                    0
                    • V Vivi Chellappa

                      Welcome to Back to the Future.... 1979, to be precise. That was when the System/38 was introduced by IBM with a 48-bit addressing scheme. The system did away with notions of main memory being different from disk storage. Disk was managed as an extension of main memory. But then, according to the "we-know-best" Unix crowd, if it is not in Unix, it is not worth having. And in computer system architecture courses in Brain Washing Facilities -- sorry, Universities -- the only architecture worth learning teaching is the Intel '86 series!

                      G Offline
                      G Offline
                      greldak
                      wrote on last edited by
                      #21

                      Or earlier - October 1974 http://en.wikipedia.org/wiki/ICL_VME[^] when ICL introduced VME/B

                      V 1 Reply Last reply
                      0
                      • R Rob Philpott

                        Now that SSDs are becoming more common and with the rise of 64 bit architectures I've been wondering whether we might see the day soon where we don't distinguish between RAM and 'disc' storage, instead just mapping everything into a vast address space. I don't know how wide address buses are on 64 bit processors, but I doubt they are 64 bits but if they are (and they could be), and we gloss over problems to do with speed of access it seems possible. You'd need some sort of caching - a bit like on processors. So ingrained is the idea of RAM and disc storage its hard to imagine what it would be like without it. Persistence would disappear, as once you've instantiated an object there it would stay, indefinitely. I don't know what that would mean for the traditional idea of a file system. Interesting thought - well if you're me anyway.

                        Regards, Rob Philpott.

                        R Offline
                        R Offline
                        R Erasmus
                        wrote on last edited by
                        #22

                        Solid State Disks calls for a new technology in RAM. We want faster!

                        "Program testing can be used to show the presence of bugs, but never to show their absence." << please vote!! >>

                        K 1 Reply Last reply
                        0
                        • R Rob Philpott

                          Now that SSDs are becoming more common and with the rise of 64 bit architectures I've been wondering whether we might see the day soon where we don't distinguish between RAM and 'disc' storage, instead just mapping everything into a vast address space. I don't know how wide address buses are on 64 bit processors, but I doubt they are 64 bits but if they are (and they could be), and we gloss over problems to do with speed of access it seems possible. You'd need some sort of caching - a bit like on processors. So ingrained is the idea of RAM and disc storage its hard to imagine what it would be like without it. Persistence would disappear, as once you've instantiated an object there it would stay, indefinitely. I don't know what that would mean for the traditional idea of a file system. Interesting thought - well if you're me anyway.

                          Regards, Rob Philpott.

                          M Offline
                          M Offline
                          MikeD 2
                          wrote on last edited by
                          #23

                          small point most desktop windows PC work themselves into corrupted corners and need to be refreshed by restarting them If we only have one copy of each program in "ram" I lose my vital support tool of "restart the PC" or at least I could restart but it would have no benefit as I still just use the corrupted copy :( or does this utopia only allow perfect programs to be used?

                          1 Reply Last reply
                          0
                          • A AlphaDeltaTheta

                            I prefer to keep my temp or swap (depending the OS in use) on my RAM... by creating a RAM disk... It's safe and recommended highly if you're on an SSD

                            C Offline
                            C Offline
                            Carlos1907
                            wrote on last edited by
                            #24

                            Wait! Swap == RAM complementation, is it right!? So why did I would "lower" available RAM to create a RAM Drive to store a swap drive!?!?!? :confused:

                            A 1 Reply Last reply
                            0
                            • C Carlos1907

                              Wait! Swap == RAM complementation, is it right!? So why did I would "lower" available RAM to create a RAM Drive to store a swap drive!?!?!? :confused:

                              A Offline
                              A Offline
                              AlphaDeltaTheta
                              wrote on last edited by
                              #25

                              1. You're In no way like to thrash your SSD with rapid writes 2. You're never gonna make a good use of your 16 GB+ RAM! 3. For video and photo editors, which make a massive use of temp/swap space, it's a boon

                              K J 2 Replies Last reply
                              0
                              • R Rob Philpott

                                Now that SSDs are becoming more common and with the rise of 64 bit architectures I've been wondering whether we might see the day soon where we don't distinguish between RAM and 'disc' storage, instead just mapping everything into a vast address space. I don't know how wide address buses are on 64 bit processors, but I doubt they are 64 bits but if they are (and they could be), and we gloss over problems to do with speed of access it seems possible. You'd need some sort of caching - a bit like on processors. So ingrained is the idea of RAM and disc storage its hard to imagine what it would be like without it. Persistence would disappear, as once you've instantiated an object there it would stay, indefinitely. I don't know what that would mean for the traditional idea of a file system. Interesting thought - well if you're me anyway.

                                Regards, Rob Philpott.

                                R Offline
                                R Offline
                                Reelix
                                wrote on last edited by
                                #26

                                We already have RAMDisks (Which you can create using your own RAM and one of a myriad of free apps) These are generally crazily fast (20x faster than SSD's - Tested on my n00bish DDR2-800 RAM), although require actual RAM to store data (And due to the nature of RAM, would get your data lost in an unexpected power failure :p) If you have 10+ GB RAM, create yourself a 2GB+ RAMDisk, and benchmark it - You'll love the results ^_^

                                -= Reelix =-

                                K 1 Reply Last reply
                                0
                                • R Rob Philpott

                                  Now that SSDs are becoming more common and with the rise of 64 bit architectures I've been wondering whether we might see the day soon where we don't distinguish between RAM and 'disc' storage, instead just mapping everything into a vast address space. I don't know how wide address buses are on 64 bit processors, but I doubt they are 64 bits but if they are (and they could be), and we gloss over problems to do with speed of access it seems possible. You'd need some sort of caching - a bit like on processors. So ingrained is the idea of RAM and disc storage its hard to imagine what it would be like without it. Persistence would disappear, as once you've instantiated an object there it would stay, indefinitely. I don't know what that would mean for the traditional idea of a file system. Interesting thought - well if you're me anyway.

                                  Regards, Rob Philpott.

                                  R Offline
                                  R Offline
                                  RafagaX
                                  wrote on last edited by
                                  #27

                                  It will take a while for this, mainly because SSDs are not fast enough to compete with RAM speed, and even while we can create hard disks based on RAM modules they're not cheap nor very useful when power goes out.

                                  CEO at: - Rafaga Systems - Para Facturas - Modern Components for the moment...

                                  1 Reply Last reply
                                  0
                                  • R Rob Philpott

                                    Now that SSDs are becoming more common and with the rise of 64 bit architectures I've been wondering whether we might see the day soon where we don't distinguish between RAM and 'disc' storage, instead just mapping everything into a vast address space. I don't know how wide address buses are on 64 bit processors, but I doubt they are 64 bits but if they are (and they could be), and we gloss over problems to do with speed of access it seems possible. You'd need some sort of caching - a bit like on processors. So ingrained is the idea of RAM and disc storage its hard to imagine what it would be like without it. Persistence would disappear, as once you've instantiated an object there it would stay, indefinitely. I don't know what that would mean for the traditional idea of a file system. Interesting thought - well if you're me anyway.

                                    Regards, Rob Philpott.

                                    O Offline
                                    O Offline
                                    obermd
                                    wrote on last edited by
                                    #28

                                    Android and iOS already do this. The only way to make this work is to "hide" the file system, which Windows doesn't do. Android and iOS do.

                                    1 Reply Last reply
                                    0
                                    • A AlphaDeltaTheta

                                      1. You're In no way like to thrash your SSD with rapid writes 2. You're never gonna make a good use of your 16 GB+ RAM! 3. For video and photo editors, which make a massive use of temp/swap space, it's a boon

                                      K Offline
                                      K Offline
                                      kalberts
                                      wrote on last edited by
                                      #29
                                      1. The question is not whether to push it fo flash or not, but whether to push it out at all. Why do you want to add the (significant) overhead of paging if you've got more RAM? Leave it in RAM as ordinary working storage! 2) Huh? If you've got 16 GB (or less) as RAM, and then introduce paging, you are creating a virtual RAM space greater than 16 GB - flat as the earth (locally, that is). If you are able to make good use of a virtual RAM address space >16 GB, why would it be more difficult to make good use of >16 non-virtual RAM space? 3) Very few if any photo/video editors are even close to a 16 GB working set, no matter what material you are editing. Even when you process video, you do it clip by clip. Clips >16 GB are exceptional. Practically all such processing is sequential; it doesn't consider all the video information of a clip as a whole. Double buffering and DMA has been established techniques for ages, and when your CPU churns HD video (or higher), every modern disk is fast enough to provide data for the CPU.
                                      A 1 Reply Last reply
                                      0
                                      • V Vivi Chellappa

                                        Welcome to Back to the Future.... 1979, to be precise. That was when the System/38 was introduced by IBM with a 48-bit addressing scheme. The system did away with notions of main memory being different from disk storage. Disk was managed as an extension of main memory. But then, according to the "we-know-best" Unix crowd, if it is not in Unix, it is not worth having. And in computer system architecture courses in Brain Washing Facilities -- sorry, Universities -- the only architecture worth learning teaching is the Intel '86 series!

                                        K Offline
                                        K Offline
                                        kalberts
                                        wrote on last edited by
                                        #30

                                        When the 38 arrived, the file system came a little late, so the first user couldn't save their data permanently except by leave them in program variables. The libraries for processing "open" and "write" and "close" were not there. Those libraries did nothing but move data from some "RAM" addresses to other "RAM" addresses (plus maintaing pointers and other metadata to make "RAM" appear as if it were a physical disk split into surfaces and tracks and sectors), but practically all existing programs were assuming an open/write/close interface to make data persistent. To illustrate the conveniece of flat address space: A friend of mine worked on a S38 having two disk drives with removable media. He regularly received data from two data sources, each on a separate disk, and the data sets were to be merged pairwise to a new, third disk. So he defined a virtual 3rd disk, merged the two physical ones onto the third - the OS found free space on either of the disks. Then he could virtualize one of the source disks and make the third, merged disk non-virtual, and lift a merged physical disk off the drive... It did take some shuffeling of data to get all the merged-disk-pages onto the physical disk and everything else moved off that physical disk, but the low level OS (i.e. the virtual to physical mapping functions) handled that automatically.

                                        V 1 Reply Last reply
                                        0
                                        • R R Erasmus

                                          Solid State Disks calls for a new technology in RAM. We want faster!

                                          "Program testing can be used to show the presence of bugs, but never to show their absence." << please vote!! >>

                                          K Offline
                                          K Offline
                                          kalberts
                                          wrote on last edited by
                                          #31

                                          > Solid State Disks calls for a new technology in RAM. We want faster! What we need is infintely fast machines, and lots of them

                                          1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular
                                          • World
                                          • Users
                                          • Groups