OnlyLoveElaina
Cadet
- Joined
- Feb 1, 2024
- Messages
- 8
Hello community, this is my first post and I apologize if I chose the wrong category or left out any information.
I have a HDD array, 10Gbit NIC and 512GB of RAM. I believe most of the RAM will be used as ZFS cache, but they don't seem to be working.
If I understand correctly, when I copy a large file of several hundred gigabytes from Windows to the pool via SMB, I'll have it done in a few minutes at around 1000MB/s. Truenas will slowly write the data from RAM to the HDD array after this.
But in reality, I would only get around 1000MB/s for the first 1-2 seconds, then drop to 100-200MB/s. It looked like the data was being written directly to the HDD without going through the cache. The initial high speed also looks like it's only coming from the HDD's own cache, not the ZFS cache.
The MTU on both the Truenas and my Windows device is set to 9000 - no different than setting it to 1500.
I'm not sure if the problem is with the Truenas, the network, or a limitation of the SMB protocol itself? If anyone can offer perspective, that would be great.
Sorry for my bad English, thanks in advance for any help.
I have a HDD array, 10Gbit NIC and 512GB of RAM. I believe most of the RAM will be used as ZFS cache, but they don't seem to be working.
If I understand correctly, when I copy a large file of several hundred gigabytes from Windows to the pool via SMB, I'll have it done in a few minutes at around 1000MB/s. Truenas will slowly write the data from RAM to the HDD array after this.
But in reality, I would only get around 1000MB/s for the first 1-2 seconds, then drop to 100-200MB/s. It looked like the data was being written directly to the HDD without going through the cache. The initial high speed also looks like it's only coming from the HDD's own cache, not the ZFS cache.
The MTU on both the Truenas and my Windows device is set to 9000 - no different than setting it to 1500.
I'm not sure if the problem is with the Truenas, the network, or a limitation of the SMB protocol itself? If anyone can offer perspective, that would be great.
Sorry for my bad English, thanks in advance for any help.