Re: Reasonably simple setup for 1TB HDD and 250GB M.2 NVMe SSD

2022-01-04 Thread Michael Stone
On Mon, Jan 03, 2022 at 08:51:59PM -0300, Jorge P. de Morais Neto wrote: But doesn't Btrfs compression work with small blocks? https://btrfs.wiki.kernel.org/index.php/Compression#Are_there_speed_penalties_when_doing_random_access_to_a_compressed_file.3F Relatively small, which makes it fairly

Re: Reasonably simple setup for 1TB HDD and 250GB M.2 NVMe SSD

2022-01-03 Thread Jorge P . de Morais Neto
Hi! Em [2022-01-03 seg 10:03:08-0500], Michael Stone escreveu: > On Mon, Jan 03, 2022 at 08:42:29AM -0300, Jorge P. de Morais Neto wrote: >>Indeed I use such high compression to prolong SSD lifetime. > > This is probably misguided and useless at best, at worst you're causing > additional writes

Re: Reasonably simple setup for 1TB HDD and 250GB M.2 NVMe SSD

2022-01-03 Thread Michael Stone
On Mon, Jan 03, 2022 at 10:33:59AM -0500, Dan Ritter wrote: Michael Stone wrote: On Mon, Jan 03, 2022 at 08:42:29AM -0300, Jorge P. de Morais Neto wrote: > Indeed I use such high compression to prolong SSD lifetime. This is probably misguided and useless at best, at worst you're causing additio

Re: Reasonably simple setup for 1TB HDD and 250GB M.2 NVMe SSD

2022-01-03 Thread Dan Ritter
Michael Stone wrote: > On Mon, Jan 03, 2022 at 08:42:29AM -0300, Jorge P. de Morais Neto wrote: > > Indeed I use such high compression to prolong SSD lifetime. > > This is probably misguided and useless at best, at worst you're causing > additional writes because compressed data is generally hard

Re: Reasonably simple setup for 1TB HDD and 250GB M.2 NVMe SSD

2022-01-03 Thread Michael Stone
On Mon, Jan 03, 2022 at 08:42:29AM -0300, Jorge P. de Morais Neto wrote: Indeed I use such high compression to prolong SSD lifetime. This is probably misguided and useless at best, at worst you're causing additional writes because compressed data is generally hard to modify in place without r

Re: Reasonably simple setup for 1TB HDD and 250GB M.2 NVMe SSD

2022-01-03 Thread Jorge P . de Morais Neto
Em [2022-01-02 dom 23:38:48+], piorunz escreveu: > On 02/01/2022 16:33, Jorge P. de Morais Neto wrote: >> I am currently using compress-force=zstd:12 for the SSD and >> compress=zstd:12 for both HDD (internal SATA and external USB3)¹. >> Despite the strong compression level, performance is pre

Re: Reasonably simple setup for 1TB HDD and 250GB M.2 NVMe SSD

2022-01-02 Thread piorunz
On 02/01/2022 16:33, Jorge P. de Morais Neto wrote: Hi Piotr! Happy 2022! Hi Jorge! Likewise! Have you revised after kernel Linux 4.15? The btrfs(5) manpage says: Since kernel 4.15, a set of heuristic algorithms have been improved by using frequency sampling, repea

Re: Reasonably simple setup for 1TB HDD and 250GB M.2 NVMe SSD

2022-01-02 Thread Jorge P . de Morais Neto
Hi Piotr! Happy 2022! Em [2021-12-08 qua 22:54:29+], piorunz escreveu: > On 08/12/2021 19:35, Jorge P. de Morais Neto wrote: >> - Why `compress-force' instead of simply `compress'? > > I've read very extensive discussion about that and came to conclusion > that compress-force is better. It

Re: Reasonably simple setup for 1TB HDD and 250GB M.2 NVMe SSD

2021-12-15 Thread Andy Smith
Hi Jorge, On Wed, Dec 15, 2021 at 11:39:59AM -0300, Jorge P. de Morais Neto wrote: > I intend to use Btrfs. This means if I later decide to use some of the > unpartitioned space, I can easily and efficiently add it to the main > Btrfs file system without directly using LVM (since Btrfs actually >

Re: Reasonably simple setup for 1TB HDD and 250GB M.2 NVMe SSD

2021-12-15 Thread Andrei POPESCU
On Ma, 14 dec 21, 14:30:10, Jorge P. de Morais Neto wrote: > Hello! I apologize for the delay and reply below: > > Em [2021-12-09 qui 11:36:17+0200], Anssi Saari escreveu: > > >> I would have tmpfs on /tmp---I have read that long thread where > >> someone alleged that moving /tmp to tmpfs makes

Re: Reasonably simple setup for 1TB HDD and 250GB M.2 NVMe SSD

2021-12-15 Thread hdv@gmail
On 2021-12-15 15:51, Jorge P. de Morais Neto wrote: Hello, Em [2021-12-09 qui 15:00:43+0100], hdv@gmail escreveu: Regarding the swap space: I wouldn't make it so big. That really isn't necessary. I have a 64GB RAM system here, on which I have 2GB of swap. I doubt I have ever seen conky show

Re: Reasonably simple setup for 1TB HDD and 250GB M.2 NVMe SSD

2021-12-15 Thread Jorge P . de Morais Neto
Hello, Em [2021-12-09 qui 15:00:43+0100], hdv@gmail escreveu: > Regarding the swap space: I wouldn't make it so big. That really isn't > necessary. I have a 64GB RAM system here, on which I have 2GB of swap. I > doubt I have ever seen conky show me more than 35% use. And I am quite a > hea

Re: Reasonably simple setup for 1TB HDD and 250GB M.2 NVMe SSD

2021-12-15 Thread Jorge P . de Morais Neto
Hello, Em [2021-12-09 qui 01:02:17+], Andy Smith escreveu: > If you are still worried you could partition just half of it and use > it as a physical volume for LVM, which you might want to do anyway to > encrypt it (LUKS), Then over time you can see how much you have > written, how much life

Re: Reasonably simple setup for 1TB HDD and 250GB M.2 NVMe SSD

2021-12-15 Thread Jorge P . de Morais Neto
Hi. Em [2021-12-09 qui 05:14:09+0500], Alexander V. Makartsev escreveu: > So, if you plan to use NVMe SSD as a system drive, I suggest you also > keep /swap partition I am considering swapping to the SSD, yes. > Also, I suggest you to make backups of /home on daily schedule to HDD, > because d

Re: Reasonably simple setup for 1TB HDD and 250GB M.2 NVMe SSD

2021-12-14 Thread David Christensen
On 12/14/21 9:39 AM, Jorge P. de Morais Neto wrote: Hello! Em [2021-12-08 qua 22:05:50-0800], David Christensen escreveu: I would remove the 1 TB HDD, install the 250 GB NVMe SSD, and do a fresh install of Debian 11 with MBR partitioning, 1E+9 byte boot partition (ext4) Why MBR partitioning

Re: Reasonably simple setup for 1TB HDD and 250GB M.2 NVMe SSD

2021-12-14 Thread Jorge P . de Morais Neto
Hello! Em [2021-12-08 qua 22:05:50-0800], David Christensen escreveu: > I would remove the 1 TB HDD, install the 250 GB NVMe SSD, and do a fresh > install of Debian 11 with MBR partitioning, 1E+9 byte boot partition > (ext4) Why MBR partitioning and why a separate boot partition? > I would pu

Re: Reasonably simple setup for 1TB HDD and 250GB M.2 NVMe SSD

2021-12-11 Thread Andrew M.A. Cater
On Fri, Dec 10, 2021 at 08:08:22AM -0700, Charles Curley wrote: > On Fri, 10 Dec 2021 08:26:24 -0500 > Dan Ritter wrote: > > > Many laptops never need to go to disk-stored suspension; a low-power > > sleep mode is all they need to get through to the next power point. > > For the cases where it is

Re: Reasonably simple setup for 1TB HDD and 250GB M.2 NVMe SSD

2021-12-10 Thread Charles Curley
On Fri, 10 Dec 2021 08:26:24 -0500 Dan Ritter wrote: > Many laptops never need to go to disk-stored suspension; a low-power > sleep mode is all they need to get through to the next power point. > For the cases where it is necessary, it should be as reliable as > possible. Perhaps. But one reason

Re: Reasonably simple setup for 1TB HDD and 250GB M.2 NVMe SSD

2021-12-10 Thread Dan Ritter
Andrei POPESCU wrote: > On Vi, 10 dec 21, 07:21:37, Dan Ritter wrote: > > Andrei POPESCU wrote: > > > On Jo, 09 dec 21, 09:46:26, Dan Ritter wrote: > > > > > > > > In a more perfect world, the space for suspension would not > > > > otherwise be treated as swap space. > > > > > > It still has to

Re: Reasonably simple setup for 1TB HDD and 250GB M.2 NVMe SSD

2021-12-10 Thread Darac Marjal
On 10/12/2021 12:21, Dan Ritter wrote: Andrei POPESCU wrote: On Jo, 09 dec 21, 09:46:26, Dan Ritter wrote: In a more perfect world, the space for suspension would not otherwise be treated as swap space. It still has to be reserved from somewhere, and swap appears to be the logical choice for

Re: Reasonably simple setup for 1TB HDD and 250GB M.2 NVMe SSD

2021-12-10 Thread Andrei POPESCU
On Vi, 10 dec 21, 07:21:37, Dan Ritter wrote: > Andrei POPESCU wrote: > > On Jo, 09 dec 21, 09:46:26, Dan Ritter wrote: > > > > > > In a more perfect world, the space for suspension would not > > > otherwise be treated as swap space. > > > > It still has to be reserved from somewhere, and swap a

Re: Reasonably simple setup for 1TB HDD and 250GB M.2 NVMe SSD

2021-12-10 Thread Dan Ritter
Andrei POPESCU wrote: > On Jo, 09 dec 21, 09:46:26, Dan Ritter wrote: > > > > In a more perfect world, the space for suspension would not > > otherwise be treated as swap space. > > It still has to be reserved from somewhere, and swap appears to be the > logical choice for that. No, it was a c

Re: Reasonably simple setup for 1TB HDD and 250GB M.2 NVMe SSD

2021-12-10 Thread Andrei POPESCU
On Jo, 09 dec 21, 09:46:26, Dan Ritter wrote: > > In a more perfect world, the space for suspension would not > otherwise be treated as swap space. It still has to be reserved from somewhere, and swap appears to be the logical choice for that. Kind regards, Andrei -- http://wiki.debian.org/FAQ

Re: Reasonably simple setup for 1TB HDD and 250GB M.2 NVMe SSD

2021-12-10 Thread Darac Marjal
On 10/12/2021 04:53, David Wright wrote: On Thu 09 Dec 2021 at 17:12:01 (-), Curt wrote: On 2021-12-09, hdv@gmail wrote: Swap is where a laptop stores RAM during suspend-to-disk, the long term hibernation suspension. Without at least as much swap as RAM, you are limited to suspend-to-RAM.

Re: Reasonably simple setup for 1TB HDD and 250GB M.2 NVMe SSD

2021-12-09 Thread David Wright
On Thu 09 Dec 2021 at 17:12:01 (-), Curt wrote: > On 2021-12-09, hdv@gmail wrote: > >> > >> Swap is where a laptop stores RAM during suspend-to-disk, the long > >> term hibernation suspension. Without at least as much swap as > >> RAM, you are limited to suspend-to-RAM. > >> > >> In a more p

Re: Reasonably simple setup for 1TB HDD and 250GB M.2 NVMe SSD

2021-12-09 Thread piorunz
On 09/12/2021 16:16, piorunz wrote: I monitor SMART very closely. Just spend last hour adding things to my Telegram bot which monitors my server passively: https://i.imgur.com/TnI0kex.png https://i.imgur.com/3RQQWT1.png All important SMART fields which are 0, are now hidden, I only see non-ze

Re: Reasonably simple setup for 1TB HDD and 250GB M.2 NVMe SSD

2021-12-09 Thread Curt
On 2021-12-09, hdv@gmail wrote: >> >> Swap is where a laptop stores RAM during suspend-to-disk, the long >> term hibernation suspension. Without at least as much swap as >> RAM, you are limited to suspend-to-RAM. >> >> In a more perfect world, the space for suspension would not >> otherwise be t

Re: Reasonably simple setup for 1TB HDD and 250GB M.2 NVMe SSD

2021-12-09 Thread piorunz
On 09/12/2021 15:22, Alexander V. Makartsev wrote: "Crucial MX500 250GB" is based on a NAND 3D TLC-3bit¹ ICs and rated only 100TBW. That is a relatively small amount, if you compare it to the devices I was talking about. Now if you take 12% for 2 years of 100TBW drive, which may look like a lot

Re: Reasonably simple setup for 1TB HDD and 250GB M.2 NVMe SSD

2021-12-09 Thread hdv@gmail
On 2021-12-09 15:46, Dan Ritter wrote: hdv@gmail wrote: On 2021-12-08 15:27, Jorge P. de Morais Neto wrote: Hi everyone! I have a Dell Inspiron 5570 laptop with 1TB HDD and 16 GiB RAM (it supports 32 GiB). I am about to buy an M.2 NVMe 250GB SSD---a Regarding the swap space: I wouldn't ma

Re: Reasonably simple setup for 1TB HDD and 250GB M.2 NVMe SSD

2021-12-09 Thread Alexander V. Makartsev
On 09.12.2021 15:22, piorunz wrote: On 09/12/2021 00:14, Alexander V. Makartsev wrote: I'd advise against doing extra over-provisioning and making /swap on slow HDD. IMO it is a thing of the past, especially on a home\personal computer. Modern NAND technology and provisioning algorithms made SSD

Re: Reasonably simple setup for 1TB HDD and 250GB M.2 NVMe SSD

2021-12-09 Thread Dan Ritter
hdv@gmail wrote: > On 2021-12-08 15:27, Jorge P. de Morais Neto wrote: > > Hi everyone! I have a Dell Inspiron 5570 laptop with 1TB HDD and 16 GiB > > RAM (it supports 32 GiB). I am about to buy an M.2 NVMe 250GB SSD---a > Regarding the swap space: I wouldn't make it so big. That really isn't

Re: Reasonably simple setup for 1TB HDD and 250GB M.2 NVMe SSD

2021-12-09 Thread hdv@gmail
On 2021-12-08 15:27, Jorge P. de Morais Neto wrote: Hi everyone! I have a Dell Inspiron 5570 laptop with 1TB HDD and 16 GiB RAM (it supports 32 GiB). I am about to buy an M.2 NVMe 250GB SSD---a Western Digital WD Blue SN550. I would like to set the system for reliability, SSD durability¹ and p

Re: Reasonably simple setup for 1TB HDD and 250GB M.2 NVMe SSD

2021-12-09 Thread piorunz
On 08/12/2021 19:35, Jorge P. de Morais Neto wrote: - noatime: I didn't know about this issue, I thought relatime was efficient enough. Thank you for the tip! - nodiratime: According to the mount manpage, noatime implies nodiratime. That's correct, I removed nodiratime. - ssd: Does

Re: Reasonably simple setup for 1TB HDD and 250GB M.2 NVMe SSD

2021-12-09 Thread Dan Ritter
Anssi Saari wrote: > > In general, I wonder what Debian's policy is on Guix? Does it create a > FrankenDebian? I wonder the same about Debian-Multimedia too. Some > poeple seem to hate that, I use it for GPU accelerated ffmpeg for the > rare occasions when I need to encode video. And they package

Re: Reasonably simple setup for 1TB HDD and 250GB M.2 NVMe SSD

2021-12-09 Thread piorunz
On 09/12/2021 00:14, Alexander V. Makartsev wrote: I'd advise against doing extra over-provisioning and making /swap on slow HDD. IMO it is a thing of the past, especially on a home\personal computer. Modern NAND technology and provisioning algorithms made SSDs quite resilient. It is more likely

Re: Reasonably simple setup for 1TB HDD and 250GB M.2 NVMe SSD

2021-12-09 Thread Anssi Saari
"Jorge P. de Morais Neto" writes: > Hi everyone! I have a Dell Inspiron 5570 laptop with 1TB HDD and 16 GiB > RAM (it supports 32 GiB). I am about to buy an M.2 NVMe 250GB SSD---a > Western Digital WD Blue SN550. I would like to set the system for > reliability, SSD durability¹ and performance

Re: Reasonably simple setup for 1TB HDD and 250GB M.2 NVMe SSD

2021-12-08 Thread David Christensen
On 12/8/21 6:27 AM, Jorge P. de Morais Neto wrote: Hi everyone! I have a Dell Inspiron 5570 laptop with 1TB HDD and 16 GiB RAM (it supports 32 GiB). I am about to buy an M.2 NVMe 250GB SSD---a Western Digital WD Blue SN550. I would like to set the system for reliability, SSD durability¹ and pe

Re: Reasonably simple setup for 1TB HDD and 250GB M.2 NVMe SSD

2021-12-08 Thread Andy Smith
Hello, On Thu, Dec 09, 2021 at 05:14:09AM +0500, Alexander V. Makartsev wrote: > Bottom line, there is a high probability that your SSD will work fine for > many years and if/when it will die for whatever reason, just replace it and > recover data (or a whole system) from backups. OP: I agree wit

Re: Reasonably simple setup for 1TB HDD and 250GB M.2 NVMe SSD

2021-12-08 Thread Alexander V. Makartsev
On 08.12.2021 19:27, Jorge P. de Morais Neto wrote: Hi everyone! I have a Dell Inspiron 5570 laptop with 1TB HDD and 16 GiB RAM (it supports 32 GiB). I am about to buy an M.2 NVMe 250GB SSD---a Western Digital WD Blue SN550. I would like to set the system for reliability, SSD durability¹ and p

Re: Reasonably simple setup for 1TB HDD and 250GB M.2 NVMe SSD

2021-12-08 Thread piorunz
On 08/12/2021 19:35, Jorge P. de Morais Neto wrote: Hi. Thank you for your response. Em [2021-12-08 qua 14:49:50+], piorunz escreveu: I understand you have one SATA 2.5" slot in your laptop and one NVMe slot, and you want to utilize them both. That is correct. On the SSD I intend to l

Re: Reasonably simple setup for 1TB HDD and 250GB M.2 NVMe SSD

2021-12-08 Thread Jorge P . de Morais Neto
Hi. Thank you for your response. Em [2021-12-08 qua 14:49:50+], piorunz escreveu: > I understand you have one SATA 2.5" slot in your laptop and one NVMe > slot, and you want to utilize them both. That is correct. >> On the SSD I intend to leave 35 GB unpartitioned for extra over >> provisi

Re: Reasonably simple setup for 1TB HDD and 250GB M.2 NVMe SSD

2021-12-08 Thread piorunz
On 08/12/2021 14:27, Jorge P. de Morais Neto wrote: I understand you have one SATA 2.5" slot in your laptop and one NVMe slot, and you want to utilize them both. My post below work on this assumption. For backups, I would continue my weekly manual backups to my 1.5 TB external HDD with duplicit

Reasonably simple setup for 1TB HDD and 250GB M.2 NVMe SSD

2021-12-08 Thread Jorge P. de Morais Neto
Hi everyone! I have a Dell Inspiron 5570 laptop with 1TB HDD and 16 GiB RAM (it supports 32 GiB). I am about to buy an M.2 NVMe 250GB SSD---a Western Digital WD Blue SN550. I would like to set the system for reliability, SSD durability¹ and performance. I have looked at [Multi HDD/SSD Partition