I was WRONG about ZRAM: ruclips.net/video/OFo5FPt7KYA/видео.html Quick summary, ZRAM was configured in an optimal way and i'm a dummy (; The vid is an extensive explanation of the inner workings of ZRAM!
17:35 You are wrong, on the contrary, BTRFS on HDD is the worst solution even if you disable compression (in this case, on the contrary, it will become worse in speed), and also because of fragmentation during deduplication it is harmful for spinning disks, while not for SSD, especially if we talk about compression. And I would not say that there is a significant loss of performance on the SSD, it is generally unnoticeable the file system is on the NVME disk. I've had Btrfs on a Samsung 860 EVO 256gb Sata SSD with fstrim + asynchronous discard for 3 years now and I still haven't noticed any problems. I also have the systemd scrub timer enabled for / and for /home. Here are my mounting options. rw,noatime,compress=zstd:2,ssd,discard=async,space_cache=v2,subvolid=5,subvol=/
My opinion is based on benchmark: for the HDD it seems to do better than all of the other (the benchs that saw were > 5 years old maybe it changed) no clue why btrfs was faster.... for SSD the benchs are a more recent, and they are not great: www.phoronix.com/news/Linux-5.14-File-Systems I didn't do a great job of explaning but the only reason i care is because of the 'optimize' claims of the distro, using BTRFS isn't bad, just suboptimal if you don't use its features. Thank you for the comment, i love the feedback!
Hey man! Nice video! I just discovered your channel a couple of days ago and i like your selections, your analysis, you are doing a great job! Also i like your voice, other Linux RUclipsrs have annoying voices! lol. As for the CachyOS, I use it on my laptop about 7 months now, and i have to say that i'm impressed with the optimizations and tweaks of this distro, it offers to me everything i want from an Arch install under the hood. Also why it is and no one mentions that this distro offers an easy ZFS installation out of the box? i personally believe that ZFS even not being native, it is the best filesystem, rich in features that can help you have a very good experience even in your daily driver. If i may ask, could you make a video about Nitrux OS and Regata OS? Keep the good work up man! Thnx
ZFS compatibility is becoming more and more of a standard for most linux distros, and lets not lie to ourselves, it easily beats BTRFS in the functionality department! I will test those distros right after the ZRAM video! Thank you for watching!
@@barkingbandicoot zfs is still wayyyy more suported by FreeBSD, Beadm is one of the thing that they do better (; note that this exist: github.com/evan-king/grub2-zfs-be
unfortunately, cachy os is forbidden in iraq. i don't know why, but luckily, the website was working for 1 day. i installed it on my machine bare bone it was great until the website got down again to this day i can not update or do anything about it unless i use vpn, which i won't
@@olokelo I installed this the other day, I feel like I have a brand-new computer! Windows games that wouldn't run on other distros run perfectly on Cachy! When I signed into a Google acount with fwo-factor authentication via my cell phone, I was shocked to see that it said "a Windows device"!
16:04 "You should really have no scheduler at all" Uh.... Isn't that not possible? No matter what there is a scheduler, you'd just be using the default rather then one of the ones that is optimized one way or the other. You still have a scheduler. Your description of build flags/optimizations seemed sub-optimal..... It lacked any information on why others aren't using the the optimizations (they probably are,), and what makes Cachy's compiling to a specific version of the optimizations different (at the risk of also describing it badly: Cachy won't run at all when the hardware doesn't support the optimizations, but because it doesn't have to CHECK if the optimizations are useable when it runs (what others are doing when they want the optimizations), it saves the time to do the check). Your description also leaves out the (theoretical) idea that if say you are playing a windows game using WINE that, both WINE and the Kernel could be running faster, and because of that, the game in turn could run faster since A: when WINE draws frames for the game faster the game is in fact running faster, and B: if WINE/Kernel are running faster that leaves more overhead available on the CPU for the game to use if it needs it, which yes, you're right who cares if the CPU is at 60% VS 50%, but in situations where it's 100% VS 95% that could be a big difference. Those are all kind of a large point of the video so really should be right...... On a more subjective point: I was also hoping this video would have some benchmarks of at least the things you spoke about (27:36) rather then using quickmath, that might be expecting too much on my part though rather then something that needs to have something done about it.
"None" is a valid scheduler that will give you the most barebone scheduler possible. The way they manage to have the optimization is by detecting your cpu's version and setting a different repository depending on it. Other distros don't waste the space and only keep one copy of the software (the unoptimized one). For your WINE idea, maybe i don't know how WINE works but it thought that it allows you to run windows binary code by giving that binary code the utilities and shortcuts of the windows os. In that case the optimisation would only be on those and not the game/program that would have the v3/v4 optimization... For the Quickmath part: www.phoronix.com/review/cachyos-x86-64-v3-v4 we can see the perf gain and it may be really usefull depending on the usecase (gcc, clang, video codecs comes to mind as cpu intensive and opensource). My point was more for the folks that says "will i feel my desktop being faster" and i don't belive that people will feel the difference... Thank you for your comment, i'm just starting out and i see where my videos need more work!
10:31 "meaning if you put something into ram it will be compressed" - you're confusing ram with swap; here zram is used to put the swap (which is ram data put on disk because it hasn't been accessed for a long time, or used when you're out of ram) in a compressed block of the ram instead of on disk By example zram could also be used to store /tmp in ram without taking too much space
Agree! i'm making a vid that should be out in a day or 2 with a deep dive in ZRAM, turns out i was wrong with alot on that side.. Thank you for the feedback!
@@Maple-Circuit There is a button to enable Snapper support with automatic snapshots each update, and daily home snapshots :) We just dont want to overtake the users decision in general. and thanks for the video (Founder/Developer of CachyOS)
ally with Garuda, can sort of already do that yourself, just add cachyos repo to your garuda install. A topic for perhaps a new video someday, sdd test with different formats with optimum mount options? You really dont like btrfs =)
Sorry to say ... but I don't agree with many of the things you are saying. I have tested many different distros, and my top 2 choose are CachyOS or EndeavourOS ... They are SO EASY TO INSTALL!! Also, they are very stable. Garuda is .... ummm ... One onces say: IF you don't have something nice to say, then DON'T...
At the end of the day, our opinions are informed by our experience. I had more trouble with arch base than with any other distro type.... But i agree that the install process with cachy is very good! Thanks for the feedback (;
I'm not sure where i am on zram anymore... i started to do some testing with it and its a way more complicated system then i (or anyone really) make it out to be. I'm currently making a bunch of benchmarks and a video on it, if i'm wrong, i'll be more than happy to call myself a dummy(; but even if zram size doesn't affect zram usage, zram shouldn't be there in the first place if your pc has no shortage of ram... the pc will start using zram before the ram is full. Thank you for the comment, feedback is always appreciated!
@@Maple-Circuitthe goal of zram is to serve as compressed on-ram storage, not to compress working memory. Once you run out of RAM, your OS will normally try writing to a swap partition on disk to use as temporary storage for memory that's not being used. Once that memory is requested the OS has to fetch it from disk and swap it with another page of memory if needed (hence swap). Using zram, once the OS sees it will need swap it compresses some pages of memory to save space, and uncompressed it as needed. This means instead of doing a round trip from RAM to the SSD, you just do a round trip from RAM to CPU which is vastly faster. If you have the right amount of memory as suggested, you won't use swap for key processes and it won't matter that zram is enabled as the OS will never need to use it. Of course it probably will still use it depending on how it wants to handle swap. You can always disable swap entirely if that's a worry but the performance impact should be unnoticeable.
I was WRONG about ZRAM: ruclips.net/video/OFo5FPt7KYA/видео.html
Quick summary, ZRAM was configured in an optimal way and i'm a dummy (;
The vid is an extensive explanation of the inner workings of ZRAM!
17:35 You are wrong, on the contrary, BTRFS on HDD is the worst solution even if you disable compression (in this case, on the contrary, it will become worse in speed), and also because of fragmentation during deduplication it is harmful for spinning disks, while not for SSD, especially if we talk about compression. And I would not say that there is a significant loss of performance on the SSD, it is generally unnoticeable the file system is on the NVME disk. I've had Btrfs on a Samsung 860 EVO 256gb Sata SSD with fstrim + asynchronous discard for 3 years now and I still haven't noticed any problems. I also have the systemd scrub timer enabled for / and for /home. Here are my mounting options.
rw,noatime,compress=zstd:2,ssd,discard=async,space_cache=v2,subvolid=5,subvol=/
My opinion is based on benchmark: for the HDD it seems to do better than all of the other (the benchs that saw were > 5 years old maybe it changed) no clue why btrfs was faster.... for SSD the benchs are a more recent, and they are not great: www.phoronix.com/news/Linux-5.14-File-Systems
I didn't do a great job of explaning but the only reason i care is because of the 'optimize' claims of the distro, using BTRFS isn't bad, just suboptimal if you don't use its features. Thank you for the comment, i love the feedback!
The only distro that gave me problems with lutris with nvidia driver = Cachyos
Launeched CachyOS with my 4090 since Yesterday. Awesome. Simply awesome.
Hey man! Nice video! I just discovered your channel a couple of days ago and i like your selections, your analysis, you are doing a great job! Also i like your voice, other Linux RUclipsrs have annoying voices! lol. As for the CachyOS, I use it on my laptop about 7 months now, and i have to say that i'm impressed with the optimizations and tweaks of this distro, it offers to me everything i want from an Arch install under the hood. Also why it is and no one mentions that this distro offers an easy ZFS installation out of the box? i personally believe that ZFS even not being native, it is the best filesystem, rich in features that can help you have a very good experience even in your daily driver. If i may ask, could you make a video about Nitrux OS and Regata OS? Keep the good work up man! Thnx
ZFS compatibility is becoming more and more of a standard for most linux distros, and lets not lie to ourselves, it easily beats BTRFS in the functionality department! I will test those distros right after the ZRAM video! Thank you for watching!
Interesting. Does ZFS have beadm capability like on FreeBSD also?
@@barkingbandicoot zfs is still wayyyy more suported by FreeBSD, Beadm is one of the thing that they do better (; note that this exist: github.com/evan-king/grub2-zfs-be
Keep up man...❤❤❤
A video review on the system76 cosmic DE would be cool.
will do!
unfortunately, cachy os is forbidden in iraq. i don't know why, but luckily, the website was working for 1 day. i installed it on my machine bare bone it was great until the website got down again to this day i can not update or do anything about it unless i use vpn, which i won't
Why don't you use VPN ?
weird stuff, I wonder why they're blocking it
@@olokelo the weapons of mass destruction kind of that
@@wikwayer it just more pain
@@olokelo I installed this the other day, I feel like I have a brand-new computer! Windows games that wouldn't run on other distros run perfectly on Cachy! When I signed into a Google acount with fwo-factor authentication via my cell phone, I was shocked to see that it said "a Windows device"!
16:04 "You should really have no scheduler at all" Uh.... Isn't that not possible? No matter what there is a scheduler, you'd just be using the default rather then one of the ones that is optimized one way or the other. You still have a scheduler. Your description of build flags/optimizations seemed sub-optimal..... It lacked any information on why others aren't using the the optimizations (they probably are,), and what makes Cachy's compiling to a specific version of the optimizations different (at the risk of also describing it badly: Cachy won't run at all when the hardware doesn't support the optimizations, but because it doesn't have to CHECK if the optimizations are useable when it runs (what others are doing when they want the optimizations), it saves the time to do the check). Your description also leaves out the (theoretical) idea that if say you are playing a windows game using WINE that, both WINE and the Kernel could be running faster, and because of that, the game in turn could run faster since A: when WINE draws frames for the game faster the game is in fact running faster, and B: if WINE/Kernel are running faster that leaves more overhead available on the CPU for the game to use if it needs it, which yes, you're right who cares if the CPU is at 60% VS 50%, but in situations where it's 100% VS 95% that could be a big difference. Those are all kind of a large point of the video so really should be right...... On a more subjective point: I was also hoping this video would have some benchmarks of at least the things you spoke about (27:36) rather then using quickmath, that might be expecting too much on my part though rather then something that needs to have something done about it.
"None" is a valid scheduler that will give you the most barebone scheduler possible. The way they manage to have the optimization is by detecting your cpu's version and setting a different repository depending on it. Other distros don't waste the space and only keep one copy of the software (the unoptimized one). For your WINE idea, maybe i don't know how WINE works but it thought that it allows you to run windows binary code by giving that binary code the utilities and shortcuts of the windows os. In that case the optimisation would only be on those and not the game/program that would have the v3/v4 optimization... For the Quickmath part: www.phoronix.com/review/cachyos-x86-64-v3-v4 we can see the perf gain and it may be really usefull depending on the usecase (gcc, clang, video codecs comes to mind as cpu intensive and opensource). My point was more for the folks that says "will i feel my desktop being faster" and i don't belive that people will feel the difference... Thank you for your comment, i'm just starting out and i see where my videos need more work!
Wow... KEEP UP!!
10:31 "meaning if you put something into ram it will be compressed" - you're confusing ram with swap; here zram is used to put the swap (which is ram data put on disk because it hasn't been accessed for a long time, or used when you're out of ram) in a compressed block of the ram instead of on disk
By example zram could also be used to store /tmp in ram without taking too much space
Agree! i'm making a vid that should be out in a day or 2 with a deep dive in ZRAM, turns out i was wrong with alot on that side.. Thank you for the feedback!
Which is better, Cachy VS Nobara?
1+
Don't you need btrfs if you want to do snapshots?🤔
Yep, i just think they should be implemented by default, if they are not, why are you using BTRFS...
@@Maple-Circuit it's default on opensuse Tumbleweed
@@Maple-Circuit There is a button to enable Snapper support with automatic snapshots each update, and daily home snapshots :)
We just dont want to overtake the users decision in general.
and thanks for the video
(Founder/Developer of CachyOS)
@@ptr_1337 Dude, your distro is the shit
@@Error8x8 Thanks!
ally with Garuda, can sort of already do that yourself, just add cachyos repo to your garuda install. A topic for perhaps a new video someday, sdd test with different formats with optimum mount options? You really dont like btrfs =)
CachyOS making their stuff a repo was the best idea! Yes, I need to do a big test with multiple FS to see which will be the best.... maybe next week!
Sorry to say ... but I don't agree with many of the things you are saying.
I have tested many different distros, and my top 2 choose are CachyOS or EndeavourOS ... They are SO EASY TO INSTALL!! Also, they are very stable.
Garuda is .... ummm ... One onces say: IF you don't have something nice to say, then DON'T...
At the end of the day, our opinions are informed by our experience. I had more trouble with arch base than with any other distro type.... But i agree that the install process with cachy is very good!
Thanks for the feedback (;
shroot
I am shroot!!
Don't shroot me
That is not how zram works. You are confusing swappiness with zram max size allocation - they are not the same.
I'm not sure where i am on zram anymore... i started to do some testing with it and its a way more complicated system then i (or anyone really) make it out to be. I'm currently making a bunch of benchmarks and a video on it, if i'm wrong, i'll be more than happy to call myself a dummy(; but even if zram size doesn't affect zram usage, zram shouldn't be there in the first place if your pc has no shortage of ram... the pc will start using zram before the ram is full. Thank you for the comment, feedback is always appreciated!
@@Maple-Circuitthe goal of zram is to serve as compressed on-ram storage, not to compress working memory. Once you run out of RAM, your OS will normally try writing to a swap partition on disk to use as temporary storage for memory that's not being used. Once that memory is requested the OS has to fetch it from disk and swap it with another page of memory if needed (hence swap).
Using zram, once the OS sees it will need swap it compresses some pages of memory to save space, and uncompressed it as needed. This means instead of doing a round trip from RAM to the SSD, you just do a round trip from RAM to CPU which is vastly faster.
If you have the right amount of memory as suggested, you won't use swap for key processes and it won't matter that zram is enabled as the OS will never need to use it. Of course it probably will still use it depending on how it wants to handle swap. You can always disable swap entirely if that's a worry but the performance impact should be unnoticeable.
@@leeroyjenkins0 Alan Pope said you should always have some swap because the kernel uses it even if you have 32G or even more RAM🤔