So I've had my nice RAID-Z array running for a year or so now. Very happy. Problem is, that when I set it up, I set it up with the recommended 2GB swap space per disk.
Now when I try and run either of the media servers, I get errors indicating insufficient swap space. I realise that resizing the swap space would mean destroying the array, so I was nosing around the net and found that there was this tunable sysctl vm.swappiness value for Ubuntu that controlled the preference for swapping memory to disk.
Is there the equivalent for Freenas/BSD? Could this be used to relieve my problem? Could I reduce the swappiness of my freenas setup and therefore reduce the amount of data being pushed to my swap partitions?
Now when I try and run either of the media servers, I get errors indicating insufficient swap space. I realise that resizing the swap space would mean destroying the array, so I was nosing around the net and found that there was this tunable sysctl vm.swappiness value for Ubuntu that controlled the preference for swapping memory to disk.
Is there the equivalent for Freenas/BSD? Could this be used to relieve my problem? Could I reduce the swappiness of my freenas setup and therefore reduce the amount of data being pushed to my swap partitions?