You can easily eat up 16 GB if you compile certain packages using twelve threads...Probably opening very large image files for editing in Gimp, too.Mauser wrote: ↑Tue Jan 15, 2019 3:17 pmYou should be fine because I never seen MX Linux even reach 4GB of memory usage. The only drawback is if you use much more memory intensive programs than I do your computer will run into a roadblock from running out of memory. Not good. You can always add more RAM. I highly recommend no swap file with a SSD. The only question is what will happen to the swapness setting when there is no Swap file? Swapness should be set to 0.Eric wrote: ↑Tue Jan 15, 2019 3:09 pm Thanks for the quick reply.
So, no, MX Linux will NOT make a swapfile if I have no Swap Partition.
And No I do not absolutely need a Swap Partition.
So, what are the drawbacks of not having a Swap Partition on a machine with 8 GB of ram?
I ask, as my boot drive is SSD, so constant swapping reduces lifespan of the drive.
Question about Swap Partition
Re: Question about Swap Partition
Re: Question about Swap Partition
Thanks. Makes sense but I didn't know that much memory could be used up but is good to know. What would happen if swapness is set to 1 like the OP and all the memory is used up then MX Linux is looking for a swap partition but it's not there?Stevo wrote: ↑Tue Jan 15, 2019 7:21 pmYou can easily eat up 16 GB if you compile certain packages using twelve threads...Probably opening very large image files for editing in Gimp, too.Mauser wrote: ↑Tue Jan 15, 2019 3:17 pmYou should be fine because I never seen MX Linux even reach 4GB of memory usage. The only drawback is if you use much more memory intensive programs than I do your computer will run into a roadblock from running out of memory. Not good. You can always add more RAM. I highly recommend no swap file with a SSD. The only question is what will happen to the swapness setting when there is no Swap file? Swapness should be set to 0.Eric wrote: ↑Tue Jan 15, 2019 3:09 pm Thanks for the quick reply.
So, no, MX Linux will NOT make a swapfile if I have no Swap Partition.
And No I do not absolutely need a Swap Partition.
So, what are the drawbacks of not having a Swap Partition on a machine with 8 GB of ram?
I ask, as my boot drive is SSD, so constant swapping reduces lifespan of the drive.
I am command line illiterate. I copy & paste to the terminal. Liars, Wiseguys, Trolls, and those without manners will be added to my ignore list.
Re: Question about Swap Partition
Indeed, on Linux 19.2 I did not install any swap partition and I do have system freezes on a regular basis.
I'm migrating to 21.1 with a swap partition.
PC is a well-loved HP Pro 3130 with Core i5 and 8GB RAM.
Last edited by Colargole on Wed Jul 20, 2022 12:01 pm, edited 1 time in total.
- entropyfoe
- Posts: 591
- Joined: Thu Apr 19, 2007 11:42 am
Re: Question about Swap Partition
Drive space is cheap these days. SSD endurance has long gone away as a significant concern.
Even with 32 G of RAM, I make a 33G swap partition, though it is rarely used as I set VM swappiness to either 1 or 10.
No crashes, very stable system with uptimes 30-60 days easily.
I never want a lack of RAM to cause a crash or lock-up.
And 16G of RAM can get eaten up with Firefox ! My wife's MX 19.4 install runs low on RAM sometimes because she doesn't like to use noscript. So sometimes I see isolated web processes ( tabs) consuming 5-10% of the memory in top.
I usually kill those tabs and reload them after which their memory is more well behaved. I think it is scripts running advertising, but a gig or RAM for a web page ! insane!
I run no script and never see such high memory usage for a tab. [Now I do have a hundred tabs open sometimes.... ]
Even with 32 G of RAM, I make a 33G swap partition, though it is rarely used as I set VM swappiness to either 1 or 10.
No crashes, very stable system with uptimes 30-60 days easily.
I never want a lack of RAM to cause a crash or lock-up.
And 16G of RAM can get eaten up with Firefox ! My wife's MX 19.4 install runs low on RAM sometimes because she doesn't like to use noscript. So sometimes I see isolated web processes ( tabs) consuming 5-10% of the memory in top.
I usually kill those tabs and reload them after which their memory is more well behaved. I think it is scripts running advertising, but a gig or RAM for a web page ! insane!
I run no script and never see such high memory usage for a tab. [Now I do have a hundred tabs open sometimes.... ]
Asus PRIME X470-PRO
AMD Ryzen 3600X (12 threads @ 3.8 GHz)
32 Gig DDR4 3600 (Crucial CL 16)
Nvidia GeForce GT 710
Samsung 970 NVMe nvme0n1 P1-3=MX-23, P4=testing
Samsung 980 NVMe =1TB Data, plus 2TB WD =backups
on-board ethernet & sound
AMD Ryzen 3600X (12 threads @ 3.8 GHz)
32 Gig DDR4 3600 (Crucial CL 16)
Nvidia GeForce GT 710
Samsung 970 NVMe nvme0n1 P1-3=MX-23, P4=testing
Samsung 980 NVMe =1TB Data, plus 2TB WD =backups
on-board ethernet & sound
- Eadwine Rose
- Administrator
- Posts: 11968
- Joined: Wed Jul 12, 2006 2:10 am
Re: Question about Swap Partition
@Colargole Please pay attention to how old threads are. Don't dig old ones from the trenches. This one is three years ago. Thanks.
Locking this topic now.
Locking this topic now.
MX-23.2_x64 July 31 2023 * 6.1.0-20-amd64 ext4 Xfce 4.18.1 * 8core AMD Ryzen 7 2700
Asus TUF B450-Plus Gaming UEFI * Asus GTX 1050 Ti Nvidia 525.147.05 * 2x16Gb DDR4 2666 Kingston HyperX Predator
Samsung 860EVO * Samsung S24D330 & P2250 * HP Envy 5030
Asus TUF B450-Plus Gaming UEFI * Asus GTX 1050 Ti Nvidia 525.147.05 * 2x16Gb DDR4 2666 Kingston HyperX Predator
Samsung 860EVO * Samsung S24D330 & P2250 * HP Envy 5030