Hi
How exactly to I up the maximum block size for a zvol.
In the gui it is 128K, but are confident that zfs can handle up to 1MB - as I actually use that for something else.
I am aware that one can be created on the command line, but would prefer to create it through the GUI.
In truenas core, I recall there were ‘system tunable’ options in the GUI. Apparently not in truenas scale.
In debian (which trunas scale is based on), the zfs parameters are in:
/sys/module/zfs/parameters
I am weary of modifying anything in there unless sure.
There are some parameter there I think may modify:
- l2arc_write_max l2arc_write_boost
I have done this before in promxox, using an tiny optane drive to boost a sata SSD with virtual machines.
The specific values will be determined by the random 4k write speeds of the spare 256GB nvme drive. I will test it. I intend to use for an L2arc. I also have a 512Gb, but probably not needed.
How exactly do I ensure these parameters are not reset on reboot. It may be some ‘cron’ related thing, but unsure a this time.
So for context:
The purpose is for games storage through ISCSI.
2 x Large ISCSI sparse block zlov using deduplication.
Both are for games. The 1MB block size is to massively reduce the deduplication data. It is highly predictable, and here is the present data from my main trunas scale machine: From sudo zpool status -Dv
‘dedup: DDT entries 3729844, size 5.13G on disk, 1.65G in core’
It is hardly an issue.
I am using a couple of 16GB optane for that.
This is for 2 x ISCSI shares with the same games on there.
So for the games storage, a windows VM updated games overnight connected to one of the ISCSI shares,
Lots of reads & writes I will not notice. They will be slow.
I use a lancache set also.
I plan to maybe get a couple of 10Gb NICS with maybe a direct copper or fibre link between truenas and the gaming PC.
When updating games through the gaming PC, I will be usiing various caching types to massively save time.
These are:
Promocache software on the PC with a local nvme for a cache.
The lancache software
The l2arc.
Primocache is for caching frequently played games, so not directly relevent to trunas.
Over the 10Gb conncetion
Game update reads will as I understand come mostly from the arc/l2arc.
Game update writes will need little actual writes to hard drives due to de-duplication.
The windows/nfs shares I use also will not have dedup turned on. They use little bandwidth typically. My truienas machine is for home i7-3770, 32GB RAM, 16TB logical storage. I will use another machine to test things out.
Useful info is appreciated.
Not so useful like are things like ‘deduplication is scary’ or ’ buy more RAM’ - not interested.