If I have a RAM Disk, for what do I need system RAM

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
-3
down vote

favorite












I was wondering, if I have a RAM Disk and put my whole OS onto that RAM disk, then I guess there is no use for the system RAM anymore, since fetching it from there is not faster than fetching it from the system drive.
But in all tutorials I found, I always just allocate a fraction of my RAM for a RAM disk and not everything I have and then use the RAM disk as it were a normal hard drive. So my question, is there a way to not have any sytem memory at all and just work directly from the RAM disk?







share|improve this question




















  • disk would be (nonpersistant) storage. still need working ram to actually run and do stuff.
    – ivanivan
    Oct 16 '17 at 18:07














up vote
-3
down vote

favorite












I was wondering, if I have a RAM Disk and put my whole OS onto that RAM disk, then I guess there is no use for the system RAM anymore, since fetching it from there is not faster than fetching it from the system drive.
But in all tutorials I found, I always just allocate a fraction of my RAM for a RAM disk and not everything I have and then use the RAM disk as it were a normal hard drive. So my question, is there a way to not have any sytem memory at all and just work directly from the RAM disk?







share|improve this question




















  • disk would be (nonpersistant) storage. still need working ram to actually run and do stuff.
    – ivanivan
    Oct 16 '17 at 18:07












up vote
-3
down vote

favorite









up vote
-3
down vote

favorite











I was wondering, if I have a RAM Disk and put my whole OS onto that RAM disk, then I guess there is no use for the system RAM anymore, since fetching it from there is not faster than fetching it from the system drive.
But in all tutorials I found, I always just allocate a fraction of my RAM for a RAM disk and not everything I have and then use the RAM disk as it were a normal hard drive. So my question, is there a way to not have any sytem memory at all and just work directly from the RAM disk?







share|improve this question












I was wondering, if I have a RAM Disk and put my whole OS onto that RAM disk, then I guess there is no use for the system RAM anymore, since fetching it from there is not faster than fetching it from the system drive.
But in all tutorials I found, I always just allocate a fraction of my RAM for a RAM disk and not everything I have and then use the RAM disk as it were a normal hard drive. So my question, is there a way to not have any sytem memory at all and just work directly from the RAM disk?









share|improve this question











share|improve this question




share|improve this question










asked Oct 16 '17 at 17:50









user255886

1




1











  • disk would be (nonpersistant) storage. still need working ram to actually run and do stuff.
    – ivanivan
    Oct 16 '17 at 18:07
















  • disk would be (nonpersistant) storage. still need working ram to actually run and do stuff.
    – ivanivan
    Oct 16 '17 at 18:07















disk would be (nonpersistant) storage. still need working ram to actually run and do stuff.
– ivanivan
Oct 16 '17 at 18:07




disk would be (nonpersistant) storage. still need working ram to actually run and do stuff.
– ivanivan
Oct 16 '17 at 18:07










1 Answer
1






active

oldest

votes

















up vote
1
down vote













There are a couple of reasons: 1) the OS has to allocate memory for various data structures: it does that by using RAM, not a RAM disk; 2) access to a RAM disk goes through (at least) the block layer of the OS (which - see point 1 - has to have its data structures allocated in RAM), which makes RAM disk access slower than RAM access.



The OS could bootstrap itself as it does today until a RAM disk is set up and then migrate all allocations to the RAM disk, but there is not much point in that: it complicates the OS and it makes things slower.






share|improve this answer




















    Your Answer







    StackExchange.ready(function()
    var channelOptions =
    tags: "".split(" "),
    id: "106"
    ;
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function()
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled)
    StackExchange.using("snippets", function()
    createEditor();
    );

    else
    createEditor();

    );

    function createEditor()
    StackExchange.prepareEditor(
    heartbeatType: 'answer',
    convertImagesToLinks: false,
    noModals: false,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: null,
    bindNavPrevention: true,
    postfix: "",
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    );



    );













     

    draft saved


    draft discarded


















    StackExchange.ready(
    function ()
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f398465%2fif-i-have-a-ram-disk-for-what-do-i-need-system-ram%23new-answer', 'question_page');

    );

    Post as a guest






























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes








    up vote
    1
    down vote













    There are a couple of reasons: 1) the OS has to allocate memory for various data structures: it does that by using RAM, not a RAM disk; 2) access to a RAM disk goes through (at least) the block layer of the OS (which - see point 1 - has to have its data structures allocated in RAM), which makes RAM disk access slower than RAM access.



    The OS could bootstrap itself as it does today until a RAM disk is set up and then migrate all allocations to the RAM disk, but there is not much point in that: it complicates the OS and it makes things slower.






    share|improve this answer
























      up vote
      1
      down vote













      There are a couple of reasons: 1) the OS has to allocate memory for various data structures: it does that by using RAM, not a RAM disk; 2) access to a RAM disk goes through (at least) the block layer of the OS (which - see point 1 - has to have its data structures allocated in RAM), which makes RAM disk access slower than RAM access.



      The OS could bootstrap itself as it does today until a RAM disk is set up and then migrate all allocations to the RAM disk, but there is not much point in that: it complicates the OS and it makes things slower.






      share|improve this answer






















        up vote
        1
        down vote










        up vote
        1
        down vote









        There are a couple of reasons: 1) the OS has to allocate memory for various data structures: it does that by using RAM, not a RAM disk; 2) access to a RAM disk goes through (at least) the block layer of the OS (which - see point 1 - has to have its data structures allocated in RAM), which makes RAM disk access slower than RAM access.



        The OS could bootstrap itself as it does today until a RAM disk is set up and then migrate all allocations to the RAM disk, but there is not much point in that: it complicates the OS and it makes things slower.






        share|improve this answer












        There are a couple of reasons: 1) the OS has to allocate memory for various data structures: it does that by using RAM, not a RAM disk; 2) access to a RAM disk goes through (at least) the block layer of the OS (which - see point 1 - has to have its data structures allocated in RAM), which makes RAM disk access slower than RAM access.



        The OS could bootstrap itself as it does today until a RAM disk is set up and then migrate all allocations to the RAM disk, but there is not much point in that: it complicates the OS and it makes things slower.







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Oct 16 '17 at 18:07









        NickD

        1,5921312




        1,5921312



























             

            draft saved


            draft discarded















































             


            draft saved


            draft discarded














            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f398465%2fif-i-have-a-ram-disk-for-what-do-i-need-system-ram%23new-answer', 'question_page');

            );

            Post as a guest













































































            Popular posts from this blog

            Peggy Mitchell

            Palaiologos

            The Forum (Inglewood, California)