Hi
I have a 40GB SSD and 4 WD disks of 4TB.
The 4 disks are in ZFS (2 by 2 mirrored and then striped). So I have about 8TB.
I have 32Gb RAM in it.
I only have NFS and AFS enabled, no SAMBA.
Loosing data when writting (RAM) is not important, it are always copies.
The installation was made on the SSD as "Embedded" OS + DATA (no swap partition)".
Can I use this unnesed part of the SSD to improve something of the ZFZ or is the only thing I can do mount it and make a new (not mirrored) share of it?
Would be nice if I could improve the speed of the file system returning all the files and folders, that's a bit slow somethimes.
I don't know if it's safe to reformat the partition from the GUI to something else without loosing the OS?
- From what I have read here, making it a cache has more negative then positive effects. I have 32GB ram and only sequential reads of large files. No random reads and almost dubble reads of the same file.
- Making it a ZFS log disk seems to be useless as I don't have (running) databases on the storage. So I guess ZFS Intent Log is disabled or small then.
This is the old XigmaNAS forum in read only mode,
it will taken offline by the end of march 2021!
I like to aks Users and Admins to rewrite/take over important post from here into the new fresh main forum!
Its not possible for us to export from here and import it to the main forum!
it will taken offline by the end of march 2021!
I like to aks Users and Admins to rewrite/take over important post from here into the new fresh main forum!
Its not possible for us to export from here and import it to the main forum!
Use of SSD
-
laurens
- Starter

- Posts: 35
- Joined: 13 Dec 2014 09:39
- Location: Belgium
- Status: Offline
- ChriZathens
- Forum Moderator

- Posts: 758
- Joined: 23 Jun 2012 09:14
- Location: Athens, Greece
- Contact:
- Status: Offline
Re: Use of SSD
Did you use zfskerneltune?
If not then your system is not using your 32GB of RAM the best way. Install it and set it for 32GB.
If you want to use your ssd for cache you can use a usb to install embedded and use the ssd for anything else you like. The use of an ssd for the embedded is a waste , since it is not used- the OS is loaded to RAM on boot. The only advantage is faster boot than the usb stick.
If not then your system is not using your 32GB of RAM the best way. Install it and set it for 32GB.
If you want to use your ssd for cache you can use a usb to install embedded and use the ssd for anything else you like. The use of an ssd for the embedded is a waste , since it is not used- the OS is loaded to RAM on boot. The only advantage is faster boot than the usb stick.
My Nas
Backup Nas: U-NAS NSC-400, Gigabyte MB10-DS4 (4x4TB Seagate Exos disks in RaidZ configuration - 32GB RAM)
- Case: Fractal Design Define R2
- M/B: Supermicro x9scl-f
- CPU: Intel Celeron G1620
- RAM: 16GB DDR3 ECC (2 x Kingston KVR1333D3E9S/8G)
- PSU: Chieftec 850w 80+ modular
- Storage: 8x2TB HDDs in a RaidZ2 array ~ 10.1 TB usable disk space
- O/S: XigmaNAS 11.2.0.4.6625 -amd64 embedded
- Extra H/W: Dell Perc H310 SAS controller, crosflashed to LSI 9211-8i IT mode, 8GB Innodisk D150SV SATADOM for O/S
Backup Nas: U-NAS NSC-400, Gigabyte MB10-DS4 (4x4TB Seagate Exos disks in RaidZ configuration - 32GB RAM)
-
laurens
- Starter

- Posts: 35
- Joined: 13 Dec 2014 09:39
- Location: Belgium
- Status: Offline
Re: Use of SSD
Is that the "Enable tuning of some kernel variables" option under advanced? Or this old manual plugin? viewtopic.php?t=1278
- crowi
- Forum Moderator

- Posts: 1176
- Joined: 21 Feb 2013 16:18
- Location: Munich, Germany
- Status: Offline
Re: Use of SSD
Yes, this oneOr this old manual plugin? viewtopic.php?t=1278
NAS 1: Milchkuh: Asrock C2550D4I, Intel Avoton C2550 Quad-Core, 16GB DDR3 ECC, 5x3TB WD Red RaidZ1 +60 GB SSD for ZIL/L2ARC, APC-Back UPS 350 CS, NAS4Free 11.0.0.4.3460 embedded
NAS 2: Backup: HP N54L, 8 GB ECC RAM, 4x4 TB WD Red, RaidZ1, NAS4Free 11.0.0.4.3460 embedded
NAS 3: Office: HP N54L, 8 GB ECC RAM, 2x3 TB WD Red, ZFS Mirror, APC-Back UPS 350 CS NAS4Free 11.0.0.4.3460 embedded
NAS 2: Backup: HP N54L, 8 GB ECC RAM, 4x4 TB WD Red, RaidZ1, NAS4Free 11.0.0.4.3460 embedded
NAS 3: Office: HP N54L, 8 GB ECC RAM, 2x3 TB WD Red, ZFS Mirror, APC-Back UPS 350 CS NAS4Free 11.0.0.4.3460 embedded
-
laurens
- Starter

- Posts: 35
- Joined: 13 Dec 2014 09:39
- Location: Belgium
- Status: Offline
Re: Use of SSD
Ok thanks for the tips!
The reason I took an SSD instead of an USB disk is to keep it all inside the box. Thought I could use an internal USB device.
It should become solar powered on batteries (off grid) so a fast startup is always handy because I will power it off when their is no access to it and at night.
On the topic I have found out these variables:
But I now just enabled those:
Because:
- I have seen my RAM go to over 40% before any tuning
- On https://wiki.freebsd.org/ZFSTuningGuide I read this: "FreeBSD 7.2+ has improved kernel memory allocation strategy and no tuning may be necessary on systems with more than 2 GB of RAM."
- I see for example "vfs.zfs.prefetch_disable="1"" is mainly for a lot of random reads, which I don't have.
The reason I took an SSD instead of an USB disk is to keep it all inside the box. Thought I could use an internal USB device.
It should become solar powered on batteries (off grid) so a fast startup is always handy because I will power it off when their is no access to it and at night.
On the topic I have found out these variables:
Code: Select all
# ZFS v28 kernel tune
vfs.zfs.prefetch_disable="1"
vfs.zfs.txg.timeout="5"
vfs.zfs.vdev.max_pending="10"
vfs.zfs.vdev.min_pending="4"
vfs.zfs.write_limit_override="0"
vfs.zfs.no_write_throttle="0"
# X64_32GB
vm.kmem_size="30720M"
vfs.zfs.arc_min="28672M"
vfs.zfs.arc_max="28672M"
- I have seen my RAM go to over 40% before any tuning
- On https://wiki.freebsd.org/ZFSTuningGuide I read this: "FreeBSD 7.2+ has improved kernel memory allocation strategy and no tuning may be necessary on systems with more than 2 GB of RAM."
- I see for example "vfs.zfs.prefetch_disable="1"" is mainly for a lot of random reads, which I don't have.
You do not have the required permissions to view the files attached to this post.
- b0ssman
- Forum Moderator

- Posts: 2438
- Joined: 14 Feb 2013 08:34
- Location: Munich, Germany
- Status: Offline
Re: Use of SSD
set vfs.zfs.prefetch_disable to "0"
you want prefetch to be enabled
you want prefetch to be enabled
Nas4Free 11.1.0.4.4517. Supermicro X10SLL-F, 16gb ECC, i3 4130, IBM M1015 with IT firmware. 4x 3tb WD Red, 4x 2TB Samsung F4, both GEOM AES 256 encrypted.