From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 1382B15ACFB for ; Tue, 18 Apr 2023 00:35:12 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 992ABE09B0; Tue, 18 Apr 2023 00:35:05 +0000 (UTC) Received: from mail-yb1-xb34.google.com (mail-yb1-xb34.google.com [IPv6:2607:f8b0:4864:20::b34]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 0D6CAE099F for ; Tue, 18 Apr 2023 00:35:04 +0000 (UTC) Received: by mail-yb1-xb34.google.com with SMTP id 3so4404195ybc.9 for ; Mon, 17 Apr 2023 17:35:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1681778104; x=1684370104; h=in-reply-to:mime-version:user-agent:date:message-id:autocrypt :openpgp:from:references:to:subject:from:to:cc:subject:date :message-id:reply-to; bh=cvbHeDv+MDTMfWT9GzU5XLJprQU8mqf2xgUq8ddiZrU=; b=PL9gpZAlUuRM3MjtPBtttMs0YyiJeZMyKDRx0B3oItD1+4NqAFwtxaOYujBkCykwQU kGU5pmFGskpHnJO8a1+cIlksmaWdB39+yBq6waLEgQiehD1EPRBBwQ8XQCCNa+qjTHmo 67d0rhmBanMUZDQq+RCEgYkrLxupToEYy0QOikXuYvQKV8AHaR5PTFtiHVRsE7fSPNK7 gbryi7zbhblqWJYjHJCN2G6C+1FvuRKbBn41BHi8iWOdUsJ4Al38EEhhRkjeyxVRjgkn LVLQNsrCM03UDx+5rdZDVqjnmGGCXkpGIj6HQipqBqMm+1qkN8T/Fj2kORg/OPyfyj0n 0P8w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1681778104; x=1684370104; h=in-reply-to:mime-version:user-agent:date:message-id:autocrypt :openpgp:from:references:to:subject:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=cvbHeDv+MDTMfWT9GzU5XLJprQU8mqf2xgUq8ddiZrU=; b=fs5Ic1JszK3E7X8du5U64a74FW6YDxxHjFcNi8Z4w2d+9di9TuDub4FEiLkOXw/km8 Z9jtONx4B7JYgwPZRG7L/aVuFOPDHHGK1WBtT9yTeloWSA48OdehPZ+V/28VT5TitDK4 UyAclZQbIkLuYR/anamWQ0/xHOGnXR8j91Tqg5BDDJY5THVeCl6/EOAC84TN7fUOrU4e wSU0SJq2jkBC9MaK1fCBwJMjENST5I8K6XYdUyHtE1OiYRo8DqTHWwFZuGKVbsIkA3d0 lWMa0zUH6T+KJ0S6c03kHnHAJrpLI1u/XglopjymLOtfBtec4tCUF0paGuSJWEvO9GVS UKrg== X-Gm-Message-State: AAQBX9fPVr7fJMZT3Sjqzl5PUPLfdERMiRPyKbVbeezSYBQrdqku8n5d c5q6TK1y/Z+UcJK56PdJ2WSwSHyFYa0= X-Google-Smtp-Source: AKy350aUTHu4Q8TLJ7FtJJWx95Fd1ozLPy62UAOB2z6v54UzQWWwCQOO9PQ5MXEzr6044qSx4TvcAQ== X-Received: by 2002:a25:1289:0:b0:b8f:47c9:42ad with SMTP id 131-20020a251289000000b00b8f47c942admr19301169ybs.0.1681778104200; Mon, 17 Apr 2023 17:35:04 -0700 (PDT) Received: from [10.8.8.5] ([107.179.20.172]) by smtp.gmail.com with ESMTPSA id h82-20020a252155000000b00b8d65899d76sm3339499ybh.47.2023.04.17.17.35.03 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 17 Apr 2023 17:35:03 -0700 (PDT) Subject: Re: [gentoo-user] Finally got a SSD drive to put my OS on To: gentoo-user@lists.gentoo.org References: <12194979.O9o76ZdvQC@wstn> <19959f07-88a8-f2ee-1523-573f794c9282@iinet.net.au> <9fbad854-2f36-f261-b2f3-4850059f6d2a@gmail.com> <8662fe97-64dc-cbf4-ce49-737ea9b14d06@gmail.com> <28eb1e13-0278-8656-67b7-9d995520f9ce@gmail.com> <83843fb3-8768-4674-7a75-0bf8377c7664@youngman.org.uk> From: Dale Openpgp: preference=signencrypt Autocrypt: addr=rdalek1967@gmail.com; prefer-encrypt=mutual; keydata= mQINBGFSciYBEADcEGMyJBSuavKO/XKUVvgkxck7Nl8Iuu8N2lcnRji/rSKg5c1Acix1ll9i oW8JBCHwvn0+Xy60BvEsqcup3YSHw5STl/bR1ePEehtnYrg8FdjdS91+B805RfnKMm69rFVI wLSBHQrSG1yxHd8CloWoEdhmVtP24buajbh114bgXd9ahtpZrCVMrWdWYUg2mEXguGV5uNAh Rf8SWxDNc79w24JxsV34a8niMUYMjzWr0rafIbzk732X38vGjVMLo/2mMpkbp9mPp++LHoY+ 0Pet8zxxdXPJSCd475kza1AD+hhSyBZXB9yknYWgyY3cZe1rGmooJSi2KX4QxO7npwLThcO1 be6KKRkd35+Fi/a1BzVOHsZMiK/gcwxEFoMd27gir4ehaeHJfFXl+65w4hj0EsOZSxrJrm2C R50g5By2czSKP1bADEygFNpIJj51AR+wM88NImG2RPtlT2maYBzazvF05g65cdHXGp1C7W5P wwwKU2DgABB2t7N7z5A69LnryBRw4zUYDRRYLTYlBlYgg+xILm2c0OrBdxJgLJa7JE50Eo25 d3PFwt9J0gYvqy6sPFLl9So0sDg9zm0hKQtXOP5kgropUFGrNoJI+mjwF4rYLRBVzZwNAvlO OhEvHubBo3mEllv4x+FeptwXZxlk7gUsdqI8AxnFB8K9wi6FVQARAQABtBtEYWxlIDxyZGFs ZWsxOTY3QGdtYWlsLmNvbT6JAk4EEwEIADgCGyMFCwkIBwIGFQoJCAsCBBYCAwECHgECF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3GU1AVpTCMs3ayYCzo0b2pvEvdjtDcA CYLEFPWgaFX9iQAM/CDfKvTtvgGWpqtCL2raq/mQoJEU Message-ID: <54a66890-db6f-2e28-f1bd-b1fd8199af71@gmail.com> Date: Mon, 17 Apr 2023 19:35:01 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0 SeaMonkey/2.53.15 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/alternative; boundary="------------721D183396E6D63C7459F8B7" X-Archives-Salt: 90f002a5-6061-45d8-9fdf-5cff47caa968 X-Archives-Hash: beccf1256526e8634738c6469abc704c This is a multi-part message in MIME format. --------------721D183396E6D63C7459F8B7 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Mark Knecht wrote: > > > On Mon, Apr 17, 2023 at 2:41 AM Wols Lists > wrote: > > > > On 17/04/2023 02:14, Dale wrote: > > > My current install is over a decade old.  My /boot partition is about > > > 375MBs.  I should have made it larger but at the time, I booted CD/DVD > > > media when needed.  I didn't have USB sticks at the time.  This > time, I > > > plan to make some changes.  If I put Knoppix and/or Gentoo LiveGUI in > > > /boot, it will be larger.  Much larger.  Mark's idea is best tho.  > If I > > > can get Grub to work and boot it. > > > > If you dd your boot partition across, you can copy it into a larger > > partition on the new drive, and then just expand the filesystem. > > > > So changing partition sizes isn't a problem if you want to just copy > > your system drive onto a new disk. > > > > Cheers, > > Wol > > I'm not sure I'd use dd in this case. If he's moving from an HDD with > a 4K block size and a 4K file system block size to an SDD with a 16K  > physical block size he might want to consider changing the filesystem  > block size to 16K which should help on the write amplification side. > > Maybe dd can do that but I wouldn't think so. > > And I don't know that formatting ext4 or some other FS to 16K  > really helps the write amplification issue but it makes sense to > me to match the file system blocks to the underlying flash > block size. Real speed testing would be required to ensure reading > 16K blocks doesn't slow him down though. > > Just a thought, > Mark I still haven't got around to partitioning the drive or anything so I'm glad you mentioned the block size.  I need to try and remember that.  It may detect it itself but may not.  I'd rather fix it now than wish I did later on.  I assume that setting is in the man page.  Thanks for that tidbit.  Now to remember it.  :/ Dale :-)  :-)  P. s.  It's garden time for folks around here.  I been busy the past few days.  Tractor and tiller too. --------------721D183396E6D63C7459F8B7 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 8bit
Mark Knecht wrote:


On Mon, Apr 17, 2023 at 2:41 AM Wols Lists <antlists@youngman.org.uk> wrote:
>
> On 17/04/2023 02:14, Dale wrote:
> > My current install is over a decade old.  My /boot partition is about
> > 375MBs.  I should have made it larger but at the time, I booted CD/DVD
> > media when needed.  I didn't have USB sticks at the time.  This time, I
> > plan to make some changes.  If I put Knoppix and/or Gentoo LiveGUI in
> > /boot, it will be larger.  Much larger.  Mark's idea is best tho.  If I
> > can get Grub to work and boot it.
>
> If you dd your boot partition across, you can copy it into a larger
> partition on the new drive, and then just expand the filesystem.
>
> So changing partition sizes isn't a problem if you want to just copy
> your system drive onto a new disk.
>
> Cheers,
> Wol

I'm not sure I'd use dd in this case. If he's moving from an HDD with
a 4K block size and a 4K file system block size to an SDD with a 16K 
physical block size he might want to consider changing the filesystem 
block size to 16K which should help on the write amplification side.

Maybe dd can do that but I wouldn't think so.

And I don't know that formatting ext4 or some other FS to 16K 
really helps the write amplification issue but it makes sense to
me to match the file system blocks to the underlying flash
block size. Real speed testing would be required to ensure reading
16K blocks doesn't slow him down though.

Just a thought,
Mark


I still haven't got around to partitioning the drive or anything so I'm glad you mentioned the block size.  I need to try and remember that.  It may detect it itself but may not.  I'd rather fix it now than wish I did later on.  I assume that setting is in the man page. 

Thanks for that tidbit.  Now to remember it.  :/

Dale

:-)  :-) 

P. s.  It's garden time for folks around here.  I been busy the past few days.  Tractor and tiller too.
--------------721D183396E6D63C7459F8B7--