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.
  • 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
                                • R Reelix

                                  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 Offline
                                  K Offline
                                  kalberts
                                  wrote on last edited by
                                  #32

                                  But why on earth would you give away 2 GB of RAM to a simulated disk? What is the gain of churning the data through file system and disk simulation code, rather than just leaving it where it is? Pulling values directly out of a variable is magnitutes faster than executing a 'read' file system function, even when that read ends up in some RAM location.

                                  R 1 Reply Last reply
                                  0
                                  • K kalberts

                                    But why on earth would you give away 2 GB of RAM to a simulated disk? What is the gain of churning the data through file system and disk simulation code, rather than just leaving it where it is? Pulling values directly out of a variable is magnitutes faster than executing a 'read' file system function, even when that read ends up in some RAM location.

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

                                    Primarily since the read/write speeds of the simulated disk are 20x faster than regular disks (Including state-of-the-art SSD's). Also, when you're sitting with 32GB RAM (8GBx4 - Easy enough these days), creating a 16GB RAMDisk would still leave you far more RAM than you would ever need. Plonk a game there, and you effectively eliminate loading times (As the majority (95%) of loading times are due to data being pulled off the physical drive) So, instead of asking "Why", you should be asking "Why not" :)

                                    -= Reelix =-

                                    K 1 Reply Last reply
                                    0
                                    • K kalberts

                                      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 Offline
                                      V Offline
                                      Vivi Chellappa
                                      wrote on last edited by
                                      #34

                                      I didn't work on the S/38, only on the successor AS/400 so I am unable to comment on the file system not being there when the S/38 arrived. As to "OPEN" and "CLOSE", I remember those functions are not needed for physical files (as opposed to logical files which are views derived from one or more physical files) in the AS/400. You can read or write files without specifically opening them or closing them at the end of processing. I am pretty sure that is a carryover from the S/38.

                                      1 Reply Last reply
                                      0
                                      • R Reelix

                                        Primarily since the read/write speeds of the simulated disk are 20x faster than regular disks (Including state-of-the-art SSD's). Also, when you're sitting with 32GB RAM (8GBx4 - Easy enough these days), creating a 16GB RAMDisk would still leave you far more RAM than you would ever need. Plonk a game there, and you effectively eliminate loading times (As the majority (95%) of loading times are due to data being pulled off the physical drive) So, instead of asking "Why", you should be asking "Why not" :)

                                        -= Reelix =-

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

                                        but... if you read it directly from RAM, neither from a RAM-disk, nor from a Flash-disk, nor from a magnetic disk - then it might be 200x as fast. Maybe 500x as fast. Why write it anywhere at all? Why not use data where they are located before you write them to any sort of disk? Why is it better to have it on a RAM disk than having it in RAM?

                                        R 1 Reply Last reply
                                        0
                                        • K kalberts

                                          but... if you read it directly from RAM, neither from a RAM-disk, nor from a Flash-disk, nor from a magnetic disk - then it might be 200x as fast. Maybe 500x as fast. Why write it anywhere at all? Why not use data where they are located before you write them to any sort of disk? Why is it better to have it on a RAM disk than having it in RAM?

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

                                          That's effectively what a RAMDisk IS :p Just a user-friendly way for an end-user to directly interface with the RAM itself, as last I checked, you can't simply copy-paste files onto your RAM using Windows any other way ^_^

                                          -= Reelix =-

                                          K 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