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 CB636158020 for ; Sun, 18 Dec 2022 15:30:25 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id AB3FCE0922; Sun, 18 Dec 2022 15:30:03 +0000 (UTC) Received: from mail-lj1-x22d.google.com (mail-lj1-x22d.google.com [IPv6:2a00:1450:4864:20::22d]) (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 59E9CE0875 for ; Sun, 18 Dec 2022 15:30:03 +0000 (UTC) Received: by mail-lj1-x22d.google.com with SMTP id n1so6857040ljg.3 for ; Sun, 18 Dec 2022 07:30:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :from:to:cc:subject:date:message-id:reply-to; bh=3XmvHQycn8Bek4qlKWH3lNxSXFqjZPdy3UMIGCVb4+0=; b=WSiY5W4OSWl0RgQ9YvzWCyxCjElnOHEy9AGB9obNoavwEIA6Nt1UWoNJuGOLotBe4s qs4Tc1r7mlWt1pS5zU9dvGPP8cxqg+kdkDg/U5cUlssSbetOaAxvj53OQaszbDF+YdhO x5dY9J69GN7nxqbWsRBeJCAwf6rxj137BDYTRyqQRXFvbGkANDjSAqmAq4MJRLcU/Lsm UFyDWLrgs+rdlbRsWzBQfGK+UZ9Eys5A2J7otzlKDYxzSy/345SHFLwdgSuAG7YE2y4v JPvtidb+YBshU9QmvkhVuo79UOcnKr7VYNlxKjr9ZzbyJoPTXBOmcjIpBA1eYLXZLsUA fCRQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=3XmvHQycn8Bek4qlKWH3lNxSXFqjZPdy3UMIGCVb4+0=; b=4Q/55SHIh79bbC7I88RD9rdUVaH8/Dd9Ku0v4zLuyxJ5LeGlFdNePzz0Obg+lXs3vv qUzPw6ExHTNUjxc//gHRVStirUmZjwQ6ppQTrRYWx0QhsUIwQc36B0lJqB3O17fF5JUj ietJKL56VPTW2RDclzkcub6cq5hNzBCDV8KliytUZOuxVFOjk5dluYC5WG4sU4WY7Uio PxsCwnsKFmBpJRM7MpKRJaSPl97rPp/9v1dMjBdPw2hJR2PmXkLBf1hg33i9V0Vq7PGV KiOcaLKp/gTOzemA2tZ+bWRFv4T3Zbfqj+7NoGVcSwernYY3V3BC2d49Odnlg+TRPJ6g YulQ== X-Gm-Message-State: ANoB5pl5WMhZEI5/y0F5dLXUefh55wsegxXNdm6asBW+AfMN/ueKuNFH FlA743xHdt3serCaCv3QFkkoR/AmwFqB2b//ngFrWuHw X-Google-Smtp-Source: AA0mqf7og67s8t3gwHCTNMcnM5qPWx2uQPBYHdT4dWU4/sft97qyTFl6M8YM3iH7vJ0UP1PEydOrUi9g4hjZOReOOME= X-Received: by 2002:a2e:a80a:0:b0:277:2600:9cc0 with SMTP id l10-20020a2ea80a000000b0027726009cc0mr31807611ljq.437.1671377401514; Sun, 18 Dec 2022 07:30:01 -0800 (PST) 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 References: <9407e524-2226-6ba9-dd7f-bac635d083e3@gmail.com> <10b30d8a-5c5d-a80a-e659-b5624e2848e4@gmail.com> <78c2c83f-fdd8-5c9b-3ac3-7c22bc4b5d64@gmail.com> <0a10c428-94f1-6112-4d88-c97143f9564d@gmail.com> <7a8384d4-4213-b2df-df28-2b56a8b2d030@youngman.org.uk> In-Reply-To: From: Mark Knecht Date: Sun, 18 Dec 2022 08:29:49 -0700 Message-ID: Subject: Re: [gentoo-user] NAS and replacing with larger drives To: gentoo-user@lists.gentoo.org Content-Type: multipart/alternative; boundary="0000000000004d901a05f01be0c4" X-Archives-Salt: 2aec7ba1-bae6-40de-9562-d091d4a58e1a X-Archives-Hash: 4a5f4bdb914574eb21ce7234515b4b32 --0000000000004d901a05f01be0c4 Content-Type: text/plain; charset="UTF-8" On Sun, Dec 18, 2022 at 8:13 AM Dale wrote: > > Well, I finally got it so I could do a backup. I didn't need a hammer but the thought crossed my mind. lol Even tho I now have a 1GB network card, it's still really slow. It shows up as a 1GB connection on both my Gentoo machine and the NAS machine. This is a example of the speeds I'm seeing. Just snippets. > > > 277,193,507 100% 16.18MB/s 0:00:16 > 519,216,571 100% 18.86MB/s 0:00:26 > 738,078,565 100% 23.54MB/s 0:00:29 > > > As you can see, the files sizes are large enough it should do better. When I use iftop, it shows it isn't doing anywhere near the speed it should, maybe 1/4th or so. I'd expect at least double or triple that speed. In all honesty, I'd think the hard drive would be the limiting factor. Even on my Gentoo rig I only get about 50 to 60MBs/sec for encrypted drives. I think the encryption slows that down. When copying from a plain drive to a plain drive, I get 100MBs/sec or so. > > I can't figure out why it is so slow tho. The NAS rig is a 4 core CPU and 8GBs of memory. It should have enough horsepower under the hood. Maybe it is something I'm not aware of. It is a older rig so maybe it isn't SATA's fastest version, maybe even the original or something. I can't find anything in lspci or dmesg so not real sure where to look on BSD. > > Anyway, it's progress for now at least. ;-) At this rate, it'll be done in about a week, maybe. o_O > > Dale > To what end Dale? Aren't you painting yourself into a corner with a system you don't really want to run? Wipe the machine and start over from scratch with Gentoo. >From my vantage point you don't provide enough information for me to make an educated guess. 1) Is your data coming off the host machine able to transfer to other machines at 1Gb/S type speeds? 2) Can data coming off of your NAS transfer to other machines at 1G/S type speeds? 3) How are the two machines connected? If they are going through a router or hub, do you know that hub doesn't limit throughput? 4) Is anything else happening on the network? Video flowing around while people are watching TV or something? 5) CPU horsepower isn't the only potential bottleneck. Are your disks in the NAS operating slowly? Are you running out of memory? Have you considered running something like iperf? Mark --0000000000004d901a05f01be0c4 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


On Sun, Dec 18, 2022 at 8:13 AM Dale <rdalek1967@gmail.com> wrote:
>= ;
> Well, I finally got it so I could do a backup.=C2=A0 I didn't= need a hammer but the thought crossed my mind. =C2=A0lol =C2=A0Even tho I = now have a 1GB network card, it's still really slow.=C2=A0 It shows up = as a 1GB connection on both my Gentoo machine and the NAS machine.=C2=A0 Th= is is a example of the speeds I'm seeing.=C2=A0 Just snippets.
>=
>
> 277,193,507 100% =C2=A0 16.18MB/s =C2=A0 =C2=A00:00:16
= > 519,216,571 100% =C2=A0 18.86MB/s =C2=A0 =C2=A00:00:26
> 738,078= ,565 100% =C2=A0 23.54MB/s =C2=A0 =C2=A00:00:29
>
>
> As = you can see, the files sizes are large enough it should do better.=C2=A0 Wh= en I use iftop, it shows it isn't doing anywhere near the speed it shou= ld, maybe 1/4th or so.=C2=A0 I'd expect at least double or triple that = speed.=C2=A0 In all honesty, I'd think the hard drive would be the limi= ting factor.=C2=A0 Even on my Gentoo rig I only get about 50 to 60MBs/sec f= or encrypted drives.=C2=A0 I think the encryption slows that down.=C2=A0 Wh= en copying from a plain drive to a plain drive, I get 100MBs/sec or so. >
> I can't figure out why it is so slow tho.=C2=A0 The NAS r= ig is a 4 core CPU and 8GBs of memory.=C2=A0 It should have enough horsepow= er under the hood.=C2=A0 Maybe it is something I'm not aware of.=C2=A0 = It is a older rig so maybe it isn't SATA's fastest version, maybe e= ven the original or something.=C2=A0 I can't find anything in lspci or = dmesg so not real sure where to look on BSD.
>
> Anyway, it= 9;s progress for now at least. =C2=A0;-) =C2=A0At this rate, it'll be d= one in about a week, maybe. =C2=A0o_O
>
> Dale
>

<= div>To what end Dale? Aren't you painting yourself into a corner with a= system you don't really want to run? Wipe the machine and start over f= rom scratch with Gentoo.

From my vantage point you= don't provide enough=C2=A0information for me to make an educated guess= .

1) Is your data coming off the host machine able= to transfer to other machines at 1Gb/S type speeds?

2) Can data coming off of your NAS transfer to other machines at 1G/S ty= pe speeds?

3) How are the two machines connected? = If they are going through a router or hub, do you know that hub doesn't= limit throughput?

4) Is anything else happening o= n the network? Video flowing around while people are watching TV or somethi= ng?

5) CPU horsepower isn't the only potential= bottleneck. Are your disks in the NAS operating slowly? Are you running ou= t of memory?

=C2=A0 =C2=A0Have you considered runn= ing something like iperf?

Mark

--0000000000004d901a05f01be0c4--