On Sun, Dec 18, 2022 at 8:29 AM Mark Knecht <markknecht@gmail.com> wrote:
>
>
>
> 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. 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
Run iperf -s in the TrueNAS shell service in the GUI
From you Gentoo Land box run
mark@science2:~$ iperf -c truenas1
------------------------------------------------------------
Client connecting to truenas1, TCP port 5001
TCP window size: 85.0 KByte (default)
------------------------------------------------------------
[ 1] local 192.168.86.43 port 50710 connected with 192.168.86.92 port 5001
[ ID] Interval Transfer Bandwidth
[ 1] 0.0000-10.0418 sec 1.07 GBytes 918 Mbits/sec
mark@science2:~$
Then immediately wipe the machine and start over with Gentoo, or at least start over with the Linux version of TrueNAS.
I would have used the Linux version if it had existed when I built the machine. I don't love BSD, but not because it doesn't work but because certain CLI tools have slightly different options.
Wipe the machine and start over with Gentoo from scratch...
Wipe the machine and start over with Gentoo from scratch...
Humm, I think you should...
Wipe the machine and start over with Gentoo from scratch...