From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-user+bounces-191444-garchives=archives.gentoo.org@lists.gentoo.org> Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id CA1EC1382C5 for <garchives@archives.gentoo.org>; Fri, 22 May 2020 15:43:43 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 611D6E08BF; Fri, 22 May 2020 15:43:38 +0000 (UTC) Received: from mail-ej1-f42.google.com (mail-ej1-f42.google.com [209.85.218.42]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 21D9BE088D for <gentoo-user@lists.gentoo.org>; Fri, 22 May 2020 15:43:37 +0000 (UTC) Received: by mail-ej1-f42.google.com with SMTP id s3so13563376eji.6 for <gentoo-user@lists.gentoo.org>; Fri, 22 May 2020 08:43:37 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=M+vOc909nODUQ5fXWNWiQjaG6IPKUpiMnWc5PBHTl9c=; b=ITa04iw3JXmmD+ygHy3iGyj7AVFlu0n1rrMwpwtnEhy4Vu9agH/AkQYrdDjdVMot1r RBOpSmRiD4P30Rc3a9TwucS/1/gx0tP+Vn4/OkdcffOxjwbsTxToVsqPQUKXz+dB21IF SvHTGDIel5tVdzBel88heCNiIBInonVUPSkTusvN1opDfF/xR8B5FQQ3p4O2kLzo0YyP DPLhj8s6ouITPBqbCw76+ZsHtcEMwYSya4sLdt/wfLaNYzR/KDf8mxVlH04xYFBr5YRV uqNvDUjbOmaA8yY8Ivb1eVfYnua/RKFawQPPeT3PstsnC+sCbopvkTTzNwKeLmc9z7Gk L/Pw== X-Gm-Message-State: AOAM5326ZZ6crLISiiH32P2F4cku+OlLBcWB14SLhgrPSu6DUiV1E2ZM +P8Pk/2/4aAanmmBpqTdkmz833kvVOTLqtDD6eHOa4hRRrA= X-Google-Smtp-Source: ABdhPJxPHh0ZPrxhRkIPPoLlOTAokRG5PHfXc6ADCkEK+faxur/8a61p8YrIC8U7kzfr53aRdxBJhWPysq9qhGRGHoc= X-Received: by 2002:a17:906:34c7:: with SMTP id h7mr8568097ejb.300.1590162216262; Fri, 22 May 2020 08:43:36 -0700 (PDT) Precedence: bulk List-Post: <mailto:gentoo-user@lists.gentoo.org> List-Help: <mailto:gentoo-user+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-user+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-user+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-user.gentoo.org> 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 References: <659f766d-a697-08fc-baeb-9e4356c0a58e@gmail.com> <CAGfcS_=UfE7HGA3iGnzt0FucCF60G5mr+3TOoa8qtj-cGTMT2w@mail.gmail.com> <9bafdc79-a77f-1b57-6372-b611176164f4@youngman.org.uk> <1756899.CQOukoFCf9@lenovo.localdomain> In-Reply-To: <1756899.CQOukoFCf9@lenovo.localdomain> From: Rich Freeman <rich0@gentoo.org> Date: Fri, 22 May 2020 11:43:24 -0400 Message-ID: <CAGfcS_kWxr_o40dbsNnmzi4F2Cz2yZSvMN8z2vtdhoNdTgWV+Q@mail.gmail.com> Subject: Re: [gentoo-user] Seagate ST8000NM0065 PMR or SMR plus NAS SAS SATA question To: gentoo-user@lists.gentoo.org Content-Type: text/plain; charset="UTF-8" X-Archives-Salt: d303c68f-71d3-4559-9ab6-2984c4dd65c2 X-Archives-Hash: c5bc1ec66d1d8a8eb1ef80be8d8c4db4 On Fri, May 22, 2020 at 11:32 AM Michael <confabulate@kintzios.com> wrote: > > An interesting article mentioning WD Red NAS drives which may actually be SMRs > and how latency increases when cached writes need to be transferred into SMR > blocks. Yeah, there is a lot of background on this stuff. You should view a drive-managed SMR drive as basically a journaled filesystem/database masquerading as a virtual drive. One where the keys/filenames are LBAs, and all the files are 512 bytes long. :) Really even most spinning drives are this way due to the 4k physical sectors, but this is something much easier to deal with and handled by the OS with aligned writes as much as possible. SSDs have similar issues but again the impact isn't nearly as bad and is more easily managed by the OS with TRIM/etc. A host-managed SMR drive operates much more like a physical drive, but in this case the OS/application needs to be SMR-aware for performance not to be absolutely terrible. -- Rich