Originally posted by phuclv
View Post
Announcement
Collapse
No announcement yet.
Fedora Workstation 33 Aiming To Have SWAP-On-ZRAM By Default
Collapse
X
-
-
Typical discussion. Turning the cat's tail.
A lot about m$ windows, even more about something that is not part of Linux - ZFS, about hibernation, about zswap but nothing about the swap in zram.
Leave a comment:
-
Originally posted by skeevy420 View Post
I still use HDDs. More storage for less money. A reboot cycle is faster than multiple GBs to and from a spinner.
Originally posted by starshipeleven View PostI also personally think compressed swap isn't particularly relevant in this day and age where 512GB SSDs are getting cheap
The reason is because CPUs can compress memory even far faster than the modern SSDs can achieve. See the benchmark on the LZ4 repo. Many more modern tools have already switched to LZ4 or Zstd due to their speed advantage. Later Windows versions also compress hibernation data, which results in much faster hibernation and restoration
Windows XP further improved support for hibernation.[8] Hibernation and resumption are much faster as memory pages are compressed using an improved algorithm; compression is overlapped with disk writes, unused memory pages are freed and DMA transfers are used during I/O
https://en.wikipedia.org/wiki/Hibern...rosoft_Windows
- Likes 1
Leave a comment:
-
Originally posted by Britoid View Post
You can usually hibernate successfully with less swap than available RAM, the kernel will attempt to compress and fit the used memory into the available swap space.
Originally posted by Britoid View PostIt's gone now, it got replaced because Windows is very good at hibernation and session restore.
Originally posted by skeevy420 View Post
The problem with the first option is, at least the last time I tried anyways, a full reboot cycle was faster than just going into hibernation, let alone restoring it.
Originally posted by polarathene View Post
Windows hibernation exists? I thought it does hybrid sleep now, so it suspends to RAM for resume, but can write to disk for hibernation. Regular suspend to RAM(S3) also gets phased out for Suspend to Low Power Idle (S0ix), which if implemented well lets s2idle go into power efficient states but still allow for some other hardware to be a bit awake, like wifi, they call it Modern Standby?
- Likes 2
Leave a comment:
-
Originally posted by Britoid View PostIt's gone now, it got replaced because Windows is very good at hibernation and session restore.Last edited by torsionbar28; 26 January 2020, 11:47 PM.
Leave a comment:
-
Originally posted by skeevy420 View Post
I still use HDDs. More storage for less money. A reboot cycle is faster than multiple GBs to and from a spinner.
Some times it's state that is not easily restorable, eg I have 10 Chrome windows open on a few virtual desktops, and perhaps a code editor instance on two of those. A reboot with the ability to restore a session of those windows only goes so far, it fails to relocate the windows to their virtual desktops, and need to be moved/sorted again. Or my terminal instances, if I've got several windows/tabs open, once I reboot, all history is the same for each of them, not unique to the activity I was using it for. Hibernation or Suspend is great for that.
Leave a comment:
-
Hello dear fedora developers,
I'm going ultra OT because my cat-like curiosity makes me wonder how is Stratis doing.
Thanks for all your work and the eventual heads up
- Likes 1
Leave a comment:
-
Trying to configure on Gentoo, but is complicated and I can't understand a shit about zram blocks and etc.
Leave a comment:
-
Originally posted by starshipeleven View PostWho is talking of ZFS compressing files? Don't offend my intelligence you peasant.
ZFS has no concept of "swap file" at all so if I'm saying its handling of compressing swap is wrong this has NOTHING to do with transparent file compression support.
ZFS does a custom shenanigan with a zpool to offer a swap device that is stored on a filesystem and is compressed by the filesystem logic under the kernel's nose. That's what I disagree with.
More offending of my intelligence by strawmanning.
I specifically mentioned the fact that it also can generate NFS sand SMB shares, and you go on a tangent about compression and encryption.
As it is, swap on ZFS is known to cause odd lockups and it one of the few "shoot yourself in the foot" settings that ZFS has.
And it has Need For Speed and Super Mario Brothers? Damn, I should read the ZFS man pages again.
.....but I just thought you were listing random ZFS features like I did the other day when I brought up NFS and SMB
Leave a comment:
-
Originally posted by Spam View PostTerrabtes written is indeed a KPI that your warranty specifies.
Look at Write Endurance table at https://www.anandtech.com/show/13761...lus-ssd-review
What I meant is that this number is so high that it's as meaningless as the MTBF (mean time before failure) rate of hard drives, or the maximum number of spinup/spindown cycles they can endure (which I remember was a thing, once upon a time when HDDs were young technology). You will never encounter it with normal consumer workloads for any SSD built from around 2014 onwards.
For businness is another matter alltogether, but there are businness SSDs that last longer than that, and most of that kind of hardware is in a RAID anyway so you just factor the replacement drives as maintenance cost for your high-speed storage node, and all is fine.
Leave a comment:
Leave a comment: