hellamasta
Dabbler
- Joined
- Apr 4, 2022
- Messages
- 27
Hello there, I'm Alessio and I'm new to this forum and quite the same concering TrueNAS.
I know the 10Gbit NIC topic has been discussed quite a lot and I read through a lot of posts finding no solution for my situation.
First thing first: the mine is NAS built with spare parts coming from a few old PCs. Here's a list of the hardware:
- AMD Phenom II X6
- gigabyte ga880gm-ud2h
- 8GB RAM (will be expanded to 16, the maximum the MB can support)
- EDUP SATA III PCI-e card
- 4 Seagate IronWolf 2TB
- 1 SSD 120GB for OS
I'm using TrueNAS core. I need to get access to the NAS from 3 PCs at my home, for photo and video editing. As my PCs have 2.5Gbps ethernet port, I decided to make a first step in order to upgrade my setup. First I bought a chinese 2.5Gbps card, installed it, edited the tunables and everything worked. I got a reading speed of about 240MB/s and writing 260/MB/s. However, if the NAS server was not used for a few hours, the card slowed down to a transfer rate of about 19MB/s. I returned it and tried with a Trendnet one, based on the same Realtek chip. Same thing. I investigated and understood the those chips are not stable and reliable. So I returned the second one and bough on ebay a Sun Oracle 7051223 based on intel x520-DA2. It is connected to a brand new Zyxel xgs1250-12 bought a couple of weeks ago.
Now, everything worked well immediately, however the reading speed is lower than the one I had with the chinese 2.5Gbps card.
I have about 190MB/s when reading, while writing is pretty better: 280MB/s.
I did some test with large files and turned out that reading is quite constant (from 175 to 191) while writing is at 285MB/s for a few seconds and then drops down to 180MB/s. I have a few GB of memory which get full very quickly and I noticed that de writing speed slows down when the memory is full.
I can understand that and the system will be upgraded asap, however I would like to get better reading speed, if possible. I tried with Tunable suggestions found on the forum:
However it looked like they had no effect. I took a look to each parameter and, correct me if I'm wrong, saw that they are useful when handling an high number of connections sendind a lot of data in and out, which is not my case considering that I usually need a decent speed only from one PC at a time.
Can anyone help me in understanding the useful parameters and, maybe, how can I improve a little my system?
Thanks in advance.
I know the 10Gbit NIC topic has been discussed quite a lot and I read through a lot of posts finding no solution for my situation.
First thing first: the mine is NAS built with spare parts coming from a few old PCs. Here's a list of the hardware:
- AMD Phenom II X6
- gigabyte ga880gm-ud2h
- 8GB RAM (will be expanded to 16, the maximum the MB can support)
- EDUP SATA III PCI-e card
- 4 Seagate IronWolf 2TB
- 1 SSD 120GB for OS
I'm using TrueNAS core. I need to get access to the NAS from 3 PCs at my home, for photo and video editing. As my PCs have 2.5Gbps ethernet port, I decided to make a first step in order to upgrade my setup. First I bought a chinese 2.5Gbps card, installed it, edited the tunables and everything worked. I got a reading speed of about 240MB/s and writing 260/MB/s. However, if the NAS server was not used for a few hours, the card slowed down to a transfer rate of about 19MB/s. I returned it and tried with a Trendnet one, based on the same Realtek chip. Same thing. I investigated and understood the those chips are not stable and reliable. So I returned the second one and bough on ebay a Sun Oracle 7051223 based on intel x520-DA2. It is connected to a brand new Zyxel xgs1250-12 bought a couple of weeks ago.
Now, everything worked well immediately, however the reading speed is lower than the one I had with the chinese 2.5Gbps card.
I have about 190MB/s when reading, while writing is pretty better: 280MB/s.
I did some test with large files and turned out that reading is quite constant (from 175 to 191) while writing is at 285MB/s for a few seconds and then drops down to 180MB/s. I have a few GB of memory which get full very quickly and I noticed that de writing speed slows down when the memory is full.
I can understand that and the system will be upgraded asap, however I would like to get better reading speed, if possible. I tried with Tunable suggestions found on the forum:
Code:
sysctl kern.ipc.somaxconn=2048 sysctl kern.ipc.maxsockbuf=16777216 sysctl net.inet.tcp.recvspace=4194304 sysctl net.inet.tcp.sendspace=2097152 sysctl net.inet.tcp.sendbuf_max=16777216 sysctl net.inet.tcp.recvbuf_max=16777216 sysctl net.inet.tcp.sendbuf_auto=1 sysctl net.inet.tcp.recvbuf_auto=1 sysctl net.inet.tcp.sendbuf_inc=16384 sysctl net.inet.tcp.recvbuf_inc=524288
However it looked like they had no effect. I took a look to each parameter and, correct me if I'm wrong, saw that they are useful when handling an high number of connections sendind a lot of data in and out, which is not my case considering that I usually need a decent speed only from one PC at a time.
Can anyone help me in understanding the useful parameters and, maybe, how can I improve a little my system?
Thanks in advance.