Maybe Silly Question about RAM and SWAP on Windows Host OS
Clash Royale CLAN TAG#URR8PPP
up vote
0
down vote
favorite
I'm new here, i've read and appreciated the original post by Thompsonn but as the title says i have a quick silly question, but first some background.
At work i'm forced to use Windows as the host OS (I work with and prefer Linux) because of the mandatory requirements in certain applications we use and i can't virtualize it.
I've bought a new laptop a few months ago, with 2 NVMes, 2 SSDs, 64GB of RAM, i7-8700K and a GTX1070, a nice fella :)
I happen to use many VMs during my study, work and hobby, the vast majority Linux-based.
I have at least 6 VMs open most of the time, and i see that the disk is used a lot, and the VMs actually use swap even if the RAM isn't filled yet.
To try to slow down the wear on the SSDs, i've moved the virtual hard disks of the VMs and divided them between 3 of the 4 physical drives i have.
Given that i have almost 26GBs free of RAM, may i use RAMdisks as swap storage for the Linux VMs?
Thanks in advance
swap virtual-memory ramdisk
add a comment |Â
up vote
0
down vote
favorite
I'm new here, i've read and appreciated the original post by Thompsonn but as the title says i have a quick silly question, but first some background.
At work i'm forced to use Windows as the host OS (I work with and prefer Linux) because of the mandatory requirements in certain applications we use and i can't virtualize it.
I've bought a new laptop a few months ago, with 2 NVMes, 2 SSDs, 64GB of RAM, i7-8700K and a GTX1070, a nice fella :)
I happen to use many VMs during my study, work and hobby, the vast majority Linux-based.
I have at least 6 VMs open most of the time, and i see that the disk is used a lot, and the VMs actually use swap even if the RAM isn't filled yet.
To try to slow down the wear on the SSDs, i've moved the virtual hard disks of the VMs and divided them between 3 of the 4 physical drives i have.
Given that i have almost 26GBs free of RAM, may i use RAMdisks as swap storage for the Linux VMs?
Thanks in advance
swap virtual-memory ramdisk
add a comment |Â
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I'm new here, i've read and appreciated the original post by Thompsonn but as the title says i have a quick silly question, but first some background.
At work i'm forced to use Windows as the host OS (I work with and prefer Linux) because of the mandatory requirements in certain applications we use and i can't virtualize it.
I've bought a new laptop a few months ago, with 2 NVMes, 2 SSDs, 64GB of RAM, i7-8700K and a GTX1070, a nice fella :)
I happen to use many VMs during my study, work and hobby, the vast majority Linux-based.
I have at least 6 VMs open most of the time, and i see that the disk is used a lot, and the VMs actually use swap even if the RAM isn't filled yet.
To try to slow down the wear on the SSDs, i've moved the virtual hard disks of the VMs and divided them between 3 of the 4 physical drives i have.
Given that i have almost 26GBs free of RAM, may i use RAMdisks as swap storage for the Linux VMs?
Thanks in advance
swap virtual-memory ramdisk
I'm new here, i've read and appreciated the original post by Thompsonn but as the title says i have a quick silly question, but first some background.
At work i'm forced to use Windows as the host OS (I work with and prefer Linux) because of the mandatory requirements in certain applications we use and i can't virtualize it.
I've bought a new laptop a few months ago, with 2 NVMes, 2 SSDs, 64GB of RAM, i7-8700K and a GTX1070, a nice fella :)
I happen to use many VMs during my study, work and hobby, the vast majority Linux-based.
I have at least 6 VMs open most of the time, and i see that the disk is used a lot, and the VMs actually use swap even if the RAM isn't filled yet.
To try to slow down the wear on the SSDs, i've moved the virtual hard disks of the VMs and divided them between 3 of the 4 physical drives i have.
Given that i have almost 26GBs free of RAM, may i use RAMdisks as swap storage for the Linux VMs?
Thanks in advance
swap virtual-memory ramdisk
asked May 3 at 17:22
Matias Paglioni
1
1
add a comment |Â
add a comment |Â
1 Answer
1
active
oldest
votes
up vote
0
down vote
You could allocate RAM to a RAM disk or create a swap file in /dev/shm
, but that just consumes the RAM and makes it more likely you'll have to start using swap on a heavily-laden host.
Some usage of swap on a lightly-loaded host is entirely normal if the processes in memory are inactive. You can alter how aggressive the kernel is at making this determination by adjusting the swappiness of the host.
add a comment |Â
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
0
down vote
You could allocate RAM to a RAM disk or create a swap file in /dev/shm
, but that just consumes the RAM and makes it more likely you'll have to start using swap on a heavily-laden host.
Some usage of swap on a lightly-loaded host is entirely normal if the processes in memory are inactive. You can alter how aggressive the kernel is at making this determination by adjusting the swappiness of the host.
add a comment |Â
up vote
0
down vote
You could allocate RAM to a RAM disk or create a swap file in /dev/shm
, but that just consumes the RAM and makes it more likely you'll have to start using swap on a heavily-laden host.
Some usage of swap on a lightly-loaded host is entirely normal if the processes in memory are inactive. You can alter how aggressive the kernel is at making this determination by adjusting the swappiness of the host.
add a comment |Â
up vote
0
down vote
up vote
0
down vote
You could allocate RAM to a RAM disk or create a swap file in /dev/shm
, but that just consumes the RAM and makes it more likely you'll have to start using swap on a heavily-laden host.
Some usage of swap on a lightly-loaded host is entirely normal if the processes in memory are inactive. You can alter how aggressive the kernel is at making this determination by adjusting the swappiness of the host.
You could allocate RAM to a RAM disk or create a swap file in /dev/shm
, but that just consumes the RAM and makes it more likely you'll have to start using swap on a heavily-laden host.
Some usage of swap on a lightly-loaded host is entirely normal if the processes in memory are inactive. You can alter how aggressive the kernel is at making this determination by adjusting the swappiness of the host.
answered May 3 at 17:31
DopeGhoti
40k54779
40k54779
add a comment |Â
add a comment |Â
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f441612%2fmaybe-silly-question-about-ram-and-swap-on-windows-host-os%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password