Hi, I installed linux not so long ago, I have 250GB space on my labtop I use 140GB on partition 4 and 40GB on partition 6 and now I got 60GB left
what should I do about it? mix it with partition 6 or create new partition
I do not use a swap either here is my Gparted as you can see only two@osprey: I've seen it said that with today's higher-capacity RAM, the 1x-2x swap rule no longer is applicable. Simply adding a few gigabytes should be sufficient swap, if you need it at all. In fact, systems that have 16+ GB of RAM (or even 8+, depending on your use case) and systems that only have SSDs should probably not need swap at all.
I do not use the hibernate function either hence I do not use swap, but I do run 16GBs of RAM on my laptopThe point was made that opinions differ on the matter of swap. There's plenty of debate available online. From my perspective, if a user's use case is reasonably predictable and they have enough RAM to cover those activities, then functioning is unlikely to be affected if they exclude a swap partition. If over time, however, for example, a user's activities gather more RAM intensive processing, then swap may come into it's own. In the latter example, say the user developed an interest in creating virtual machines which make greater use of RAM. Swap is slow, but if you are using RAM near its limits, swap can get rid of unused memory, that is, pages in memory that are not active for current processes can be moved out, which then makes more RAM available for the user's activities. Users have to best decide these matters themselves based on how they use their computers. In relation to the actual size of RAM, I understand that hibernating on laptops uses swap, which suggests a swap size the size of RAM, but I don't use that function so can't say more.
They could possibly be using a swapfile. That doesn't show up as its own partition, but it is functionally pretty much the same.
If they don't have a swapfile, and want one, the link will help 'em out.
View attachment 13889
If you create it in Gparted it shows or using the Refracta Installer it also shows, I do not know about Calamares since I do not use that installer
swapfiles tend to be slower and have various other complexity issues.
A Swap Partition instead of Swap FileHere's one with a swapfile - and are you sure that's a swapfile and not swap on its own partition?
A Swap Partition instead of Swap File
Certainly if the swap file suits and works, there is no issue, and more RAM can eschew the need for any swap. But it's worth noting that swap files are significantly slower than swap partitions, and that's due in part to the way the linux filesystem handles files which are not always, nor necessarily, contiguous on the hardware. That means that the operating system may have to "hunt" for the relevant data over various hardware locations. There's an efficiency cost to that which is paid less in a partition which is contiguous.As for Swap...since Linux Mint 19 a Swap File has been in place as a Swap partition is no longer needed...just add more RAM.
I use kali
Alright, I think I will go with swap because I have 4 GB ram and just open browser it's already use 2GB of ram, think it might help. thanks everyone(all storage I have in my labtop is 255gb of ssd and I plan to buy external hard disk for more storage in the future)The point was made that opinions differ on the matter of swap. There's plenty of debate available online. From my perspective, if a user's use case is reasonably predictable and they have enough RAM to cover those activities, then functioning is unlikely to be affected if they exclude a swap partition. If over time, however, for example, a user's activities gather more RAM intensive processing, then swap may come into it's own. In the latter example, say the user developed an interest in creating virtual machines which make greater use of RAM. Swap is slow, but if you are using RAM near its limits, swap can get rid of unused memory, that is, pages in memory that are not active for current processes can be moved out, which then makes more RAM available for the user's activities. Users have to best decide these matters themselves based on how they use their computers. In relation to the actual size of RAM, I understand that hibernating on laptops uses swap, which suggests a swap size the size of RAM, but I don't use that function so can't say more.