1 |
On Sun, Dec 18, 2022 at 8:29 AM Mark Knecht <markknecht@×××××.com> wrote: |
2 |
> |
3 |
> |
4 |
> |
5 |
> On Sun, Dec 18, 2022 at 8:13 AM Dale <rdalek1967@×××××.com> wrote: |
6 |
> > |
7 |
> > Well, I finally got it so I could do a backup. I didn't need a hammer |
8 |
but the thought crossed my mind. lol Even tho I now have a 1GB network |
9 |
card, it's still really slow. It shows up as a 1GB connection on both my |
10 |
Gentoo machine and the NAS machine. This is a example of the speeds I'm |
11 |
seeing. Just snippets. |
12 |
> > |
13 |
> > |
14 |
> > 277,193,507 100% 16.18MB/s 0:00:16 |
15 |
> > 519,216,571 100% 18.86MB/s 0:00:26 |
16 |
> > 738,078,565 100% 23.54MB/s 0:00:29 |
17 |
> > |
18 |
> > |
19 |
> > As you can see, the files sizes are large enough it should do better. |
20 |
When I use iftop, it shows it isn't doing anywhere near the speed it |
21 |
should, maybe 1/4th or so. I'd expect at least double or triple that |
22 |
speed. In all honesty, I'd think the hard drive would be the limiting |
23 |
factor. Even on my Gentoo rig I only get about 50 to 60MBs/sec for |
24 |
encrypted drives. I think the encryption slows that down. When copying |
25 |
from a plain drive to a plain drive, I get 100MBs/sec or so. |
26 |
> > |
27 |
> > I can't figure out why it is so slow tho. The NAS rig is a 4 core CPU |
28 |
and 8GBs of memory. It should have enough horsepower under the hood. |
29 |
Maybe it is something I'm not aware of. It is a older rig so maybe it |
30 |
isn't SATA's fastest version, maybe even the original or something. I |
31 |
can't find anything in lspci or dmesg so not real sure where to look on BSD. |
32 |
> > |
33 |
> > Anyway, it's progress for now at least. ;-) At this rate, it'll be |
34 |
done in about a week, maybe. o_O |
35 |
> > |
36 |
> > Dale |
37 |
> > |
38 |
> |
39 |
> To what end Dale? Aren't you painting yourself into a corner with a |
40 |
system you don't really want to run? Wipe the machine and start over from |
41 |
scratch with Gentoo. |
42 |
> |
43 |
> From my vantage point you don't provide enough information for me to make |
44 |
an educated guess. |
45 |
> |
46 |
> 1) Is your data coming off the host machine able to transfer to other |
47 |
machines at 1Gb/S type speeds? |
48 |
> |
49 |
> 2) Can data coming off of your NAS transfer to other machines at 1G/S |
50 |
type speeds? |
51 |
> |
52 |
> 3) How are the two machines connected? If they are going through a router |
53 |
or hub, do you know that hub doesn't limit throughput? |
54 |
> |
55 |
> 4) Is anything else happening on the network? Video flowing around while |
56 |
people are watching TV or something? |
57 |
> |
58 |
> 5) CPU horsepower isn't the only potential bottleneck. Are your disks in |
59 |
the NAS operating slowly? Are you running out of memory? |
60 |
> |
61 |
> Have you considered running something like iperf? |
62 |
> |
63 |
> Mark |
64 |
|
65 |
Run iperf -s in the TrueNAS shell service in the GUI |
66 |
|
67 |
From you Gentoo Land box run |
68 |
|
69 |
mark@science2:~$ iperf -c truenas1 |
70 |
------------------------------------------------------------ |
71 |
Client connecting to truenas1, TCP port 5001 |
72 |
TCP window size: 85.0 KByte (default) |
73 |
------------------------------------------------------------ |
74 |
[ 1] local 192.168.86.43 port 50710 connected with 192.168.86.92 port 5001 |
75 |
[ ID] Interval Transfer Bandwidth |
76 |
[ 1] 0.0000-10.0418 sec 1.07 GBytes 918 Mbits/sec |
77 |
mark@science2:~$ |
78 |
|
79 |
Then immediately wipe the machine and start over with Gentoo, or at least |
80 |
start over with the Linux version of TrueNAS. |
81 |
|
82 |
I would have used the Linux version if it had existed when I built the |
83 |
machine. I don't love BSD, but not because it doesn't work but because |
84 |
certain CLI tools have slightly different options. |
85 |
|
86 |
Wipe the machine and start over with Gentoo from scratch... |
87 |
Wipe the machine and start over with Gentoo from scratch... |
88 |
Humm, I think you should... |
89 |
Wipe the machine and start over with Gentoo from scratch... |